Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7971  / 2 Years ago, fri, may 20, 2022, 6:47:12

how can I add "root" privileges in LxPanel launcher (in Lubuntu)? I would like have launcher for Synaptic, but Synaptic need root privileges.



Have anyone any idea how it do it?


More From » launcher

 Answers
6

enter image description here



You can achieve this without needing to install any extra packages.




  1. Add your application (synaptic) to the panel

  2. Open a lxterminal and navigate to ~/.config/lxpanel/Lubuntu/panels

  3. type the following to open the file leafpad panel

  4. find the line id=/usr/share/applications/synaptic.desktop

  5. change this line to id=synaptic.desktop

  6. save and exit leafpad

  7. create a local applications menu folder mkdir -p ~/.local/share/applications

  8. copy the master synaptic.desktop file: cp /usr/share/applications/synaptic.desktop ~/.local/share/applications

  9. edit the newly copied file: leafpad ~/.local/share/applications/synaptic.desktop

  10. find the line Exec=synaptic-pkexec

  11. change this to Exec=gksudo synaptic-pkexec

  12. save, exit leafpad, logout and login.


[#41559] Saturday, May 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
vigorousom

Total Points: 394
Total Questions: 96
Total Answers: 110

Location: Pitcairn Islands
Member since Fri, Oct 15, 2021
3 Years ago
;