You are not logged in.
Pages: 1
I am trying to disable the default desktop icons:
Home
Filesystem
Wastebasket
Removable Devices
I am aware this is possible through: Settings Manger > Desktop > Icons
However, for my situation I require this to be done through the command line, as this is an unattended setup run after the OS is installed.
Could someone point me in the direction of the desktop configuration file(s) where these icons are defined?
Platform: Fedora 19 (X86_64)
XFCE Version: 4.10
Thanks in advance!
Offline
Hi, dooffas.
In 4.8 it's
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
where you can find
<property name="file-icons" type="empty">
<property name="show-trash" type="bool" value="[true/false]"/>
<property name="show-filesystem" type="bool" value="[true/false]"/>
<property name="show-home" type="bool" value="[true/false]"/>
<property name="show-removable" type="bool" value="[true/false]"/>
</property>
HTH
Offline
Hi, dooffas.
In 4.8 it's
I just checked and the same file is present in Xfce 4.10, so that should work fine for the OP's setup.
Regards,
MDM
Offline
Thanks guys, exactly what I have been looking for. Thought I had looked there, must have overlooked that file.
Edited in my script using sed
sed -i 's#show-trash" type="bool" value="true"#show-trash" type="bool" value="false"#' xfce4-desktop.xml
sed -i 's#show-filesystem" type="bool" value="true"#show-filesystem" type="bool" value="false"#' xfce4-desktop.xml
sed -i 's#show-home" type="bool" value="true"#show-home" type="bool" value="false"#' xfce4-desktop.xml
sed -i 's#show-removable" type="bool" value="true"#show-removable" type="bool" value="false"#' xfce4-desktop.xml
Thanks again
Dooffas
Offline
For completeness, if anyone else stumbles upon this thread.
The xfce4-desktop.xml file is not created until desktop setting are changed in the 'settings manager'.
I have now simply edited one of these files and it is copied over during the setup.
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 533.17 KiB (Peak: 534.02 KiB) ]