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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-21-2009, 10:07 PM
|
#1
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Rep:
|
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.
|
|
|
06-22-2009, 03:19 PM
|
#2
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,694
|
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
|
|
|
06-22-2009, 09:52 PM
|
#3
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Original Poster
Rep:
|
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?
|
|
|
06-22-2009, 10:02 PM
|
#4
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,694
|
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
|
|
|
All times are GMT -5. The time now is 07:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|