I am trying to configure special window rules for some VirtualBox machines.
I want the virtual machines to always open in virtual desktop/workspace 2.
I have many virtual machines but a few I use almost daily. Many years ago I created *.desktop files to launch these few systems without needing to launch the VirtualBox Manager. I have used devilspie to force launching in desktop 2.
While devilspie works well in TDE, I want to do this natively with TDE special window rules.
I have been unable to configure special rules in TDE to ensure the virtual machines open in desktop 2.
Everything I try in TDE special rules results in the virtual machines opening in the current desktop.
Other special window rules are working as expected.
Selecting the special rules "Detect" button does not help.
I suspect something different about VirtualBox that is not obvious.
Help is appreciated with respect to creating TDE special rules.
Thank you!
P.S.
To simulate the *.desktop files, launch the mini cli (Alt+F2) and launch a virtual machine like this:
vboxmanage startvm "name_of_virtual_machine"
DA
On Monday 27 February 2023 22:41:17 Darrell Anderson via tde-users wrote:
I am trying to configure special window rules for some VirtualBox machines.
I want the virtual machines to always open in virtual desktop/workspace 2.
I have many virtual machines but a few I use almost daily. Many years ago I created *.desktop files to launch these few systems without needing to launch the VirtualBox Manager. I have used devilspie to force launching in desktop 2.
Don't know much about VMs, but I am very picky about getting my programs always to open in the same window. I have 20 windows on my desktop at present, and I have most of them dedicated to one or two particular programs (usually related, at least for my uses), which is how I manage to keep things in order and not scattered haphazardly everywhere.
So, I don't know if this helps to resolve your issue, but here goes:
1) right-click at the top edge of any open application, and look for Advanced > 2) left-click on Special Application Settings > 3) Look for Desktop 4) click the box to the left of Desktop 5) from the middle menu, at right of Desktop, choose "Force" (or whatever best suits you needs) 6) from the menu at the extreme right, choose whatever desktop number you want
And that ought to do it. I assume that you have already enabled multiple desktops in your settings; if not, you'll probably want to do that.
I hope this helps!
Bill
On 2/28/23 1:01 AM, William Morder via tde-users wrote:
So, I don't know if this helps to resolve your issue, but here goes:
- right-click at the top edge of any open application, and look for
Advanced > 2) left-click on Special Application Settings > 3) Look for Desktop 4) click the box to the left of Desktop 5) from the middle menu, at right of Desktop, choose "Force" (or whatever best suits you needs) 6) from the menu at the extreme right, choose whatever desktop number you want
Thank you Bill.
I am unable to find a root cause, but setting the rules through the title bar menu seems to succeed while the "Detect" button did not work for me.
At least thus far. Hopefully next session nothing breaks.
On 2/28/23 4:48 PM, Darrell Anderson via tde-users wrote:
I am unable to find a root cause, but setting the rules through the title bar menu seems to succeed while the "Detect" button did not work for me.
Looks like I goofed. The window rules do not work. Instead I unknowingly still had devilspie running. Back to the proverbial drawing board.