LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   disable any kind of automounting in Gnome (https://www.linuxquestions.org/questions/debian-26/disable-any-kind-of-automounting-in-gnome-878756/)

cccc 05-04-2011 06:35 AM

disable any kind of automounting in Gnome
 
hi

I have squeeze with gnome (gdm3) desktop.
Howto disable any kind of device automounting in gnome?

EricTRA 05-04-2011 07:02 AM

Hello,

Maybe this link will help: http://www.cyberciti.biz/faq/disable...-automounting/. As always Google provides.

Kind regards,

Eric

cccc 05-04-2011 07:31 AM

Quote:

Originally Posted by EricTRA (Post 4346131)
Hello,

Maybe this link will help: http://www.cyberciti.biz/faq/disable...-automounting/. As always Google provides.

Kind regards,

Eric

I've tried and it doesn't work.
BTW this is for Fedora and not for Debian.

EricTRA 05-04-2011 07:42 AM

Hi,

I've noticed it's for Fedora but that doesn't matter much in this case since it refers to Gnome. What error do you get? Does the value in the xml file get changed correctly? Most likely you'd have to logout and login again for the changes to take effect.

Kind regards,

Eric

cccc 05-04-2011 07:47 AM

Quote:

Originally Posted by EricTRA (Post 4346177)
Hi,

I've noticed it's for Fedora but that doesn't matter much in this case since it refers to Gnome. What error do you get? Does the value in the xml file get changed correctly? Most likely you'd have to logout and login again for the changes to take effect.

Kind regards,

Eric

No errors, the value was changed correctly, after restart the computer it doesn't work.

cccc 05-04-2011 07:49 AM

I've solved this problem!

Configuring Automounting

To enable or disable automount open a terminal and type gconf-editor followed by the [Enter] key.

Browse to /apps/nautilus/preferences/media_automount.

The media_automount key controls whether to automatically mount media. If set to true, then Nautilus will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion.

There is another key /apps/nautilus/preferences/media_automount_open. This controls whether to automatically open a folder for automounted media. This key can also be set in the Nautilus (file manager) window. From the Edit menu in Nautilus select Preferences and then select the Media tab.

If set to true, then Nautilus will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead. This can be configured as shown below.

greetings
cccc

EricTRA 05-04-2011 07:52 AM

Hi,

Great, thanks for sharing the solution to your problem.

Kind regards,

Eric


All times are GMT -5. The time now is 07:30 PM.