You are not logged in.
Pages: 1
Hi,
XFCE works great. However, I do have a wish. I have several hard drives in my system, with several unused/unmounted partitions. These partitions always show up on my desktop. I would like to hide these (but not the partitions of devices I plug-in). Can this be done?
Thanks
Last edited by frits43 (2014-01-21 16:49:37)
Offline
If you're using UDEV, the following rule should help.
/etc/udev/rules.d/99-hide-disks.rules
KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda2", ENV{UDISKS_PRESENTATION_HIDE}="1"
...or:
KERNEL=="sda1", ENV{UDISKS_IGNORE}="1"
KERNEL=="sda2", ENV{UDISKS_IGNORE}="1"
...depending on the version.
Reboot or run "sudo udevadm trigger" to get it to take effect.
NOTE: Change sda1 and sda2 to match the partitions that you want to hide. Add/remove lines as needed.
Last edited by ToZ (2014-01-21 11:40:15)
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
The first ruleset did the trick. Thank you!
Offline
Pages: 1
[ Generated in 0.011 seconds, 9 queries executed - Memory usage: 523.44 KiB (Peak: 524.28 KiB) ]