Re: How do I script the Gnome handling of audio CDs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 16, 2010 at 01:43:29PM +0100, Steve Searle wrote:
> 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

The key is a list, not a string -- try '-t list' and I think you'll be
OK.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
          Where open source multiplies: http://opensource.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux