# Is it possible to hide the desktop icons from an applet or shell script (without log in/out)?

**URL:** <https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183>\
**Category:** General\
**Created:** [August 12, 2021, 6:01pm UTC](https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183 "2021-08-12T18:01:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Underdog](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/underdog/32/1985_2.png) [@Underdog](https://discourse.ubuntubudgie.org/u/Underdog)\
**Post date:** [August 12, 2021, 6:01pm UTC](https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183/1 "2021-08-12T18:01:39Z")

</div>

On the “Desktop” tab of the desktop settings app is a switch to “control whether to allow launchers and icons on the desktop.” Of course, switching it off results in hiding the icons on the desktop. Is this functionality available either from an applet or from the command line without having to log in/out? There’s an older thread re. this issue (see below) but I don’t know if the solution will work with UB 20.04. It would be great if this functionality was just a click away so that when you don’t need to access the desktop icons, you can keep them hidden. Thanks!

> [@Hide Desktop Icons in 19.04](https://discourse.ubuntubudgie.org/t/hide-desktop-icons-in-19-04/1813):
>
> Just installed 19.04 and it looks very sharp. I’m looking for a way to hide desktop icons, as was previously available in desktop settings. I might simply be missing it. Thanks for any help!

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [August 12, 2021, 6:49pm UTC](https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183/2 "2021-08-12T18:49:09Z")

</div>

So yeah, assuming you are using nemo, that link shows you both the command line option (you don’t need to logout and login), and a tiny budgie applet that toggles as well.

---

<div class="post-metadata">

**Author:** ![Underdog](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/underdog/32/1985_2.png) [@Underdog](https://discourse.ubuntubudgie.org/u/Underdog)\
**Post date:** [August 12, 2021, 7:08pm UTC](https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183/3 "2021-08-12T19:08:14Z")

</div>

I’ll give each a try later on this evening. Thanks foss!

---

<div class="post-metadata">

**Author:** ![Underdog](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/underdog/32/1985_2.png) [@Underdog](https://discourse.ubuntubudgie.org/u/Underdog)\
**Post date:** [August 12, 2021, 11:14pm UTC](https://discourse.ubuntubudgie.org/t/is-it-possible-to-hide-the-desktop-icons-from-an-applet-or-shell-script-without-log-in-out/5183/4 "2021-08-12T23:14:49Z")

</div>

Excellent! That’s exactly what I was looking for. Thanks to both you and vlijm! Now I can keep my desktop a pigsty and still experience my backgrounds in their full glory!
