I use MPlayer as my chosen video application and KDE as my desktop 
environment, one gripe I had was with my screensaver starting up in 
the middle of a movie but I never really did anything about it.

Today I had my first glimpse at DCOP and was surprised at it 
simplicity. It took all of 5 minutes to make a wrapper script [1] for 
mplayer to disable and re-enable the KDE screen saver automatically 
using DCOP.

Feel free to pick apart the script, tell me there was a much easier 
way of doing this or use it for yourself.

Note that I don't use xscreensaver so this is not taken into account.

[1] http://nice.net.nz/linux/mplayer-wrapper.txt

hads
-- 
A journey of a thousand miles begins with a cash advance.

Reply via email to