
Dolphin Service Menus action add-on custom menu plugin
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
this add-on allows you to quickly and easily insert a new custom action to the dolphin menu. requires a minimum knowledge of bash.
what can it do? all you can do with bash.
please let me know if there are any bugs or if there is something that can be improved.
for debugging is sufficient to open dolphin through the terminal and then press on the custom action, if there are problems, they will be visible in the terminal output.
DO NOT INSTALL THROUGH DOLPHIN, DOWNLOAD THE ARCHIVE AND EXECUTE THE SCRIPT "INSTALL.sh"
THIS ADD-ON REQUIRES KDIALOG
### UPDATE 1.2
fix: the Mime-Type was deleted if the text input box was left empty in the edit mime-type menu
fix:solved some minor problems related to the creation of a new action with a name containing spaces before and after the last and the first character
###UPDATE 1.1
Redesigned "Manage Action" menu
Added the ability to change "Mime-Type,Icon,Name,Sub-menu ON/OFF , Sub-Menu Name , Show inside dolphin Action menu ON/OFF, " step by step via graphical interface
UPDATE 0.75
changed kdialog --combobox to kdialog --menu in the management menu
added the option to edit the .desktop file (mime-type,icon,name,submenu,etc)
akitake
1 year ago
Report
skeleton21
1 year ago
for example: if you click on a file called "document.txt" in your home directory
"$1" is equal to: "/home/username/document.txt"
you can also get only the file name using basename
Name=$(basename "$1" )
in this case $Name is = "document.txt"
practical example:
you can use
###
#!/bin/bash
libreoffice --headless --convert-to pdf "$1"
###
to convert the clicked file from odt to pdf
you can download my example script from the files section for some basic stuff.
if you have any suggestions to improve my service menu, let me know and thanks for voting.
Report
skeleton21
1 year ago
for example :
write
upload "$1" to X
and not
upload $1 to X
Report
vladimir123
1 year ago
Report
skeleton21
1 year ago
Report
BergoglioCristiano
1 year ago
Report
skeleton21
1 year ago
Report