You are not logged in.
Pages: 1
Hello Everyone,
On the xfwm4-settings window, under Focus tab, the "Raise window when clicking inside...." button.
Is there a possible way I can set and unset this option through command line? I looked at xfwm4-settings --help-all; but, not sure if any options are useful.
Offline
Yes, using xfconf-query. You can use the xfce4-settings-editor to locate the setting you want to change. If you don't know the setting name, run:
xfconf-query -c xfwm4 -m
...in a terminal window and then change the setting in the xfwm4 settings window. The name of the setting will be displayed.
For example:
$ xfconf-query -c xfwm4 -m
Start monitoring channel "xfwm4":
set: /general/raise_on_click
The property that got changed was /general/raise_on_click. You can then run either of the following commands to set, unset, or toggle that setting using xfconf-query:
xfconf-query -c xfwm4 -p /general/raise_on_click -s true
xfconf-query -c xfwm4 -p /general/raise_on_click -s false
xfconf-query -c xfwm4 -p /general/raise_on_click -T
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ToZ, thank you very much!!!!! Exactly what I needed!
Offline
Just another quick question, I assume the -p and -s flags are gtk flags? I could not find the flags from xfwm4 --help-all; and, can't find it in the source code. Unless, I am not looking in the right place.
Offline
They are not from gtk or xfwm4, but rather from xfconf-query. xfwm4 (and many other Xfce components) use xfconf as their configuration system. Have a look at the xfconf-query code or run:
xfconf-query --help
The xfconf-query wiki page has a good explanation of how it works.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Makes sense, since the command is xfconf-query, I was so focused on xfwm4. Thanks!!!!
Last edited by nixguy (2016-04-21 02:03:49)
Offline
Pages: 1
[ Generated in 0.014 seconds, 9 queries executed - Memory usage: 535.15 KiB (Peak: 535.99 KiB) ]