antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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 new topic   Reply to topic    antiX-forum Forum Index -> antiX-Mepis6.5
View previous topic :: View next topic  
Author Message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Sat Apr 12, 2008 6:47 am    Post subject: Default menu syntax Reply with quote

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??
Back to top
View user's profile Send private message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Sat Apr 12, 2008 11:13 am    Post subject: Solved! (sort of...) Reply with quote

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. ????
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-Mepis6.5 All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org