Announcement

Collapse
No announcement yet.

KDE menu editor not [fully] working.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KDE menu editor not [fully] working.

    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.
    <br />Have YOU signed the Ubuntu code of Conduct? I did it at 10 AUG, 2009!

    #2
    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>
    ...
    The .desktop file is not removed only action is a marking under the ".hidden"


    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
    Example (username=rog):

    Konsole:
    Code:
    sudo chown -Rv rog.rog ~/.local/share/applications
    output:
    ...
    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

    Comment


      #3
      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

      Comment


        #4
        Re: KDE menu editor not [fully] working.

        Originally posted by petersk
        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?
        Rog posted that above:
        Code:
         ~/.local/share/application
        I am not sure if that will fix your problem or not.

        Mike
        http://monte48lowes.blogspot.com

        Comment


          #5
          Re: KDE menu editor not [fully] working.

          1) Why's kde menu editor not working
          Hard to say - as here it is working . Maybe if you start the menu editor with the command (konsole):
          Code:
          kmenuedit
          there will be an error message - is there ?

          :~$ 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?
          As said:
          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.
          Tested - working at here

          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>
          and under the
          Code:
           <Include>
          That is: If it is a net application


          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

          Comment

          Working...
          X