  T0rn Premium join:2001-05-11 USA
| Remove partition icons from Menu / Computer?
I'm on Ubuntu 9.10 right now, and I am trying to figure out how to remove redundant icons from the menu and the computer folder. I already know how to remove icons from the desktop, using gconf-editor (under nautilus settings), but I am not sure where the option is to remove icons from the menu, itself.
It's not a life-or-death problem, only aesthetic, but it would be nice to know of a way to get rid of these icons, since they are not necessary. I only use them through the fstab and crypttab files, so I do not need any shortcuts for them. The encrypted root and home partitions are already mounted, anyways.
I included a couple of screenshots. |
|
  Kakalaky Premium join:2003-04-04 Broken Arrow, OK
·Cox HSI
·Cox VOIP
·Time Warner VOIP
·RoadRunner Cable
2 edits | You could write some hal rules to do this but just adding them to /etc/fstab without mounting them on boot should do the trick.
Edit: I should learn to read. Apparently I need more coffee. Usually volumes mounted from fstab don't show up like that. I don't have any encrypted volumes around to test atm but I'm guessing hal doesn't ignore volumes in crypttab. Using hal rules to set volume.ignore might work.
Edit again: I set up something similar in a vm. I created one large encrypted LVM volume containing / and /home. I don't see extra listings for / or /home in places so the encrypted volumes are being handled correctly. There is one for the LVM volume though. Taking a look at lshal shows that volume.ignore is true for the LVM volume. gvfs-ls computer: shows the volume. My thoughts are that this is that this most likely a bug in gvfs. Feel free to investigate more and open a bug report if there isn't one already. |
|
  T0rn Premium join:2001-05-11 USA
| That is interesting. I thought HAL was only used for removable media or unmounted devices not found in the fstab (such as another SATA hard drive).
The Firefox/Swiftfox RAMdisk profile is simply an entry in the fstab, which allows up to 128 MB for the Firefox profile folder (excluding Cache.) For it to display an icon under Places and Computer is even more bizzare. (Whether or not it is mounted makes no difference.)
It's difficult to find a solution / bug report for something like this because there are no "unique" terms I can use. The closest thing I could find was about removing mounted volumes from showing up on the desktop, which I already know about.
I do not remember for certain, but I don't recall seeing this occuring under Jaunty. (I had been using the Firefox RAMdisk profile trick while I was on Ubuntu 9.04, and I don't believe I had the same issue as I am having with Karmic.) |
|
  Kakalaky Premium join:2003-04-04 Broken Arrow, OK
·Cox HSI
·Cox VOIP
·Time Warner VOIP
·RoadRunner Cable
1 edit | Debian has a bug that looks like the same issue. »bugs.debian.org/cgi-bin/bugrepor···g=539547
Gnome has a few bugs open under gnome-mount about issues with encryption. None of them appear to exactly address your issue but could be related. »https://bugzilla.gnome.org/buglist.cgi?q···unt+luks
I tried a setup with encrypted drives like yours instead of the one encrypted lvm and none of the hal tricks for ignoring volumes worked. I have heard others reporting this problem using dmraid also. It appears that anything under /dev/mapper shows up as unmounted even when it is. You should be able to hide the ramdisk through hal though.
Edit: Here are some ubuntu bugs that could be related. »https://launchpad.net/ubuntu/+bugs?field···package= |
|