I’m trying to add a context menu to convert selected image to .webp format. I already search for it but only for Nautilus and still figuring out how to do that in PCManFM-Qt.
Things that I already tried:
- Install fma-config-tool
- Create .desktop file inside ~/.local/share/file-manager/actions/
- Create .sh script to print the name of the selected file
But still the context menu not even showing up in PCManFM-Qt.
- File Manager: PCManFM-Qt v. 0.14.1
- OS: Lubuntu 20.04.2 LTS
- DE: LXQt
- WM: KWin
- WM Theme: WhiteSur
Here’s the image
Could you please explain what are you trying to do (if possible in detail) and show us the .desktop file used and the .sh script willing to be executed?
I’m trying to create a context menu, (Right click > Convert WebP) so that all .png image file in the folder converted into .WebP file format. The context menu didn’t even show up.
I have tried to do the same as you are asking with other action (open a file with lximage-qt).
I think that it can help you despite the fact that the right click context menu only works over folders.
i) Create this folder:
ii) Create a new file inside the created folder which filename must end in .desktop
Example: “open with lximage-qt.desktop”
$HOME/.local/share/file-manager/actions/open with lximage-qt.desktop
iii) Inside “open with lximage-qt.desktop” file, copy this:
Tooltip=open with lximage-qt
Name=open with lximage-qt
iv) Assign execute permission to “open with lximage-qt.desktop” file in file properties with right click context menu.
v) Close session.
vi) Start session.
pd: the right click context menu only works over folders.
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.