Open Trash from Taskbar

I used to put a shortcut to the trash on the taskbar in Windows. When I tried to do the same thing in Zorin OS Core, I found out that I can open the trash box with the command nautilus trash:// from the terminal, and created a .desktop file like the following. It works in my environment, but is this the right way to do it?

[Desktop Entry]
Version=1.0
Type=Application
Name[ja]=ゴミ箱
Name=Trash
Icon=/usr/share/icons/Zorin/16x16/places/user-trash.svg
Exec=nautilus trash://
NoDisplay=false
Categories=Utility
StartupNotify=false
Terminal=false

Screenshot from 2022-10-17 21-36-21

I believe you could also see the trash icon on your desktop taskbar by using the Mac theme (if you're on Pro or Pro Lite). Though you're probably not keen to do that.

1 Like