LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-10-2008, 11:02 PM   #1
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 20 x86_64
Posts: 392

Rep: Reputation: 47
Managing Desktop drive icons in Fedora 8


Hullo All,
I am running Fedora 8 using gnome.
I have a second drive and all the partitions appear as icons on my desktop, which is rather annoying.
If I use the gconf-editor (applications > System Tools > Configuration Editor) to unset volumes_visible, I also lose the removable media icons from my desktop. I would like to keep these icons.
I note that the removable media and the second drive partitions are all mounted in /media. These mounts are all shown in /etc/mtab, but nothing about these drives appears in /etc/fstab.
I am thinking that If I mount the second drive partitons in /mnt (make appropriate mods to /etc/fstab) then the removable media drive icons will appear on the desktop if I set volumes_visible, and I won't have all the second drive partition icons as well.
If I do this, do I need to do anything else to prevent the second drive partitions being mounted in /media?
Or to put it another way, what is currently causing these partitions to be mounted in /media and does that have to be explicitly switched off, or another config file altered or somesuch?
I think I know all that is necessary to make a new mount, (add entry to /etc/fstab, create the mount point directories) but the fact that these second drive partitions are mounted in /media without an entry in /etc/fstab, leaves me unsure as what else might need to be done to switch these /media mounts off.
Hope this is clear enough.

Cheers,
 
Old 03-11-2008, 03:58 AM   #2
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Do a search on this forum, a few of us had the same problem a month or so back and a cure was found. But I'm afraid it's (the cure) leaked out of this old sieve of a head!

Think it was titled something like, "stop automount of all partitions"

(edit)
OK, I've found it, (helps when you make a note of things)

fix automount prob.

in /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi



<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
<device>
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>


Or if you have an older version of Fedora just copy the
/usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi

file over from the older distro

Last edited by decrepit; 03-11-2008 at 04:03 AM. Reason: found the answer
 
Old 03-11-2008, 09:25 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
I also run Fedora 8 all the drives only appears on my desktop as a icon when I am login as root
Not when I login as a normal user
Being root it can use full to have the icons there
Pardon me if I am wrong


all the best
 
Old 03-11-2008, 05:24 PM   #4
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 20 x86_64
Posts: 392

Original Poster
Rep: Reputation: 47
Quote:
Do a search on this forum, a few of us had the same problem a month or so back and a cure was found. But I'm afraid it's (the cure) leaked out of this old sieve of a head!
OK, I did see that and if I recall correctly did add the 99-redhat-storage-policy-fixed-drives.fdi to /usr/share/hal/fdi/policy/10osvendor dir, but I don't think it actually fixed things the way I would have liked...perhaps it's my memory that's palying up now and maybe I should go back and try it again.

Thanks for your help in tracking that down. I should add that i did do a search before posting my question, but that particular one didn't pop up. Choice of words I guess.

Thanks again.

Cheers,
 
  


Reply

Tags
icons


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive Icons on Gnome Desktop- GO AWAY NOW aquaboot Ubuntu 6 12-04-2006 12:13 PM
Need to get Removable Drive Icons on Desktop barneyt Mandriva 10 05-18-2005 06:38 AM
Open drive desktop icons, on SUSE SCOSWriter Linux - Software 3 04-28-2005 05:35 AM
Zip Drive - 2 icons on desktop DB9 Linux - Hardware 3 04-07-2004 02:51 AM
putting drive icons on kde desktop johns123 Linux - Newbie 4 03-30-2004 08:22 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration