13 October 2014

Hiding partitions in Xubuntu 14.04

Hiding partitions in Xubuntu 14.04


After installing Xubuntu 14.04 LTS, it put an sda1 icon on my desktop, which was my boot drive, and I did not want it to keep showing up. Here are the steps that I went thru to prevent it.


1. Create or edit the udev rules:
sudo vi /etc/udev/rules.d/99-hide-disks.rules

2. Add the following lines where sda1 is the drive you want to hide:
KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda1", ENV{UDISKS_IGNORE}="1"

3. Then reboot the system.

No comments:

Post a Comment