questions regarding Launch script.

General support questions
Post Reply
Posts: 4
Joined: 2017/11/09 18:55:09

questions regarding Launch script.

Post by johnpraxel » 2019/05/16 20:41:11

I have created a script that is a menu that allows me to do function, IE generate reports, ssh, pull specific data from clients on the network. It works well I can run specific commands as from root such powerdown and ssh into all clients etc.

I created a launcher that allows me to start the menu, but I run into problems when running programs it will prompt for the root password. All permission are correct as it work from running the script from the command line and all options worked prior.

Here is the launcher:

[Desktop Entry]
Comment=start the menu program perform maintenance.

If someone could point me in the right direction it would be most helpful as I am a newbie on this.



Posts: 2711
Joined: 2014/09/20 11:22:14

Re: questions regarding Launch script.

Post by aks » 2019/05/17 16:08:14

You don't need the shell header in a .desktop launch file. Gnome complies with XDG: ... atest.html (although which version of XDG and which version og Gnome may come into play).

Post Reply