You are not logged in.
I used to place a file `/etc/udev/rules.d/99-hide-partitions.rules' with the content:
KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}:="1"
KERNEL=="sda2", ENV{UDISKS_PRESENTATION_HIDE}:="1"
KERNEL=="sda4", ENV{UDISKS_PRESENTATION_HIDE}:="1"
which makes partitions other than sda3 invisible for my desktop users. After today's upgrade (gnome libraries) it stopped working. Any idea how to fix it or make it some other way?
Best regards,
/m
Offline
Try using UDISKS_IGNORE instead.
Burninate!
Offline
Thanks! It works!
BTW: cause the `UDISKS_PRESENTATION_HIDE' is commonly used in numerous examples/howtos it worked till now and the use of this is quite common -- may I suggest some small announcement or sth like this for that change?
Offline
Something happened recently that caused xfce4/openbox to ignore this udev rule that had been working for months. The rule keep my desktop clean by not displaying icons for the corresponding drive partitions. Now, I have 4 icons on my desktop which I cannot remove. Advice is appreciated.
# cat /etc/udev/rules.d/hide-partitions.rules
KERNEL=="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda4",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda6",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda8",ENV{UDISKS_PRESENTATION_HIDE}="1"
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
check this:
https://bugs.archlinux.org/task/29235
Last comment will give you the solution
Offline
Thanks, solved it. I requested a merge with https://bbs.archlinux.org/viewtopic.php?pid=1091530.
https://wiki.archlinux.org/index.php/Xf … _xfdesktop
# cat /etc/udev/rules.d/hide-partitions.rules
KERNEL=="sda1", ENV{UDISKS_IGNORE}="1"
KERNEL=="sda2", ENV{UDISKS_IGNORE}="1"
KERNEL=="sda3", ENV{UDISKS_IGNORE}="1"
KERNEL=="sda4", ENV{UDISKS_IGNORE}="1"
EDIT: updated to reflect proper syntax.
Last edited by graysky (2015-05-05 19:35:35)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I requested a merge
Done
Original thread by graysky, "/etc/udev/rules.d/hide-partitions.rules - not honored"
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline