I'm not using Cinnamon, so I can't check but, here's the general idea.
Follow these instructions for adding an application launcher to the taskbar. Ie.
- If you don't already have a launcher, choose any app in your menu, right click and choose "Add to panel" (you can remove it after the second step).
- Then right click the launcher area and choose "Add" to pick another application.
This procedure may work for a file as well as an application.
If not, one thing you can do is create a custom launcher for that file.
- In
~/.local/share/applications/
, create a new file called, for examplelaunch-myPDF.desktop
(wheremyPDF
is the name of the file). Save the following text in the file.
[Desktop Entry] Exec=/usr/bin/nemo myPDF.pdf Icon=/usr/share/icons/myicon.png Name=Launch myPDF Path=/path/to/myPDF
where each entry is edited appropriately.
Exec=
should contain a command that launches the file you want to pin in whatever application you want it to open in.- If you choose
Add
from the launcher and choose that desktop file, you'll add a custom launcher for your file.
- In
There may be a way to pin files directly, but if not, the above procedure is a workaround.