Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Default menu syntax

Post questions, comments about antiX-Mepis6.5 "Spartacus"

Default menu syntax

Postby malanrich on Sat Apr 12, 2008 5:47 am

By playing with and learning about various window managers, I managed to booger up my default menu. When I run any app requiring root (like synaptic) I get this error message instead of the terminal:

"Failed to run synaptic"

"The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator."

This isn't a huge problem, since I can simply open a terminal myself and sux my way into synaptic. But I'd like to get the menu back the way it was. Right now here's the current syntax for synaptic:

"[exec] (Synaptic) {su-to-root -X -c synaptic}"

Thanks for any help on this.

Edit: Aw nuts. It looks like I may have messed up my locale settings. I recall now doing some "purging." And there have been some posts on a bug in the various en_US options.

Anyone know whether I'm on the right track on this??
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA

Solved! (sort of...)

Postby malanrich on Sat Apr 12, 2008 10:13 am

Forget what I said above about locale settings.

I dug around online and located the syntax for the synaptic entry in the original fluxbox menu file. It looks like this:

[exec] (Synaptic) {aterm -tr +sb -fg white -T "Synaptic" -e su -c synaptic}

Cf. with the one I quote above:

[exec] (Synaptic) {su-to-root -X -c synaptic}

The restored original opens synaptic (and other root-terminal-based apps) perfectly.

So the problem is fixed, but I have no idea how all the menu entries got rewritten. I was fiddling with lots of menu configuration in different window managers, and I read somewhere that a core Debian menu can "repopulate" somehow with all recently installed apps. How I managed to do this, I have no clue. ????
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA


Return to antiX-Mepis6.5 Spartacus

Who is online

Users browsing this forum: No registered users and 0 guests