Trouble Hiding Drive on Desktop

Trying to hide a drive on the desktop. I’ve gone here /etc/udev/rules.d/ & created a text file named

99-hide-Partitions.rules.

Then I added this, KERNEL==”sda4”,ENV{UDISKS_IGNORE}=”1” to the file.
Rebooted & the drive is still there. What am I missing?

Solved it. I physically added the line to the file. It now looks like this:

KERNEL==”sda4”,ENV{UDISKS_IGNORE}=“1”

KERNEL==“sda4”,ENV{UDISKS_IGNORE}=“1”

The first line did not work. That was copy/pasted.
Second line I used the keyboard.

Rebooted & the drive was gone. I can’t see any difference. :crazy_face:

Now to delete the first line & see how it goes.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.