It is currently Wed May 24, 2017 12:24 am



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!


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Default menu syntax
PostPosted: Sat Apr 12, 2008 5:47 am 
Offline

Joined: Thu Sep 13, 2007 1:27 am
Posts: 216
Location: L.A. in USA
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??


Top
 Profile  
 
 Post subject: Solved! (sort of...)
PostPosted: Sat Apr 12, 2008 10:13 am 
Offline

Joined: Thu Sep 13, 2007 1:27 am
Posts: 216
Location: L.A. in USA
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. ????


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred