I just installed Ubuntu 18.04 and don't like having the trash icon on the desktop rather that in the launcher (Ubuntu dock).
How can I move it back to the launcher? Can other icons be moved from the desktop to the launcher?
I just installed Ubuntu 18.04 and don't like having the trash icon on the desktop rather that in the launcher (Ubuntu dock).
How can I move it back to the launcher? Can other icons be moved from the desktop to the launcher?
Removing the Trash icon from desktop
Up to Ubuntu 18.10
Launch Terminal and run
You may alternatively use GUI tools like dconf-Editor or (GNOME) Tweaks (see this for reference).
Ubuntu 19.04 and later
Disable the trash icon option from Extensions > Desktop Icon in Tweaks:
Alternatively, run the following command
Adding a Trash icon to the Ubuntu dock
Up to Ubuntu 19.04
Follow the steps below.
First install the
trash-cli
package by runningCreate a
.desktop
file (saytrash-in-dock.desktop
) in your~/.local/share/applications/
directory.Open the file with a text editor and add the following lines
Save the file and re-login if needed.
Click "Activities" or press Super and search for Trash for Dock. It should appear in the results.
Right click the icon and select "Add to Favourites".
What you will get
A Trash icon in your dock, clicking which will open the Trash folder.
Right clicking the Trash icon in the dock will show an "Empty Trash" option which should work as intended.
What you won't get
The Trash icon in the dock would be like other app icons, it won't be conveniently placed at the bottom like in Unity Launcher.
The Trash icon in the dock would be a 'static' one, i.e. won't show two different icons depending on whether the Trash is empty or not.
Ubuntu 19.10 and later
Simply run the following command