to hide disturbing programs like p2p applications to background you can use following script
#script moves applications to unactive desktop
wmctrl -n 2 &
#set two desktops
altdesktop=`wmctrl -d | grep "-" | awk '{ print $1 }'`
wmctrl -r LinuxDC++ -t $altdesktop&
wmctrl -r LinuxDC++ -t $altdesktop&
wmctrl -r Transmission -t $altdesktop&
wmctrl -r Nicotine+ 1.2.9 -t $altdesktop&similar to hideit! in windows
to run script continious use
while (true)
do
#put script here
sleep 100
done
or add it to your crontab.
0 comments:
Post a Comment