You are not logged in.
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
Right-click on the Desktop (or "Menu" key) -> Desktop settings.
There should be tab "Icons". Uncheck "Removable devices" there.
Offline
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
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
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
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 534.74 KiB (Peak: 535.59 KiB) ]