You are not logged in.

#1 2018-02-19 19:02:00

shrinathk
Member
Registered: 2016-10-22
Posts: 10

[SOLVED] XFCE - Hide partition icons on Desktop

Hi,

Installed Arch a couple of weeks ago and installed the XFCE DE. I dual-boot with Windows 10. As expected, the Windows partitions show up as icons on my desktop.
I followed https://bbs.archlinux.org/viewtopic.php?id=114382 and https://bbs.archlinux.org/viewtopic.php … 05#p882105 and added the following rules for udev, but the icons are still showing up.

[shrinath@shrinath-laptop ~]$ cat /etc/udev/rules.d/10-local.rules 
KERNEL=="sda4", ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda7", ENV{UDISKS_PRESENTATION_HIDE}="1"
[shrinath@shrinath-laptop ~]$

Did I miss anything ? Any help is appreciated. Thanks !

Last edited by shrinathk (2018-02-21 14:03:04)

Offline

#2 2018-02-19 19:06:36

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] XFCE - Hide partition icons on Desktop

Are you using udisks or udisks2? The topics you linked are old. Check this wiki topic: https://wiki.archlinux.org/index.php/Ud … partitions

Offline

#3 2018-02-19 21:57:33

seth
Member
Registered: 2012-09-03
Posts: 50,970

Re: [SOLVED] XFCE - Hide partition icons on Desktop

Add the partition to your fstab and pass the "x-gvfs-hide" option.

Offline

#4 2018-02-19 23:06:46

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED] XFCE - Hide partition icons on Desktop

seth wrote:

Add the partition to your fstab and pass the "x-gvfs-hide" option.

This can also be done by UUID instead of potentially unstable sdXX names.
https://github.com/GNOME/gvfs/blob/mast … -shown.txt

The udev/udisks settings should work as well if you use the udisks2 variant with UDISKS_IGNORE as mentioned in the wiki.

Last edited by progandy (2018-02-20 10:38:32)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2018-02-20 08:17:55

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] XFCE - Hide partition icons on Desktop

easiest way is to right click on the desktop, click "desktop settings", go to the "icons" tab, and in the "default icons" box at the bottom untick "removable devices"

Offline

#6 2018-02-20 13:14:49

shrinathk
Member
Registered: 2016-10-22
Posts: 10

Re: [SOLVED] XFCE - Hide partition icons on Desktop

jonno2002 wrote:

easiest way is to right click on the desktop, click "desktop settings", go to the "icons" tab, and in the "default icons" box at the bottom untick "removable devices"

This will also hide any USB or external HDD drives that I plug in - so this doesn't help me. Thanks for the suggestion though.

Offline

#7 2018-02-20 13:21:54

shrinathk
Member
Registered: 2016-10-22
Posts: 10

Re: [SOLVED] XFCE - Hide partition icons on Desktop

Udisks2 rules mentioned at https://wiki.archlinux.org/index.php/Ud … partitions worked (along with a restart) !!
Thank you 2ManyDogs, seth and progandy !

Also, I am not sure how to mark this thread as SOLVED. Can someone please close this thread ? Thanks !

Offline

#8 2018-02-20 15:11:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,771

Re: [SOLVED] XFCE - Hide partition icons on Desktop

shrinathk wrote:

Also, I am not sure how to mark this thread as SOLVED. Can someone please close this thread ? Thanks !

Edit your first post in the thread and there is an option to edit the thread title.  Prepend [[SOLVED] to the title.
We leave threads open unless there becomes a reason to close them.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2018-02-21 14:03:21

shrinathk
Member
Registered: 2016-10-22
Posts: 10

Re: [SOLVED] XFCE - Hide partition icons on Desktop

ewaller wrote:
shrinathk wrote:

Also, I am not sure how to mark this thread as SOLVED. Can someone please close this thread ? Thanks !

Edit your first post in the thread and there is an option to edit the thread title.  Prepend [[SOLVED] to the title.
We leave threads open unless there becomes a reason to close them.

Done, Thank you !

Offline

Board footer

Powered by FluxBB