hello.
I use many script like this one :
#!/bin/bash
#
########################
#
# /usr/local/bin/some_script
#
########################
#
# COMMENT
#
########################
#
kate --startanon file1 file2 ....
Some of file1 file2 …, need to be open under root account like /var/log/messages
So I used to open a terminal in super user mode, type root password, and start my script.
I have added a sub-menu using the “KDE MENU EDITOR” and added an item for my script. In the command argument I have tried unsuccessfully :
1°) xdg-su -c /usr/local/bin/some_script
2°) kdesu /usr/local/bin/some_script
3°) $(kde4-config --path libexec)kdesu /usr/local/bin/some_script
Any help is welcome
As soon as this will be fixed, I shall add some items under the root account.
How to inherit this modification in the Kickoff Apps menu for all the users without to re-edit the system menu for all users.
Any help is welcome