Virtual desktop functionality for Rainmeter
radad / rmvirtualdesktop Goto Github PK
View Code? Open in Web Editor NEWVirtual desktop functionality for Rainmeter
License: MIT License
Virtual desktop functionality for Rainmeter
License: MIT License
Virtual desktop functionality for Rainmeter
I'm opening this here because my rainmeter forums account seems to be locked (๐คท๐ผ haven't used it in years). I'm sorry if this is the wrong channel for user feedback/suggestions. I would've preferred to send this through the rainmeter post you created, but I can't login for some reason.
I have a skin that takes screen captures of the current VD for thumbnails (see 2bndy5/UbubtuWorkspaces_Rainmeter_Skin). But the screen-capture tactic is a bit flawed (using a run
plugin/measure to invoke a compiled C# script).
I was wondering if the API allows for getting the path for a certain VD wallpaper. If not I guess I can hack something together that uses the windows registery (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops\Desktops
), but the keys are hashed. The hashed keys (and corresponding values) don't seem to indicate which VD is which, so this hack would be rather complicated (& possibly flawed for other machines).
Using the OleViewDotNet PS Module:
Install: Install-Module -Name OleViewDotNet
Then try: Get-ComInterface -Name "IVirtualDesktopManagerInternal" | Format-ComProxy -Flags RemoveComments
On Windows 10, I get:
[Guid("f31574d6-b682-4cdc-bd56-1827860abec6")]
interface IVirtualDesktopManagerInternal : IUnknown {
HRESULT Proc3( [Out] int* p0);
HRESULT Proc4( [In] IApplicationView* p0, [In] IVirtualDesktop* p1);
HRESULT Proc5( [In] IApplicationView* p0, [Out] int* p1);
HRESULT Proc6( [Out] IVirtualDesktop** p0);
HRESULT Proc7( [Out] IObjectArray** p0);
HRESULT Proc8( [In] IVirtualDesktop* p0, [In] int p1, [Out] IVirtualDesktop** p2);
HRESULT Proc9( [In] IVirtualDesktop* p0);
HRESULT Proc10( [Out] IVirtualDesktop** p0);
HRESULT Proc11( [In] IVirtualDesktop* p0, [In] IVirtualDesktop* p1);
HRESULT Proc12( [In] GUID* p0, [Out] IVirtualDesktop** p1);
HRESULT Proc13( [In] IVirtualDesktop* p0, [Out] IObjectArray** p1, [Out] IObjectArray** p2);
}
Hi,
I've tried to use this plugin, but I cannot get it to work. The desktop number stays on 0, and the buttons don't work on the demo skin.
I'm on Windows 11.
I've enabling logging to see if I get an error, and I get his on every refresh:
ERRO (11:31:49.615) VirtualDesktopDemo\VirtualDesktop\VirtualDesktop.ini - [MeasureVirtualDesktop]: GetDesktopManagerInternal
Any ideas?
Thanks!
This plugin broke for me after my latest Windows update. I am now on Windows 11, 22H2 (build 22621.3155). The plugin now shows zero desktops, and the arrows don't work. The log says that the error is "GetDesktopManagerInternal".
I have tried versions 1.3, 1.3.2, 1.4.2 and 1.4.3, but the error remains the same. Any idea what this could be?
It appears the GUIDs for Windows 11 are different:
Hi,
After enabling this plugin on Windows 11, the whole Rainmeter app crashed and I couldn't open it anymore.
I had to go to AppData/Roaming/Rainmeter and edit the config file to manually remove the VirtualDesktop plugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.