Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-01-27 06:10:37

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Need to remove folder icons

Just one of my users has icons on the desktop for all the top-level directories. Not just the usual File System, Home etc, but things like
boot, run, proc, dev, pts and so on.

These are not found in his Desktop folder, and reappear for him even if I copy the .config/xfce directory from another user.

They cannot be deleted, and if moved in the desktop revert to their original position next login. The context tmenu has no delete option, although it does have 'unmount volume'. Whether I want this user to unmount /run or /dev is left to your imagination.

How can I get rid of these icons?

Thanks
Theresa


Thanks
Theresa

Offline

#2 2017-01-27 06:29:33

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: Need to remove folder icons

It sounds like someone has changed the XDG_DESKTOP_DIR= setting in ~/.config/user-dirs.dirs It should be XDG_DESKTOP_DIR="$HOME/Desktop"

Offline

#3 2017-01-28 04:13:16

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Re: Need to remove folder icons

Thanks, but apparently not this.

The user-dirs.dirs file was missing (heavens knows why) but creating it with this entry didn't solve the problem.

Theresa


Thanks
Theresa

Offline

#4 2017-01-28 14:39:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Need to remove folder icons

Following up on ozjd's suggestion, does running the following commands help:

xdg-user-dirs-update --set DESKTOP $HOME/Desktop
pkill -HUP xfdesktop

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-01-28 19:31:34

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Re: Need to remove folder icons

That redraws the desktop but with the same contents. The user-dirs.dirs file is replaced with the only non-comment line

XDG_DESKTOP_DIR="$HOME/Desktop" - which was in the original.


Thanks
Theresa

Offline

#6 2017-01-28 19:54:29

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: Need to remove folder icons

I can replicate something like that when I go into All Settings > Desktop, Icons tab, and check the boxes under Default Icons. The settings then show up at the bottom (lines 90ff) of ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml, where for me all the properties starting with "show- " are set to false.

Not sure that is of any help...


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#7 2017-01-28 20:56:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Need to remove folder icons

Can you post back the contents of your user-dirs.dirs file as well as:

ls -l ~/Desktop

...and

ls -l ~ | grep Desktop

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2017-01-28 22:17:20

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Need to remove folder icons

One other thought: open a terminal on that user's machine and run this command:

echo $HOME

It's possible that for some reason it's not set properly for him.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#9 2017-01-28 23:36:33

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Re: Need to remove folder icons

$HOME is set correctly. And now I discover that the problem affects any newly created users as well.


Thanks
Theresa

Offline

#10 2017-01-28 23:40:41

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Re: Need to remove folder icons

ToZ wrote:

Can you post back the contents of your user-dirs.dirs file as well as:

ls -l ~/Desktop

...and

ls -l ~ | grep Desktop

1: users-dirs.dirs

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
]

2: ls -l ~/Desktop

drwxr-xr-x 2 test test    4096 Jan 23 21:27 Desktop
total 0


3: ls -l  ~ | grep Desktop

drwxr-xr-x 2 test test    4096 Jan 23 21:27 Desktop


This is from a newly created test user, who has icons for File System, Home as expected but
also sys, boot, run, dev, pts, home, flash, opt, proc and run. These do open the respective
directories when clicked (provided permissions allow).


Thanks
Theresa

Offline

#11 2017-02-01 07:45:36

TheresaWilliams
Member
From: Wellington, NZ
Registered: 2017-01-27
Posts: 8

Re: Need to remove folder icons

Still no idea why this is happening - I rebuilt the box and all users have icons for /dev /run /proc and so on.

But it is curable: under  All Settings > Desktop  > Icons >  Default Icons I found the expected 4 options, and  an option I haven't seen before for 'Other Devices'. Unchecking it made the unwanted icons go away. [The icon for this option looks like a phone - /proc doesn't strike me as telephonic :-) ]

Quite why, out of the blue, this 5th option should appear after years of using xfce I don't know. Maybe there's something odd in my build of the underlying OS?

However, right now I have a semi-solution.

Thanks
Theresa


Thanks
Theresa

Offline

#12 2017-02-01 10:43:13

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: Need to remove folder icons

<whine>what I posted above</whine>


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 562.15 KiB (Peak: 578.99 KiB) ]