Topic: [solved] OpenBox Menu items with root privilege

hi there,

my first own forum thread.  I've been using crunchbang for 2 days now (i've been using plain ubuntu for the last 3). First of all, I really like the distro.  Nice lean, not overloaded but still all the great hardware recognition.

I especially love the nicely preconfigured openbox manager, which is a blessing for me as even after three years of linux I'm not too thrilled about editing files and tweaking every last bit!

now my question:

1) when trying to edit the menu, i tried to create an item for pysdm, which requires root privileges.  when i entered "sudo pysdm" in the execute bit and tried to run it, it just would start.
    How do i work around that or is it simply not possible to add sudo commands to the menu?

thanks for the help in advance.

cheers

Last edited by dr. cox (2009-02-03 15:46:00)

Re: [solved] OpenBox Menu items with root privilege

Looking through the GUI Menu Editor for other instance of root privileges, it looks like they are all using

gksudo XXXXXXX

to start a GUI app with root privileges.

I would try that an see what happens.

Michael

The 1-Man IT Department | Ubuntu User #16666 | Linux User #451972
My Social Nets: Identi.ca | twitter | friendfeed
Crunchbangin' and Loving Every Minute of IT!

Re: [solved] OpenBox Menu items with root privilege

gksudo xxxx


works! thanks for that.  am prompted to enter sudo password. that's it.

how can we mark this solved?

Re: [solved] OpenBox Menu items with root privilege

Just edit your ORIGINAL post title to say [SOLVED] at the beginning of the title.

Glad that I could help!

Michael

The 1-Man IT Department | Ubuntu User #16666 | Linux User #451972
My Social Nets: Identi.ca | twitter | friendfeed
Crunchbangin' and Loving Every Minute of IT!