Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1190  / 2 Years ago, fri, september 9, 2022, 1:09:06

How do I make the "Always on Visible Workspace" option persist across Suspend, login, and reboot? I use this option daily with the same few app windows. The "AoVW" option resets to off -- the default -- with every Suspend or logout.


Similar askubuntu Q&A are for other desktops, wms or use cases. I'm GNOME V40.4.0 X11 on Ubuntu 21.10. I've seen this on previous versions of all those.


Recursive lists of gsettings for org.gnome.shell, org.gnome.desktop.wm.preferences and other schema have brought No Joy so far for "Always on Visible Workspace" key:values. I'll update here with my findings there.


Optimally, I would also 0) Set default per application at launch and 1) Set default per VSCode workspace at launch [stretchGoal]


Many thanks for your time and attention.
AoVM Option


More From » gnome

 Answers
4

Annoyingly, many linux desktops do not offer such control. However, because you choose to remain on Xorg, devilspie2 will help you out. That is a small daemon that watches the creation of windows, and can do something with it the moment it is created.


One defines rules in configuration files under ~/.config/devilspie2. For example, this will maximize any window with "Mozilla Firefox" in the window title:


if (string.match(get_window_name(), "Mozilla Firefox")) then
maximize();
end

You will want stick_window().


Documentation is scarce to find on the internet, but the best documentation is hidden on your system in the file /usr/share/doc/devilspie2/README.gz.


[#686] Saturday, September 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eryeath

Total Points: 122
Total Questions: 121
Total Answers: 112

Location: Saint Helena
Member since Fri, Aug 26, 2022
2 Years ago
eryeath questions
Sat, May 28, 22, 09:50, 2 Years ago
Wed, Sep 8, 21, 03:57, 3 Years ago
Fri, Mar 17, 23, 00:13, 1 Year ago
Sat, Apr 16, 22, 06:07, 2 Years ago
;