Hi!
> I have linked to the qubes-issues thread where it seemingly came up.
> The full problem quote is:
>
> "I tried to install devilspie2 for testing purposes on Qubes.
Currently, it's not work on Qubes.
> Devilspie2 function get_window_name() return Windows names without
AppVM labels. Therefore, it's not possible to sort windows on desktops
by AppVM name."
>
> I reckon it is not actually correct and the lua scripts you provided
work in Qubes 3.2 "as is"?
>
Yes, because those who failed to make it works used get_window_name()
instead of get_class_instance_name()!!!
> If so, if I may ask a few questions:
> 1) do the lua provided "stick" the window to a given desktop (as in,
I won't be able to send a window to a different virtual desktop even if
I try) ?
Well, every time you launch a program, it will be automatically send to
the chosen virtual desktop. But you can then send this program where you
want.
With the script I provided, every program from "RedAppVM-One" will be
send to workspace 1. But after that, if you want to send this program to
workspace 6, you can.
You can customize it easily:
Change only these values:
dom = 'RedAppVM-One';
workspace = 1
> 2) if no, does devilspie2 provide a way to do that ?
See above.
> 3) if yes, is there a way to avoid sticking (as in, always start in
desktop 1, but can be sent to any other desktop) ?
See 1)
But I repeat, once you have launched a program, you can then move it
where you want.
> 4) could you please write up a quick primer on using devilspie2 with
qubes (any caveats, etc?)
>
It works like a charm!
Devilspie2 is even quite flexible, but be careful, because if you write
something like "RedAppVM" in dom variable, and 1 for workspace, without
adding "-One", and so one to the name "RedAppVM", every new windows
starting with 'RedAppVM*' will be send to the same workspace, here 1.
> Thank you very much
>
You are welcome.