I'm trying to add a command to my applications menu:
But when I select it from the applications menu, it doesn't do anything.
When I run that same command from the shell, however, it runs fine. Why?
(Also, why does pycharm need sudo priviledges?)
I'm trying to add a command to my applications menu:
But when I select it from the applications menu, it doesn't do anything.
When I run that same command from the shell, however, it runs fine. Why?
(Also, why does pycharm need sudo priviledges?)
You should always use gksudo when you run graphical applications. Not only does it provide you with a prompt so you can enter your password, but it also uses some variables that are important.
I have no idea why or if PyCharm requires root privileges. It's easier to provide a good answer if you provide more details.