Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

create shortcut for script in kde [solved]

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
peer
Posts: 441
Joined: 2017-03-26 10:14
Has thanked: 7 times
Been thanked: 19 times

create shortcut for script in kde [solved]

#1 Post by peer »

I am trying to create a shorcut in kde for the following script: "/home/peer/Scripts/Huion/changeprofile.sh".
It is running ok in the terminal

I created a laucher in the menu and I can run the script from there also.

I tried to create a shortcut (Ctrl-Shift-F12) in the launcher but the shortcut does not do anything.
In the launcher I tried several commands:

Code: Select all

/home/peer/Scripts/Huion/changeprofile.sh
sh /home/peer/Scripts/Huion/changeprofile.sh
/usr/bin//home/peer/Scripts/Huion/changeprofile.sh
When I add a shortcut to a program in the menu it just works. When I try to add a shortcut to a script or a java program it does not work. So I think I am missing something.

edit:
I tried it another way. In settings-workspace-shortcuts I added a custom shortcut and from there it just works.
customm -> new -> global shortcut -> URL/Command...

Post Reply