From: Cyrille M. <cy...@ei...> - 2005-03-31 15:51:45
|
Le jeudi 31 mars 2005 à 13:23 +0200, Frantisek Fuka a écrit : > Hello, > > I am using Rox-Filer/Oroborox/Rox-Session and I'd like to use bash > scripts to control the windows on desktop. For example I used the > following AutoStart script to start gkrellm and move it to Workspace > 4: > > gkrellm > sleep 5 > xprop -name "gkrellm" -f _WIN_WORKSPACE 32c -set _WIN_WORKSPACE 3 > > This worked until last week. Then I upgraded to latest Oroborox and it > no longer works. > > Can I do something similar with current OroboRox? I'd also like to > move windows around using scripts and to make some windows ignored > when cycling windows (using Alt-Tab, in my case). > What you need is devil's pie : http://www.burtonini.com/blog/computers/devilspie an exemple of config for MusicBox: <flurb> <matchers> <matcher name="DevilsPieMatcherWindowName"> <property name="window_title" value="MusicBox"/> <property name="window_role" value="MainWindow"/> </matcher> </matchers> <actions> <action name="DevilsPieActionHide"> <property name="skip_tasklist" value="TRUE"/> <property name="skip_pager" value="TRUE"/> </action> <action name="DevilsPieActionLayer"> <property name="above" value="FALSE"/> </action> <action name="DevilsPieActionSetWorkspace"> <property name="pinned" value="TRUE"/> </action> <action name="DevilsPieActionSetGeometry"> <property name="xoffset" value="980"/> <property name="yoffset" value="886"/> <property name="width" value="300"/> <property name="height" value="100"/> </action> </actions> </flurb> it should resolve the gkrellm pb you have |