Ubuntu: PyCharm on Launcher running as Sudo



Question:

So I can run PyCharm fine from terminal as Sudo, I have followed the guide to get it running off the launcher but it is not running as Sudo. Any idea?

Ubuntu 16.04


Solution:1

So I found my jetbrains-pycharm-ce.desktop and used gksudo

[Desktop Entry]  Version=1.0  Type=Application  Name=PyCharm Community Edition  Icon=/usr/lib/pycharm-community/bin/pycharm.png  Exec= gksudo -k -u root "/usr/lib/pycharm-community/bin/pycharm.sh" %f  Comment=The Drive to Develop  Categories=Development;IDE;  Terminal=false  StartupWMClass=jetbrains-pycharm-ce  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »