I’ve just moved to Ubuntu Budgie after having plasma issues with kubuntu.
I’m running Budgie 21:04 and i’m looking to setup applications to launch on login to set workspaces and monitors. ie Firefox - display 1, workspace 1, Terminal - display 2, workspace 1 etc. By default having firefox launching in startup automatically is in display 1 and workspace 1 so nothing to do on that one. Terminal will also launch in Display 1. Windows Shuffler Daemon is enabled and I have set up windows shuffler for gnome-terminal as follows:
I think you are mixing up rules with Layouts. Defining how new windows of a certain application are positioned is a rule. Rules has no GUI yet, but I can guide you how to setup.
Layouts is the ability to launch a set of window into a layout. To run a layout, press Super + Alt + L and pick the layout you created.
Many thanks for your feedback. My understanding was off the mark.
Super + Alt + L works for the Layout but if there is a way to set Rules, I would appreciate some guidance.
Save it, named after the WM class of the application’s windows, like: gedit.windowrule
NB: the fields refer to grid positions & sizes, not px positions!
Now let’s switch rules on:
gsettings set org.ubuntubudgie.windowshuffler windowrules true
This example will make new gedit windows open in topleft quarter, on monitor HDMI-1. Any changes you make to the .windowrule file, or any new file, will be applied immediately.
Thanks for the input. Unfortunately it didn’t work. I used the same settings but as well as HDMI-1 I also tried DP-1-1 & DP-1-2 which are how they are in the shuffler layout. I used gnome-terminal and saved the file as gnome-terminal.windowrule, then ran gsettings set org.ubuntubudgie.windowshuffler windowrules true
Could you show me the exact content of the file, the names of the monitors as well as the wm-class? (open a terminal, type xprop WM_CLASS, press return and click on a gnome-terminal window).
oh, and the output of gsettings get org.ubuntubudgie.windowshuffler windowrules
les@Esub:~/.config/budgie-extras/shuffler/rules$ gsettings set org.ubuntubudgie.windowshuffler windowrules
Usage:
gsettings [–schemadir SCHEMADIR] set SCHEMA[:PATH] KEY VALUE
Set the value of KEY to VALUE
Arguments:
SCHEMADIR A directory to search for additional schemas
SCHEMA The name of the schema
PATH The path, for relocatable schemas
KEY The key within the schema
VALUE The value to set
gsettings set org.ubuntubudgie.windowshuffler windowrules true I get no output.
I’ve changed the file name to Gnome-terminal.windowrule and still no joy.
Not sure what the issue is here. Just tried logout and back in but still no change. Maybe it’s just a display port issue though it see’s it ok in the layout.
I need to go work now… The joys, so i’ll look at it again tomorrow.