LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-11-2005, 02:15 AM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
backing up kmenu config file


Hey guys, i want to customize my KDE menu, but i want to make sure i have a backup before i save (incase i want to know what past programs i had on by default)
does anyone know what file this is?

Thanks
 
Old 09-11-2005, 02:34 AM   #2
Mr. Swillis
Member
 
Registered: Sep 2005
Location: The PNW
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95

Rep: Reputation: 17
Sure thing. Your K menu icon should be /usr/share/icons/{icon set you are using}/{size}/apps/kmenu.png.

The kmenu icon exists for each icon theme set and each size (ie. the size you have the taskbar set at). You will need to know which icon set you ar using (unless you want to modify them all) and will want to change each size within that icon set (unless you never change the size, then you could only do it to the size you are using).

The easiest way is to just use the file browser (konquerer) and navigate to /usr/share/icons and then find your icon set, go into that directory, then pic the size, then find kmenu.png and rename it to kmenu.png.bak. Then copy the new icon to that directory and name it kmenu.png. Then you should only have to change the size back and forth on the taskbar to get it to take effect.

If you have any issues finding the kmenu.png file, then open a terminal, become root, then type 'updatedb', wait minute for it do its thing, then type 'locate kmenu.png | more'. That should show you all the directories that the icon exists.

Hope this helps!
 
Old 09-11-2005, 03:12 AM   #3
Mr. Swillis
Member
 
Registered: Sep 2005
Location: The PNW
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95

Rep: Reputation: 17
D'oh! Right answer to the wrong question...sorry about that.

I believe the file yo uare looking for is one of these:

willk@penguin1:~$ locate .menu
/etc/mc/mc.menu
/etc/xdg/menus/applications.menu
/etc/xdg/menus/applications-merged/exclude.menu
/etc/xdg/menus/applications-merged/kde-essential.menu
/etc/xdg/menus/applications-merged/openoffice.menu
/etc/xdg/menus/debian-menu.menu
/etc/xdg/menus/kde-information.menu
/etc/xdg/menus/kde-screensavers.menu
/etc/xdg/menus/kde-settings.menu
/usr/share/doc/menu/examples/exclude.menu
/usr/share/mc/cedit.menu
/usr/share/mc/mc.menu
/usr/share/mc/mc.menu.sr
/var/lib/menu-xdg/menus/debian-menu.menu
willk@penguin1:~$


I checked one of these and it seemed to have the layout of my menu. I could be wrong, but check here: http://people.fruitsalad.org/phil/kd.../kde-menu.html

There are some cool details about how the whole menu system works and may help with your question.
 
Old 09-11-2005, 11:54 AM   #4
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
cool, thanks
 
  


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
File Server vs. Backing up date fredmt Linux - General 7 11-02-2005 08:11 AM
Backing up kMail emails+config files ? OneManArmy Linux - Newbie 1 03-31-2005 09:26 AM
Missing SYSTEM|More progs|File manager in Kmenu doobers Mandriva 1 07-29-2004 05:30 PM
Kmenu config file rejser Linux - Software 0 04-26-2004 04:36 AM
backing up linux with a batch file... RaVensRealm Linux - Newbie 6 04-16-2003 08:59 PM

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

All times are GMT -5. The time now is 02:57 PM.

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