baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

GNU/Linux Elementary OS “Freya”: add trash icon and/or folders to plank dock

For adding folders with multiple apps inside, check this out:
http://elementaryos.stackexchange.com/questions/250/can-i-add-folders-to-the-dock
aviyh

For adding folders, simply drag them out of “Files” app into to the plank dock. For me this was a quite buggy though, so you might need multiple tries. Alternative: For adding “trash” icon or manually a shortcut to e.g. “Downloads” folder:

Bildschirmfoto vom 2016-02-11 23:12:34

gksu pantheon-files /usr/share/applications

create new file: “Papierkorb.desktop

[Desktop Entry]
Name=Papierkorb
Comment=Papierkorb anzeigen
Exec=pantheon-files trash:///
Icon=user-trash
Terminal=false
StartupNotify=true
Type=Application
X-Ayatana-Desktop-Shortcuts=Empty;

[Empty Shortcut Group]
Name=Papierkorb leeren
Exec=trash-empty
TargetEnvironment=Unity

create new file: “Downloads.desktop

[Desktop Entry]
Name=Downloads
Comment=Open Downloads
Keywords=folder;manager;explore;disk;filesystem;
GenericName=Downloads
Exec=pantheon-files /home/user/Downloads
Icon=system-file-manager
Terminal=false
NoDisplay=true
StartupNotify=true
Type=Application
MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;
Categories=System;Utility;Core;GTK;FileTools;FileManager;
X-GNOME-Gettext-Domain=pantheon-files
X-GNOME-UsesNotifications=true
X-Ayatana-Desktop-Shortcuts=WindowNew;Root;AboutDialog

Comments are currently closed.