Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-02-15 12:38:52

rsmgbg
Member
Registered: 2024-02-15
Posts: 3

[SOLVED] Desktop icons setting for multiple users ?

Hi,

Redhat 8.9, XFCE 4.16

I get these Removable Volume icons on the desktop.
This is a Multiuser server with Thinlinc (VNC)

How do I get rid of these Icons, I dont want all the users trying to use them. (it wont work)

Cheers,
- Roland

Last edited by rsmgbg (2024-02-16 13:10:59)

Offline

#2 2024-02-15 13:11:04

chang-zhao
Member
Registered: 2023-11-20
Posts: 42

Re: [SOLVED] Desktop icons setting for multiple users ?

Right-click on the Desktop (or "Menu" key) -> Desktop settings.

There should be tab "Icons". Uncheck "Removable devices" there.

Offline

#3 2024-02-15 13:17:41

rsmgbg
Member
Registered: 2024-02-15
Posts: 3

Re: [SOLVED] Desktop icons setting for multiple users ?

chang-zhao wrote:

Right-click on the Desktop (or "Menu" key) -> Desktop settings.

There should be tab "Icons". Uncheck "Removable devices" there.


Yes, that works fine.
Thanks :-)

Is there a way of doing this globally? for any users that starts a desktop?
To prevent any users seeing these icons.

- Roland

Offline

#4 2024-02-15 14:57:23

chang-zhao
Member
Registered: 2023-11-20
Posts: 42

Re: [SOLVED] Desktop icons setting for multiple users ?

rsmgbg wrote:

Is there a way of doing this globally? for any users that starts a desktop?
To prevent any users seeing these icons.

For a current user, settings can be accessed with xfce4-settings:
https://docs.xfce.org/xfce/xfce4-settings/start

or they can be set from command line using xfconf-query:
https://docs.xfce.org/xfce/xfconf/start

or by editing xml files in user's home (with some risk to screw it all):
https://docs.xfce.org/xfce/xfconf/start … ation_data

I'm not sure which is the best way to set them for multiple users, because I didn't administer them.

(PS. Edit ->)
Probably like this.
https://unix.stackexchange.com/question … rs-via-cli
(<- PS. Edit)

See "xfce4-desktop" channel, property "/desktop-icons/file-icons/show-removable". For example, to list properties:

xfconf-query -c xfce4-desktop -l -p /desktop-icons
xfconf-query -c xfce4-desktop -l -p /desktop-icons/file-icons/show-removable -v

Last edited by chang-zhao (2024-02-15 15:02:12)

Offline

#5 2024-02-16 08:10:11

rsmgbg
Member
Registered: 2024-02-15
Posts: 3

Re: [SOLVED] Desktop icons setting for multiple users ?

Excellent, that works like a charm.
Thank you sooo much.

For anyone out there that wants a solution, here it is.
This works for all users logging in (using XFCE of course)

# cat /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-desktop" version="1.0">
  <property name="desktop-icons" type="empty">
    <property name="file-icons" type="empty">
      <property name="show-removable" type="bool" value="false"/>
    </property>
  </property>
</channel>

- Roland

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 533.94 KiB (Peak: 534.78 KiB) ]