You are not logged in.
I have an external usb hard drive that is permanently connected. My line in fstab looks like this:
/dev/usbdisk /mnt/usbdisk ext3 defaults 0 0
I'm using hal and for this hdd there is an icon on my desktop, and I'm desperately trying to remove that icon. I want to show icons for removable usb storage devices like my iriver h300, usbsticks and others but NOT for this hdd. Any ideas how to fix that?
Album reviews (in german): http://schallwelle.filzo.de
Offline
Is that icon different from the Usb-Stick one? In that case you could fix it with right-clicking the desktop, "Setup..." ...bla... "Gerätesymbole" ;-)
If it isn't -- no idea. Overriding HAL stuff is beyond me.
1000
Offline
Sure thing. Add this to /etc/hal/fdi/policy/preferences.fdi
<!-- Ignore fixed partitions which are not mounted in /media -->
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<match key="volume.is_mounted" bool="true">
<merge key="volume.ignore" type="bool">true</merge>
<!-- Show /media/ drives -->
<match key="volume.mount_point" compare_gt="/media">
<match key="volume.mount_point" compare_lt="/media0">
<merge key="volume.ignore" type="bool">false</merge>
</match>
</match>
</match>
</match>
</match>
This is taken from ubuntu btw.
edit / you might have to tweak it a bit. i'll be happy to help if it doesn't work for you.
Last edited by pelle.k (2008-02-09 17:30:54)
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline