I’m trying to create an launcher for my Phpstorm software. So in the launcher, I’ve this line : "/home/user/Downloads/PhpStorm-212.4746.100/bin/phpstorm.sh" %f
It works but I need to launch Phpstorm with root. How may I modify this line for use the root privileges ?
You better find the permission issues you have and adjust, rather than giving an IDE full access to the system (for example, give your user proper rights to write the files you want to edit, adding your user to proper group, or things like that).
I grasp that you use a local server, what configuration do you use? Wouldn’t this configuration do the job?
Alternatively, a way i think about avoiding requiring superuser privileges would be to simply set your user as the owner of the server’s deployment folder. Or through a symbolic link to that folder.
Also, just ticking that you’re using a user install PhpStorm. Have you tried using the package in AUR instead?