hide desktop icon for all users
Olivier SCHMITT
olivier.schmitt at unistra.fr
Mon Nov 23 14:23:07 CET 2020
I answer myself:
put these lignes as below in
/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="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string"
value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string"
value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string"
value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string"
value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
</property>
</property>
</property>
<property name="desktop-icons" type="empty">
<property name="file-icons" type="empty">
* <property name="show-home" type="bool" value="false"/>**
** <property name="show-filesystem" type="bool" value="false"/>**
** <property name="show-trash" type="bool" value="false"/>**
** <property name="show-removable" type="bool" value="false"/>*
</property>
</property>
</channel>
Le 23/11/2020 à 08:29, alepic a écrit :
> Try:
>
> xfconf-query --create -c xfce4-desktop -np
> '/desktop-icons/file-icons/show-home' -t 'bool' -s 'false'
> xfconf-query --create -c xfce4-desktop -np
> '/desktop-icons/file-icons/show-filesystem' -t 'bool' -s 'false'
> xfconf-query --create -c xfce4-desktop -np
> '/desktop-icons/file-icons/show-trash' -t 'bool' -s 'false'
> xfconf-query --create -c xfce4-desktop -np
> '/desktop-icons/file-icons/show-removable' -t 'bool' -s 'false'
>
>
>
> On Fri, Nov 20, 2020 at 4:45 PM Olivier SCHMITT
> <olivier.schmitt at unistra.fr <mailto:olivier.schmitt at unistra.fr>> wrote:
>
> Hello,
>
> This seems to work only for the user who does ...
>
> Is there a way to do this from the command line?
>
> Thanks!
>
> Le 19/11/2020 à 04:55, Kai-Martin Knaak a écrit :
>> Olivier SCHMITT<olivier.schmitt at unistra.fr> <mailto:olivier.schmitt at unistra.fr> schrieb am 19. November
>> 2020:
>>
>>> I search how to hide mounted all media/partition or hide all icon on
>>> desktop?
>> Right-Click somewhere on the desktop
>> → choose "Desktop_Settings..."
>> → go to tab "Icons"
>> → uncheck the items in section "Default Icons"
>>
>> Hope, that helps,
>>
>> ---<)kaimartin(>---
>
> --
>
> Olivier SCHMITT
> IGE Administrateur systèmes et réseaux
> Tél : +33 (0)3 68854956 (merci de laisser un message en cas de non
> réponse)
> olivier.schmitt at unistra.fr <mailto:olivier.schmitt at unistra.fr>
> support-pnch at unistra.fr <mailto:support-pnch at unistra.fr>
>
> Université de Strasbourg
> <http://www-physique-ingenierie.u-strasbg.fr>
>
> Faculté Physique et Ingénierie
> 3-5 rue de l'Université
> F - 67084 Strasbourg
> http://www.physique-ingenierie.unistra.fr
>
> Pensez à l’environnement, n’imprimez ce courrier et les documents
> joints que si nécessaire.
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org <mailto:Xfce at xfce.org>
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
>
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
--
Olivier SCHMITT
IGE Administrateur systèmes et réseaux
Tél : +33 (0)3 68854956 (merci de laisser un message en cas de non réponse)
olivier.schmitt at unistra.fr <mailto:olivier.schmitt at unistra.fr>
support-pnch at unistra.fr <mailto:support-pnch at unistra.fr>
Université de Strasbourg <http://www-physique-ingenierie.u-strasbg.fr>
Faculté Physique et Ingénierie
3-5 rue de l'Université
F - 67084 Strasbourg
http://www.physique-ingenierie.unistra.fr
Pensez à l’environnement, n’imprimez ce courrier et les documents joints
que si nécessaire.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20201123/35e71c9e/attachment.html>
More information about the Xfce
mailing list