Customizable multi-action menu [ITA/ENG] Original

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

0
Score 65.7%
Description:

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.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 month ago

8 8 great Though I would like to be able to get which file I right clicked on in the bash script, not just the location, because I want to create my own "upload file to X".

Report

C

skeleton21

1 month ago

"$1" contains the current location + the file you clicked

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

C

skeleton21

1 month ago

Remember to use double quotation marks or you may have problems with files that have space in the name

for example :

write
upload "$1" to X

and not
upload $1 to X

Report

vladimir123

2 months ago

10 10 the best

Report

C

skeleton21

2 months ago

thanks

Report

BergoglioCristiano

2 months ago

8 8 great

Report

C

skeleton21

2 months ago

Ti ringrazio , se hai qualche consiglio oppure se c'è qualcosa da poter migliorare non esitare a farmelo sapere ;) .

Report

12345678910
21
product-maker akitake Jul 06 2019 8 great
8 great Though I would like to be able to get which file I right clicked on in the bash script, not just the location, because I want to create my own "upload file to X".
product-maker vladimir123 Jun 05 2019 10 the best
10 the best
product-maker BergoglioCristiano Jun 02 2019 8 great
8 great
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv2 or later
version
1.1
updated Jun 01 2019
added May 30 2019
downloads 24h
3
page views 24h 9
System Tags addon gplv2-later