How do I script the Gnome handling of audio CDs?

Steve Searle steve at stevesearle.com
Fri Apr 16 12:43:29 UTC 2010


By default when an audio CD is inserted (Fedora 12, Gnome), a window
pops up promting the user what they want to do. This behavior can be
changed so that the prompt does not happen by running System -> 
Preferences -> File Management (nautilus-file-management-properties) and
going to the Media tab.

Is there a way to change this preference from a (bash) script?

I tried using the command:

$ gconftool-2 -t string -s /apps/nautilus/preferences/media_autorun_x_content_ignore "[xcontent/software,x-content/audio-cdda]"

but this does not work, and causes nautilus-file-management-properties
to crash.

Thanks

Steve

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 13:37:12 up 27 days, 42 min,  1 user,  load average: 0.02, 0.03, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100416/1b597389/attachment.bin 


More information about the users mailing list