How to Remove Trash and Home Folder from Desktop in Linux PC

Not Happy with Trash and Home Folder on your Linux PC. Here are Few Methods to Remove Trash and Home Folder from Ubuntu Desktop

Linux distributions have a Home and Trash folder on the desktop and I find it annoying since I prefer a cleaner home screen. At first, I was under the impression that no one shares my sense of minimalism. But, I have come across several like-minded PC users who spend time removing unnecessary files and folders on the desktop. Allow me to show you two ways to remove Home and Trash folders in Linux distributions.

How to Clear Desktop in Ubuntu/Linux?

The open-source is blessed with a ton of useful tools, and I’m profound of Gnome Tweaks. Ubuntu’s entire user-interface structure is based on Gnome GUI, and Tweaks is designed to manage the layout in the system. Let me show you how to install Gnome Tweaks on 20.4 LTS edition, and it will be the same on other flavors as well.

  • Open Terminal.
  • Copy & paste the following command and press the “Enter” key.
    sudo apt install gnome-tweaks

(2) Open Terminal and paste the command

  • Enter the login or account password to confirm the installation.

(3) Enter the password to confirm installation

  • Type “y” and press the Enter key.

(4) Type Y then press the Enter key

  • Wait till the installation finishes and close the window.

(5) Close Terminal after installation

Gnome Tweaks is installed in the Linux machine, and it will work almost any distribution. I want to let you know that this is not an irreversible tutorial, and you can always revert the changes by following the same tutorial.

Disable Desktop Icons

Prevent Ubuntu or other distribution from adding new program shortcuts in the desktop.

  • Open Gnome Tweaks.

(1) Open Gnome Tweaks

  • Click on “Extensions” from the menu.

(2) Choose Appearance

  • Click to disable “Desktop icons”.

(3) Click Disable Desktop Icons

  • Double-check changes.

(4) Make sure Desktop Icons disabled

All icons added by the programs will be disappeared at once, and they won’t show up again. Revert the changes by following the same tutorial and re-enable the function again,

Remove Trash and Home Folder

Let’s get to the main part, where I will show you to remove the Home and Trash folder from the desktop. Of course, it’s not permanent, and you can have it this way as long as required.

  • Open Gnome Tweaks.
  • Click on “Extensions” from the menu.
  • Click on the gear icon beside “Desktop icons”.

(3) Click on Gear Icon

  • A window will pop up on the screen.

(4) Disable Home and Trash Options

A. Click to disable the “Show the personal folder in the desktop” option.

B. Click to disable the “Show the trash folder in the desktop” option.

  • Make sure both options are disabled and take a look at the desktop to confirm their effectiveness.

(5) Make sure Folders and Icon are Disabled

Trash & Home folder should have disappeared from the desktop, but it is present in your case, then follow the Terminal tutorial below.

Remove Trash Icon using Terminal

It seems like Trash Icon is a persistent problem, in your case. But, Terminal is the ultimate powerhouse in the Linux world, and one command is enough to get rid of it.

  • Open Terminal.
  • Copy & paste the command, then press the “Enter” key.

Remove Trash Icon using Terminal

Ubuntu 18.4 (LTS):

gsettings set org.gnome.nautilus.desktop trash-icon-visible false

Ubuntu 20.4 (LTS) or later:

gsettings set org.gnome.shell.extensions.desktop-icons show-trash false
  • The trash folder instantly disappeared from the desktop.

What’s next?

I’m into aesthetic look and feel, which is not possible without eliminating the Home and Trash folder from the desktop. Of course, you got the main panel on the left side that can hold necessary program shortcuts. Later on, I can move a couple of folders on the desktop, but on the right side to access important documents, but that’s all a minimalist machine should have, in my opinion. Let us know what do you think about Gnome Tweaks in the comment section below.

If you've any thoughts on How to Remove Trash and Home Folder from Desktop in Linux PC, then feel free to drop in below comment box. Also, please subscribe to our DigitBin YouTube channel for videos tutorials. Cheers!

Share
kksilvery
I'm a passionate writer, gamer, YouTube Creator, and Blogger. I have authored over one million words on the web and am trying to work the hardest in the region to gain recognition for my work.

Leave a Reply

Your email address will not be published. Required fields are marked *