rexo
Member
Posts: 22
Likes: 5
|
Post by rexo on Apr 15, 2024 22:51:53 GMT
Well I blew up my new Bodhi system trying to solve a problem. I reinstalled Standard and got it running except thinkorswim didn't create a desktop icon. I also created a virtualmachine guest with Bodhi Standard. Both natave and virtual machine act the same way as outlined below.
I found that create desktop icons in Modules had to be enabled. I manually got an icon running on my desktop but it needs to be run as sudo. To sudoers I added added glb ALL = NOPASSWD: /opt/thinkorswim/thinkorswim but it doesn't work.
So the question is how do I give root access to a user, my self, for that icon.
Thanks.
|
|
enigma9o7
Crew Member
Posts: 1,437
Likes: 1,338
|
Post by enigma9o7 on May 5, 2024 4:48:58 GMT
As you noted, desktop icons are disabled by default, but you can enable that module if that's something you want, and then put desktop files in the Desktop folder and they will appear on your desktop What is thinkorswim and why does it need to be run as root? I feel like you're likely doing something "wrong" if you think that's needed anyway. But that being said, if a GUI app needs root (stuff like synaptic, gparted, etc) the easiest way I've found is with pkexec, which uses policykit. It should give you a GUI prompt for your password, and functions similar to sudo but meant for GUI applications. Just prepend it before the app name on the Exec= line of your desktop file, i.e. "Exec=pkexec /opt/thinkorswim/thinkorswim". It has nothing to do with icons tho.
|
|