config:nemo-performance
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:nemo-performance [2023/03/31 00:13] – [Action Scripts] Wuff | config:nemo-performance [2025/09/17 21:22] (current) – Wuff | ||
|---|---|---|---|
| Line 35: | Line 35: | ||
| Global action scripts need to be placed in ''/ | Global action scripts need to be placed in ''/ | ||
| + | |||
| + | < | ||
| A full description of the syntax is available in the sample file ''/ | A full description of the syntax is available in the sample file ''/ | ||
| - | More examples can be found at https:// | + | More examples |
| The sample file is also here:\\ | The sample file is also here:\\ | ||
| https:// | https:// | ||
| Line 57: | Line 59: | ||
| Dependencies=gprename; | Dependencies=gprename; | ||
| </ | </ | ||
| + | |||
| + | === Image convert / rotate ==== | ||
| + | |||
| + | < | ||
| + | sudo apt-get install nemo-image-converter | ||
| + | </ | ||
| + | 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: | ||
| < | < | ||
| chmod 755 .local/ | chmod 755 .local/ | ||
| + | </ | ||
| + | |||
| + | === Copy Full Path to clipboard === | ||
| + | |||
| + | <code - ~/ | ||
| + | [Nemo Action] | ||
| + | Name=Copy Full Filepath | ||
| + | Comment=Full Path: %F | ||
| + | Exec=sh -c " | ||
| + | Icon-Name=gtk-copy | ||
| + | Selection=notnone | ||
| + | Extensions=dir; | ||
| + | Separator=, | ||
| + | Dependencies=readlink; | ||
| </ | </ | ||
| Line 177: | Line 200: | ||
| Restore session on Cinnamon start: | Restore session on Cinnamon start: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Desktop Entry] | [Desktop Entry] | ||
| Version=1.0 | Version=1.0 | ||
| Line 198: | Line 221: | ||
| Attach file to email Thunderbird: | Attach file to email Thunderbird: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Nemo Action] | [Nemo Action] | ||
| Name=_Attach to email | Name=_Attach to email | ||
| Comment=Attach %F to email in Thunderbird | Comment=Attach %F to email in Thunderbird | ||
| - | Exec=thunderbird -compose to=,"attachment='%F'" | + | Exec=thunderbird -compose to=, |
| Icon-Name=mail-attachment-symbolic | Icon-Name=mail-attachment-symbolic | ||
| Selection=notnone | Selection=notnone | ||
| Line 213: | Line 236: | ||
| Attach file to email general: | Attach file to email general: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Nemo Action] | [Nemo Action] | ||
| Name=_Attach to email | Name=_Attach to email | ||
| Line 227: | Line 250: | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| #!/bin/bash | #!/bin/bash | ||
| COMMAND=" | COMMAND=" | ||
| Line 240: | Line 263: | ||
| Edit with xed as superuser: | Edit with xed as superuser: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Nemo Action] | [Nemo Action] | ||
| Line 261: | Line 284: | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| #!/bin/bash | #!/bin/bash | ||
| FILEOWNER=$(stat -c %U " | FILEOWNER=$(stat -c %U " | ||
| Line 275: | Line 298: | ||
| sudo apt-get install zenity | sudo apt-get install zenity | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| #!/bin/bash | #!/bin/bash | ||
| zenity --password --title=" | zenity --password --title=" | ||
| Line 283: | Line 306: | ||
| Edit with vi as superuser: | Edit with vi as superuser: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Nemo Action] | [Nemo Action] | ||
| Line 304: | Line 327: | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| #!/bin/bash | #!/bin/bash | ||
| FILEOWNER=$(stat -c %U " | FILEOWNER=$(stat -c %U " | ||
| Line 318: | Line 341: | ||
| Show dpkg package of file or folder: | Show dpkg package of file or folder: | ||
| < | < | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| [Nemo Action] | [Nemo Action] | ||
| Name=Show _Parent Package | Name=Show _Parent Package | ||
| Line 333: | Line 356: | ||
| sudo apt-get install zenity | sudo apt-get install zenity | ||
| - | cat > ~/ | + | /usr/bin/cat > ~/ |
| #!/bin/dash | #!/bin/dash | ||
| OUTPUT=$(dpkg -S " | OUTPUT=$(dpkg -S " | ||
| Line 343: | Line 366: | ||
| EOD | EOD | ||
| </ | </ | ||
| + | |||
| + | Various Nautilus scripts can be found here: | ||
| + | https:// | ||
| + | |||
| + | ==== Action Submenus ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | GUI change through Nemo -> Edit -> Preferences -> Plugins -> Edit Layout: | ||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | Example of submenu for action scripts: | ||
| + | |||
| + | <code - ~/ | ||
| + | , | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | </ | ||
| + | |||
| + | ==== Python Extensions ==== | ||
| + | |||
| + | Open TortoiseHG here context menu: | ||
| + | < | ||
| + | sudo apt-get install nemo-python | ||
| + | mkdir -p ~/ | ||
| + | wget https:// | ||
| + | mv tortoisehg-here.py ~/ | ||
| + | </ | ||
| + | |||
config/nemo-performance.1680218033.txt.gz · Last modified: (external edit)