User Tools

Site Tools


pcmanfm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pcmanfm [2021/05/26 02:01] – [Thumbnails] correction on script note rjtpcmanfm [2022/12/18 19:12] (current) – custom action links, reshuffling a little rjt
Line 5: Line 5:
  
 ==== Custom Actions ==== ==== Custom Actions ====
-You can add //custom actions// to the right-click menu (context menu). These are shown in the context menu for all files((FIXME: Actually, I think you can set them to appear in specific contexts)). To define them, create a ''.desktop'' file in ''~/.local/share/file-manager/actions/''.+You can add //custom actions// to the right-click menu (context menu). To define them, create a ''.desktop'' file in ''~/.local/share/file-manager/actions/''.
  
-NB: these are also compatible with the [[nautilus]] file manager.+NB: these are also compatible with the [[Nautilus]] file manager. 
 + 
 +===Examples=== 
 + 
 +Open directory or file/s in batch renaming tool [[GPRename]]: 
 + 
 +<file ini GPRename.desktop> 
 +[Desktop Entry] 
 +Type=Action 
 +Profiles=open 
 +Name=Batch rename... 
 +Icon=gprename 
 + 
 +[X-Action-Profile open] 
 +MimeTypes=all/all 
 +Exec=gprename %f 
 +</file> 
 + 
 +  * https://linuxconfig.org/how-to-extend-pcmanfm-with-custom-actions 
 +  * https://wiki.archlinux.org/title/PCManFM#Adding_custom_items_to_the_context_menu 
 +  * https://wiki.manjaro.org/index.php?title=PCmanFM-Qt#Creating_Custom_Actions 
 +  * https://forums.bunsenlabs.org/viewtopic.php?id=7248 
 +  * [[github>qkzoo/pcmanfm-custom-actions]] 
 +  * [[github>madebits/linux-pcmanfm-actions]] 
 +  * [[github>paius1/pcmanfm-actions]] 
 +  * [[github>stefonarch/custom-actions]]
  
 ==== Custom Openers ==== ==== Custom Openers ====
Line 15: Line 40:
  
 right-click > 'Open __W__ith...' '__C__ustom Command Line', and then entering commands and giving it a name. right-click > 'Open __W__ith...' '__C__ustom Command Line', and then entering commands and giving it a name.
 +
 +You could also do this with § [[#Custom Actions]].
 +
 +=== Examples ===
  
 I have one to mount ''.iso'' files, which is really handy: I have one to mount ''.iso'' files, which is really handy:
Line 21: Line 50:
  
 Found that here: https://askubuntu.com/questions/537352/gui-to-mount-disk-images-iso-etc-in-xubuntu Found that here: https://askubuntu.com/questions/537352/gui-to-mount-disk-images-iso-etc-in-xubuntu
- 
-=== Examples === 
- 
-  * https://wiki.manjaro.org/index.php?title=PCmanFM-Qt#Creating_Custom_Actions 
-  * http://lxlinux.com/pcmanfm-actions.html 
-  * http://www.bernaerts-nicolas.fr/linux/323-lubuntu-trusty-empty-trash-menu 
-  * https://forums.bunsenlabs.org/viewtopic.php?id=7248 
-  * [[github>madebits/linux-pcmanfm-actions]] 
-  * [[github>paius1/pcmanfm-actions]] 
-  * [[github>qkzoo/pcmanfm-custom-actions]] - Has one for generating md5sum. 
-  * [[github>stefonarch/custom-actions]] 
  
 ==== See Also ==== ==== See Also ====
pcmanfm.1621958480.txt.gz · Last modified: 2021/05/26 02:01 by rjt