Announcement

Collapse
No announcement yet.

Cannot edit Kmenu

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

    Cannot edit Kmenu

    I'm unable to get changes to stick to the Kmenu. It seems to work; I add an item and then save the configuration. But then the items are a no show on the menu.

    Using the Preview of Kubuntu 5.10.

    #2
    Cannot edit Kmenu

    Has this always been a problem, or is it something that just happened? Does it happen if you add a new user and use that user to edit the KMenu?
    Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

    Comment


      #3
      Cannot edit Kmenu

      I've never tried adding an item before. But I have successfully changed an existing menu component.

      I'll try adding a new user, though I find that to be a terrible workaround. I have no need for more than one user on this computer.

      Comment


        #4
        Cannot edit Kmenu

        Originally posted by randcoop
        I've never tried adding an item before. But I have successfully changed an existing menu component.

        I'll try adding a new user, though I find that to be a terrible workaround. I have no need for more than one user on this computer.
        No, adding a new user isn't a workaround--it's a test, as in an experiment. After all, new users don't share the same KMenu.

        If the new user can add items and have them stick, there's something wrong with your account. If both users can't make them stick, there's something wrong with the installation.
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: Cannot edit Kmenu

          You could try this, last message of the thread http://www.ubuntuforums.org/showthre...ight=KMENUEDIT

          I did that and all icons from k-menu disappeared. Then i remembered that someone suggested to reinstall all kdelibs packages. That brought back missing entries and even editing works fine.


          Comment


            #6
            Re: Cannot edit Kmenu

            The following worked for me:

            sudo chown -R <user>:<user> ~/.config
            chmod a+x ~/.config/menus

            Seems a default install (I went Ububtu HH->Kubuntu HH->Kubuntu BB if that helps track this down) gives ownership of the users' .config to root:root and makes the menus folder unreadable...

            Comment


              #7
              Re: Cannot edit Kmenu

              None of these things work. I'm now convinced that there is, in fact, a problem with the user setup. I've changed all permissions and ownerships and re-installed and upgraded kmenuedit and kdelibs etc. etc.

              Interesting sidebar is that when I install software, sometimes it gets added to the Kmenu and sometimes it doesn't. Not sure why that happens.

              I'll continue to work on it, but until I can change to another computer, I'm not willing to do a re-install on this one.

              Comment


                #8
                Re: Cannot edit Kmenu

                I added a new user to test the theory that the problem was user specific. It is.

                I can edit Kmenu when logged in as another user.

                My problem now is what to do about it. Not having the user work (I also can't change the time zone, for example) is a major problem. But I don't want to really change my user name (and have to effectively copy everything from the existing user name to the new one).

                Can anyone tell me how to re-create the user name without changing the /home/username things that are not relevant to KDE?

                Comment


                  #9
                  Re: Cannot edit Kmenu

                  I have the same problem. When I launch kmenuedit and save a change in the KMenu I have this written

                  X Error: BadWindow (invalid Window parameter) 3
                  Major opcode: 20
                  Minor opcode: 0
                  Resource id: 0x3200505

                  even if it seem he let me save the changes, the changes don't stick.

                  Using KUBUNTU 5.10

                  Comment


                    #10
                    Re: Cannot edit Kmenu

                    The problems seen in being unable to edit kmenu are actually fairly extensive. I cannot, for example, set the timezone for the clock. So all of my emails are time stamped incorrectly.

                    There appear to be a host of permission/ownership problems, including /var/tmp/kdecache-username and /tmp/ksocket-username. There is also a problem with the kbuildsycoca program.

                    As I said, it all seems user specific. But I'm still trying to find out if there's a way to re-create the user without losing all of the files (documents, firefox settings, crossover applications, etc.) that are specific to a user. I really just want to re-install the kde stuff that's related to users.

                    Can anyone help?

                    Comment


                      #11
                      Re: Cannot edit Kmenu

                      will this help you?



                      http://kubuntuforums.net/index.php?t...sg2502#msg2502

                      Comment


                        #12
                        Re: Cannot edit Kmenu

                        Unfortunately, that doesn't help. The permissions on kdecache-username are all fine. I chowned them anyway. Re-ran kbuildsyscoca. Nothing.

                        Again, I think my problem is in the KDE/user relationship somehow. If I can re-start or re-create user without affecting my user specific files (documents et. al.), then I think that's what I need to do.

                        Can anyone help?

                        Comment


                          #13
                          Re: Cannot edit Kmenu

                          Right, I know this topic is old hat but it appears that it still has not been solved!

                          I am suffering from the same debilitating problem and have not found a solution yet. Anybody out there who's got one?
                          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                          Comment


                            #14
                            SOLVED

                            Originally posted by randcoop
                            I'm unable to get changes to stick to the Kmenu. It seems to work; I add an item and then save the configuration. But then the items are a no show on the menu.

                            Using the Preview of Kubuntu 5.10.
                            OK, the lads over at kde did wonders and finally helped me fix this problem. Here is how for all those fellow sufferers:

                            rename ~/.local/share/applications to ~/.../applications.bak

                            and

                            ~/.kde/share/config/kmenueditrc to ~/.../kmenueditrc.bak

                            then

                            kbuildsycoca


                            and restart the X-server. Hey presto, everything works again

                            And in case you can't be arsed to add all the programmes manually, run kappfinder
                            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                            Comment


                              #15
                              Re: Cannot edit Kmenu

                              This worked perfect for me and I am on 7.10. I also did the below before doing the above steps.

                              Code:
                              sudo chown -R <username>:<username> ~/.config
                              sudo chown -R <username> /var/tmp/kdecache-<username>

                              Comment

                              Working...
                              X