I can't add anything. I can remove/edit stuff just fine, but adding does not work. Kubuntu 9.04, KDE 4.2, using the Kickoff menu version.
Announcement
Collapse
No announcement yet.
KDE menu editor not [fully] working.
Collapse
This topic is closed.
X
X
-
Re: KDE menu editor not [fully] working.
Background
The Menu editor is a .desktop file editor/maker > Topic: GtoK: .desktop files
When you add a menu item, the Menu editor will make a desktop file to the ~/.local/share/applications/. The Menu editor also adds a marking to the ~/.config/menus/applications-kmenuedit.menu.
When you delete a menu item the Menu editor will make a marking to the ~/.config/menus/applications-kmenuedit.menu. The marking is made under the:
Code:... <Menu> <Name>.hidden</Name> ...
Something to check
It could be something like this (or something else).
1) You have rights to write to the ~/.local/share/applications/
> FAQ: Root Password
and there "Resetting owner"
Code:sudo chown -Rv <insert-username>.<insert-groupname> /path/to/the/directory
Konsole:
Code:sudo chown -Rv rog.rog ~/.local/share/applications
...
ownership of `/home/rog/.local/share/applications/firefox3.desktop' retained as rog:rog
...
ownership of `/home/rog/.local/share/applications' retained as rog:rog
2) You are not trying to add a menu item that is under the ".hidden"
You could edit the applications-kmenuedit.menu with a text editor (it is a xml file).Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
-
Re: KDE menu editor not [fully] working.
I cannot save any changes to my menu either. I am also running KDE 4 with Kubuntu Jaunty 9.04.
I've already chown <myname>.<myname> -R /home/<myname>
to make sure I have ownership.
I ended up having to create an item (in this case Thunderbird) this way:
/usr/share/applications$ sudo cp firefox.desktop thunderbird.desktop
/usr/share/applications$ sudo vi thunderbird.desktop
1) Why's kde menu editor not working
2) If I wanted just a LOCAL (ie, only my account) change to the menu, where would I add a <program>.desktop file instead of /usr/share/applications? Is there a local menu?
Kurt
- Top
- Bottom
Comment
-
Re: KDE menu editor not [fully] working.
Originally posted by petersk2) If I wanted just a LOCAL (ie, only my account) change to the menu, where would I add a <program>.desktop file instead of /usr/share/applications? Is there a local menu?
Code:~/.local/share/application
Mike
- Top
- Bottom
Comment
-
Re: KDE menu editor not [fully] working.
1) Why's kde menu editor not working
Code:kmenuedit
:~$ kmenuedit --help
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
Arguments:
menu Sub menu to pre-select
menu-id Menu entry to pre-select
2) If I wanted just a LOCAL (ie, only my account) change to the menu, where would I add a <program>.desktop file instead of /usr/share/applications? Is there a local menu?When you add a menu item, the Menu editor will make a desktop file to the ~/.local/share/applications/. The Menu editor also adds a marking to the ~/.config/menus/applications-kmenuedit.menu.
1) Make a desktop file to the ~/.local/share/applications/
Code:[Desktop Entry] Comment= Exec=Name_Here Icon=/usr/share/icons/default.kde4/128x128/emotes/face-wink.png Name=Name_Here NoDisplay=false StartupNotify=true Terminal=0 TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username=
2) Edit the ~/.config/menus/applications-kmenuedit.menu
Add there: <Filename>Name_Here.desktop</Filename>
Under the:
Code:<Name>Internet</Name> <Layout>
Code:<Include>
After this:
Code:<Menu> <Name>Internet</Name> <Layout> <Merge type="files" /> ...clip... <Filename>Name_Here.desktop</Filename> ...clip... <Merge type="menus" /> <Separator/> <Menuname>More</Menuname> </Layout> <Include> <Filename>Name_Here.desktop</Filename> </Include> </Menu>
Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
Comment