Talk:Cinnamon Desktop

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 21:48, 10 September 2023 by Admin (Talk | contribs)

Jump to: navigation, search

How do I add entries to PCManFM's right-click menu?

like this:

[MIME Cache]
inode/directory=qiv-usercreated-0.desktop

in ~/.local/share/applications, and a qiv.desktop in the very same folder. For record, for my qiv, this gives me:

[Desktop Entry]
Encoding=UTF-8
Name=Sildeshow (random, recursive)
Exec=qiv -Rrlfstmiu
MimeType=image/jpeg
Icon=exec
NoDisplay=false

Another example:

/home/photos/.local/share/applications/mimeinfo.cache

[MIME Cache]
inode/directory=lazyslideshow-usercreated-0.desktop;qiv-usercreated-0.desktop
application/x-shellscript=sh-usercreated-0.desktop
text/plain=leafpad-usercreated-0.desktop

.desktop files

lazyslideshow-usercreated-0.desktop
qiv-usercreated-0.desktop

2021 PCManFM right click menu and Open As Root

https://forums.raspberrypi.com/viewtopic.php?t=310734

You can start by right clicking an item, then click Open with ..., and choose "Custom Command Line" (instead of the picking from the normal list). Here you have to add an "Application name". Now there will be a file in /home/pi/.local/share/applications