User Tools

Site Tools


config:nemo-performance

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
config:nemo-performance [2024/03/31 02:04] Wulf Rajekconfig:nemo-performance [2024/11/12 10:59] (current) Wulf Rajek
Line 35: Line 35:
  
 Global action scripts need to be placed in ''/usr/share/nemo/actions'' and user actions can be placed in ''~/.local/share/nemo/actions/''. File extension has to be ''.nemo_action''. Global action scripts need to be placed in ''/usr/share/nemo/actions'' and user actions can be placed in ''~/.local/share/nemo/actions/''. File extension has to be ''.nemo_action''.
 +
 +<code>cd ~/.local/share/nemo/actions/</code>
  
 A full description of the syntax is available in the sample file ''/usr/share/nemo/actions/sample.nemo_action'' A full description of the syntax is available in the sample file ''/usr/share/nemo/actions/sample.nemo_action''
Line 57: Line 59:
 Dependencies=gprename; Dependencies=gprename;
 </code> </code>
 +
 +=== Image convert / rotate ====
 +
 +<code>
 +sudo apt-get install nemo-image-converter
 +</code>
 +Then restart nemo to activate the plugin. Right-click context menu entries for images will be available.
  
 === MP3 Tagging example scripts === === MP3 Tagging example scripts ===
Line 107: Line 116:
 <code> <code>
 chmod 755 .local/share/nemo/actions/beets_import_album.sh chmod 755 .local/share/nemo/actions/beets_import_album.sh
 +</code>
 +
 +=== Copy Full Path to clipboard ===
 +
 +<code - ~/.local/share/nemo/actions/copy_full_filepath.nemo_action>
 +[Nemo Action]
 +Name=Copy Full Filepath
 +Comment=Full Path: %F
 +Exec=sh -c "readlink -f %F | xclip -selection clipboard"
 +Icon-Name=gtk-copy
 +Selection=notnone
 +Extensions=dir;nodirs
 +Separator=,
 +Dependencies=readlink;xclip;
 </code> </code>
  
Line 346: Line 369:
 Various Nautilus scripts can be found here: Various Nautilus scripts can be found here:
 https://github.com/cfgnunes/nautilus-scripts https://github.com/cfgnunes/nautilus-scripts
 +
 +==== Action Submenus ====
 +
 +{{:config:pasted:20241112-105830.png}}\\ 
 +
 +GUI change through Nemo -> Edit -> Preferences -> Plugins -> Edit Layout:\\ 
 +{{:config:pasted:20241112-105501.png}}
 +
 +
 +
 +Example of submenu for action scripts:
 +
 +<code - ~/.config/nemo/actions-tree.json>
 +,
 +    {
 +      "uuid": "Video Manipulations",
 +      "type": "submenu",
 +      "user-label": "Video Manipulations",
 +      "user-icon": null,
 +      "children": [
 +        {
 +          "uuid": "video_bitrate.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        },
 +        {
 +          "uuid": "video_downscale.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        },
 +        {
 +          "uuid": "video_merge.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        },
 +        {
 +          "uuid": "video_hflip.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        },
 +        {
 +          "uuid": "video_vflip.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        },
 +        {
 +          "uuid": "video_mergechapters.nemo_action",
 +          "type": "action",
 +          "user-label": null,
 +          "user-icon": null
 +        }
 +      ]
 +    },
 +</code>
 +
 +
config/nemo-performance.1711847042.txt.gz · Last modified: 2024/03/31 02:04 by Wulf Rajek