LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2009, 10:07 PM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Edit system wide kmenu as system administrator.


Three questions...

1. Is it possible to edit the kmenu via command line?

2. How do you add/remove kmenu entries for all users all at once as system administrator?

3. How can you add/remove entries for a specific user as system administrator?

As administrator, I don't want to log in as other users to edit their kmenu.

Thanks

Last edited by okos; 06-21-2009 at 10:09 PM.
 
Old 06-22-2009, 03:19 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
hi, If you login as root you will be changing the system menu.

I'm not sure that it would control the users menu,

but you can have a list-file for it to read from.

I have not required this, experiment for your self.

kmenuedit --help(-qt or -kde)

cheers, Glenn
 
Old 06-22-2009, 09:52 PM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Thanks Glenn for the response.

If I understand you correctly, a list-file has a list to which is added the kmenu when x is started. I googled, searched both kde help, and kmenuedit --help(-qt or -kde) but could not find anything about "list-file".

Could you give me a little more detail?
 
Old 06-22-2009, 10:02 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Code:
glenn@GamesBox:~$ kmenuedit --help-kde                                      (23-06 12:54)
Usage: kmenuedit [Qt-options] [KDE-options] [menu] [menu-id]

KDE menu editor

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

KDE options:
  --caption <caption>       Use 'caption' as name in the titlebar
  --icon <icon>             Use 'icon' as the application icon
  --config <filename>       Use alternative configuration file
  --nocrashhandler          Disable crash handler, to get core dumps
  --waitforwm               Waits for a WM_NET compatible windowmanager
  --style <style>           sets the application GUI style
  --geometry <geometry>     sets the client geometry of the main widget - see man X for the argument format
  --nofork                  Do not run in the background.
That's all I was referring to.

In the gui of the same program you can edit it and save it "as root" and it affects all users, as far as I remember.

regards Glenn
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"The system has no more ptys. Ask your system administrator to create more." czeslafff Linux From Scratch 13 03-27-2020 11:18 PM
Hi, I am the System Administrator cdestiny LinuxQuestions.org Member Intro 1 06-12-2007 03:52 AM
System Administrator Raakh Linux - Newbie 1 06-02-2007 08:04 AM
Where do I edit the system wide command prompt? Brakki Linux - General 1 04-13-2004 12:02 AM
edit Gnome menu system-wide sfonvill Red Hat 3 09-27-2003 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration