I use synaptic to install, remove and update software. Best solution for me. I can run synaptic from terminal, but when I add it to my favorites, clicking on it does nothing. Is there some way to make this work? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
EDIT: A system wide fix is explained in the next comment down. The process explained here can serve as an alternate method on a per app basis. The system wide fix will be applied to the 19.04.1.4 release.
Here is a quick-fix. This will work for any GUI application that needs sudo permissions and can be launched from terminal.
Open file explorer as root (right click -> file exp as root). Navigate to /usr/share/applications.
Find the file synaptic.desktop (or respective .desktop file for another application). Right click on the file and select edit. Under the line 'exec' change the string from synaptic-pkexec to
lxterminal -e 'sudo synaptic'
This will open a terminal window with a password prompt when you click on the shortcut.
If you don't want to be prompted for a password you can edit the sudoers file: Right click -> edit system -> sudo permissions. Copy one of the "NOPASSWD" lines and change the command to the command path for synaptic.
There is currently some sort of problem in bluebuntu with the policykit and pkexec for GTK applications that need sudo permissions. I'm working on fixing this in a future release, and I'll make a guide so users of previous and current versions can make the fix to their systems.
Last edit: Louis Rosenblum 2019-07-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Many thanks! I do hope this gets fixed in the future. Thanks again.
On 7/8/19 6:45 AM, Louis Rosenblum wrote:
Here is a quick-fix. This will work for any GUI application that needs
sudo permissions and can be launched from terminal.
Open file explorer as root (right click -> file exp as root). Navigate
to /usr/share/applications.
Find the file synaptic.desktop (or respective .desktop file for
another application). Right click on the file and select edit. Under
the line 'exec' change the string from synaptic-pkexec to
lxterminal -e 'sudo synaptic'
This will open a terminal window with a password prompt when you click
on the shortcut. If you don't want to be prompted for a password you
can edit the sudoers file.
Right click -> edit system -> sudo permissions. Copy one of the
"NOPASSWD" lines and change the command to the command path for synaptic.
There is currently some sort of problem in bluebuntu with the
policykit and pkexec for GTK applications that need sudo permissions.
I'm working on fixing this in a future release, and I'll make a guide
so users of previous and current versions can make the fix to their
systems.
I use synaptic to install, remove and update software. Best solution for me. I can run synaptic from terminal, but when I add it to my favorites, clicking on it does nothing. Is there some way to make this work? Thanks.
EDIT: A system wide fix is explained in the next comment down. The process explained here can serve as an alternate method on a per app basis. The system wide fix will be applied to the 19.04.1.4 release.
Here is a quick-fix. This will work for any GUI application that needs sudo permissions and can be launched from terminal.
Open file explorer as root (right click -> file exp as root). Navigate to /usr/share/applications.
Find the file synaptic.desktop (or respective .desktop file for another application). Right click on the file and select edit. Under the line 'exec' change the string from synaptic-pkexec to
lxterminal -e 'sudo synaptic'
This will open a terminal window with a password prompt when you click on the shortcut.
If you don't want to be prompted for a password you can edit the sudoers file: Right click -> edit system -> sudo permissions. Copy one of the "NOPASSWD" lines and change the command to the command path for synaptic.
There is currently some sort of problem in bluebuntu with the policykit and pkexec for GTK applications that need sudo permissions. I'm working on fixing this in a future release, and I'll make a guide so users of previous and current versions can make the fix to their systems.
Last edit: Louis Rosenblum 2019-07-08
Many thanks! I do hope this gets fixed in the future. Thanks again.
On 7/8/19 6:45 AM, Louis Rosenblum wrote:
EDIT: This patch has been applied and is now live in version 19.04.1.4
So I figured out the problem and I'm going to have it fixed it version 19.04.1.4.
Here is what you can do to fix this for all applications if you are on a previous version.
Last edit: Louis Rosenblum 2019-07-09
Thanks again!
On 7/8/19 9:51 AM, Louis Rosenblum wrote: