You are not logged in.
Pages: 1
is there a way i can make a program (that i run via terminal) initialize with "Always below other windows" or "Always on top" features ?
sorry if repeated or idiot question
Offline
You can create keyboard shortcuts to make the current window always above:
wmctrl -r :ACTIVE: -b toggle,above
...or always below:
wmctrl -r :ACTIVE: -b toggle,below
Or you can use devilspie to automate the process (so a particular window/app always starts with that flag set). Here is an example mousepad.ds file to make mousepad always start above:
(if (is (window_class) "Mousepad") (begin (above) ) )
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
thanks , i used devilspie2 instead , which uses .lua
if (get_application_name() == "Rhythmbox") then
set_window_below(true)
pin_window()
end
in case anyone wants it , this script keeps Rhythmbox pinned to every workspace and always below
Offline
Pages: 1
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 523.12 KiB (Peak: 523.96 KiB) ]