You are not logged in.
How can I open a program, such as synaptic and gparted, in dmenu while granting administrative privileges?
Offline
You can do it like this:
gksudo synapticOffline
What I meant was, how do I run it from dmenu (which you call when your press Alt+F3)?
Last edited by tadatma (2012-11-04 12:32:58)
Offline
Bind "sudo ~/.config/dmenu/dmenu-bind.sh" in your rc.xml on any keys you like.
Alternatively you could config gmrun for this.
See: https://wiki.archlinux.org/index.php/Gm … figuration
Last edited by tao te (2012-11-04 13:01:29)
T420s - i5-2520M, 4+4 GB Ram, 64 GB mSATA SSD, #! Linux
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.