[qubes-users] Making AppVMs Open in Specific Workspaces

2020-05-08 Thread Logan

Is it possible to specify a particular workspace for each domain/qube ?

Example:

AppVMs of Domain 1 (Personal) always open in Workspace 2
AppVMs of Domain 2 (Anon-Whonix) open in Workspace 3

I have tried setting XFCE profiles without any success. The apps reopen 
as expected, but all get glommed together in Workspace 1 when I login again.


Thanks,
Logan

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0fe8f40c-2c79-5534-0b76-8c5537eca77e%40threatmodel.io.


publickey - logan@threatmodel.io.asc.pgp
Description: application/pgp-key


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Making AppVMs Open in Specific Workspaces

2020-05-08 Thread airelemental via qubes-users
You can install devilspie2 in dom0 (available from fedora repos).

> AppVMs of Domain 1 (Personal) always open in Workspace 2

vm = get_window_property("_QUBES_VMNAME")
if (vm == 'personal') then
   set_window_workspace(2)
   change_workspace(2)
   focus_window()
end

May 8, 2020, 15:19 by lo...@threatmodel.io:

> Is it possible to specify a particular workspace for each domain/qube ?
>
> Example:
>
> AppVMs of Domain 1 (Personal) always open in Workspace 2
> AppVMs of Domain 2 (Anon-Whonix) open in Workspace 3
>
> I have tried setting XFCE profiles without any success. The apps reopen as 
> expected, but all get glommed together in Workspace 1 when I login again.
>
> Thanks,
> Logan
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to qubes-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/qubes-users/0fe8f40c-2c79-5534-0b76-8c5537eca77e%40threatmodel.io.
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/M6ru0rN--7-2%40tutanota.com.


Re: [qubes-users] Making AppVMs Open in Specific Workspaces

2020-05-09 Thread unman
On Sat, May 09, 2020 at 07:28:37AM +0200, airelemental via qubes-users wrote:
> You can install devilspie2 in dom0 (available from fedora repos).
> 
> > AppVMs of Domain 1 (Personal) always open in Workspace 2
> 
> vm = get_window_property("_QUBES_VMNAME")
> if (vm == 'personal') then
>  set_window_workspace(2)
>  change_workspace(2)
>  focus_window()
> end
> 
> May 8, 2020, 15:19 by lo...@threatmodel.io:
> 
> > Is it possible to specify a particular workspace for each domain/qube ?
> >
> > Example:
> >
> > AppVMs of Domain 1 (Personal) always open in Workspace 2
> > AppVMs of Domain 2 (Anon-Whonix) open in Workspace 3
> >
> > I have tried setting XFCE profiles without any success. The apps reopen as 
> > expected, but all get glommed together in Workspace 1 when I login again.
> >
> > Thanks,
> > Logan
> >

The convention here is not to top-post.
Please scroll to the bottom of the message before you start typing. Or
reply inline.
It only takes you seconds, makes it much easier to follow threads, and
cumulatively saves your fellow users hours.
Thanks.

If you use KDE you can leverage KDE Applications and win rules to enforce
exactly this behaviour. 
Create Applications under KDE, Right click on Window Title Bar, and
select More Actions -> Special Window Settings.
You can match window by substring, and force such Windows to appear in
specific Applications.

Each Application also has a specific UUID, and it's therefore simple to
use that in scripts to change to the Application, before opening relevant
window.

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200509121601.GA3908%40thirdeyesecurity.org.