LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open as Administrator for a panel launcher/icon
#1
I have a desktop icon/launcher that I've created.  It runs the way I need it to, but I have to right click and choose Open as Administrator.  I prefer a clean desktop, so I'd like to move this icon to the panel instead.

I have done that, but now I don't know how to choose "Open as Administrator" on an quick launch icon that is the panel. 

Is there a workaround for this?
Want to thank me?  Click my [Thank] link.
Reply
#2
gparted-pkexec works for me for my gparted launcher in taskbar. It prompts for a password when hit.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Reply
#3
This command works when I put it in a terminal:
Code:
sudo openvpn --config /home/torrey/Downloads/client.ovpn

As a panel launcher, nothing pops up.  Here's how the panel launcher is currently setup:
[Image: prMLtHh.png]


This is how the desktop launcher is set up.  When I right click on it and select Open as Administrator, it works.  But remember, I'm trying to remove this desktop launcher and would prefer to use a panel launcher instead.
[Image: Cv6GvfQ.png]
Want to thank me?  Click my [Thank] link.
Reply
#4
Hi torreydale,

Try the Launcher like this:

Command:
Code:
lxterminal -e "sudo openvpn --config /home/torrey/Downloads/client.ovpn"

Options: "Run in terminal" DEACTIVATED!
(bug: https://bbs.archlinux.org/viewtopic.php?...8#p1509108)

Hope that helps! Smile
Reply
#5
It did help.  Thanks.  I learned something.
Want to thank me?  Click my [Thank] link.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)