I tried it and it works. Fantastic! Now could this be done.
If output of command:
Code:
wmctrl -lpG | grep -c "x y"
Returns 0 it reads:
Code:
gconftool-2 --get "/apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode"
If output is not 0 then:
Code:
gconftool-2 --type int --set "/apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode" 0
If output of command:
Code:
wmctrl -lpG | grep -c "x y"
Is not 0 then it reads:
Code:
gconftool-2 --get "/apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode"
If output is not 1 then:
Code:
gconftool-2 --type int --set "/apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode" 1
I found it here:
http://askubuntu.com/questions/41241...r-hide-setting
And last but not least this should always run in the background and monitor behavior automatically and act accordingly. What would be the best way to do this? It's complex i know but i hope somebody knows the answer and solution and i hope it can be done and that it will work well too! Any suggestion?
Bookmarks