====== PCManFM ====== Nice Linux [[file manager]] ===== Customising ===== ==== Custom 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. ===Examples=== Open directory or file/s in batch renaming tool [[GPRename]]: [Desktop Entry] Type=Action Profiles=open Name=Batch rename... Icon=gprename [X-Action-Profile open] MimeTypes=all/all Exec=gprename %f * 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 ==== FIXME: Probably a proper name for these, I just made this up. You can also set custom commands to launch for specific files via 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: ''udisksctl loop-setup -f %f'' Found that here: https://askubuntu.com/questions/537352/gui-to-mount-disk-images-iso-etc-in-xubuntu ==== See Also ==== * [[github>cmrd-senya/pcmanfm-image-size-module]] - Image dimensions in status bar. * [[github>dionysio/recently_modified]] - Python, adds recently modified projects as bookmarks. * [[github>alessandro-g89/pcmanfm-statusbar-pdf-pages]] * [[github>livanh/pcmanfm-statusbar-ffmpeg-info]] * [[github>ksharindam/pcmanfm-modules]] * [[github>alessandro-g89/libfm-taglib-columns]] - audio tag columns. * [[github>alessandro-g89/gtk-column-group]] * https://docs.xfce.org/xfce/thunar/media-tags ==== Thumbnails ==== Like [[Thunar]], and I think other [[GTK]] file managers, you can add support for generating thumbnails for additional kinds of files using [[Tumbler]] (not [[Tumblr]]!; dunno why not Thumbler). To add custom things to Tumbler you just put a little text file in ''/usr/share/thunmbnailers'', which is similar to to a [[file_kinds#desktop|.desktop file]]. I haven't tested if ''~/.local/share/thumbnailers'' works. My favourite thing to add is support for generating folder icons for directories of music and films, based on ''folder.jpg'' found inside. This is a thing [[microsoft_windows|Windows]] does by default, and it's nice to have it back. You just need an additional script to tell it how to get the images. * [[arch>extra/x86_64/tumbler/|tumbler]] * [[aur>tumbler-extra-thumbnailers]] (comes setup to use ''folder.*'', ''cover.*'') * [[aur>tumbler-folder-thumbnailer]] (comes setup to use ''.folder.jpg'', ''.folder.png'', ''.folder.svg'') * https://docs.xfce.org/xfce/tumbler/available_plugins ===== See Also ===== * https://wiki.lxde.org/en/PCManFM {{tag>software Linux file-manager guide}}