KDE and autorun
Robert
kerplop at sbcglobal.net
Sat Dec 4 14:31:41 UTC 2004
Michael A. Peters wrote:
> I'm a GNOME user, so this may just be me.
>
> I am completely unable to get autorun to work in KDE.
> It does not mount the DVD, it does not run the autorun script on the DVD.
>
> When the user logs in, the autorun thing bounces - but then it stops
> bouncing, and that's all - media is not even mounted.
>
> FC3 with all updates.
> What do I do?
>
> -=-
> Secondly - is there a way from a shell script to turn off the event
> noises temporarily? IE the beeps and burps from kdialog?
>
> IE - run command to save user setting to shell variable
> turn off the sounds
> do my thing
> restore user settings
>
> In gnome that kind of thing can be done with gconftool-2
>
> Thanks for suggestions
>
>
You might want to look in the Kmix Handbook (Open Kmix, right click the
speaker icon, click Show Mixer Window, press f1).
In Section 5 "Advanced Kmix Features" you'll find a scripting guide. As
a reference, cron turns my volume to zero at 10:17 PM and sets it to 60%
at 6:14 AM like this:
----------------
#
#Set Master Volume Control to zero at 10:00 P.M.
17 22 * * * DCOPSERVER=`cat
/home/rj/.DCOPserver_mavis.localdomain_:0 | grep local`;export
DCOPSERVER;dcop kmix Mixer0 setMasterVolume 0
#Set Master Volume Control to 60% at 6:14 A.M.
14 6 * * * DCOPSERVER=`cat
/home/rj/.DCOPserver_mavis.localdomain_:0 | grep local`;export
DCOPSERVER;dcop kmix Mixer0 setMasterVolume 60
# Call the Alarm Script on Tue and Thur.
15 6 * * 2,4 /home/rj/alarm2
---------------
Note that those are one-liners between the comments and have suffered
word wrap here.
Good luck.
More information about the fedora-list
mailing list