Summary: | Menu Editor should be able to edit the global menu using the vfolder system. | ||
---|---|---|---|
Product: | [Applications] kmenuedit | Reporter: | James Richard Tyrer <tyrerj> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | f.faber-pro, nate, phan, rdieter, steve, werner.herold |
Priority: | NOR | ||
Version: | 0.5 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
James Richard Tyrer
2004-04-04 20:39:17 UTC
Functionality is/will be provided by kiosktool. Re: original report:
<<
Note that this may cause another bug. I had some problems when testing this by hand with: "kbuildsycoca" complaining about invalid 'desktop' files. I did not determine exactly what was wrong with them.
>>
The problem is caused by the file permissions of the files written which need to be 644 rather than 600.
--
JRT
I have installed KioskTool, and I don't think that this will meet the needs of the average user that simply needs to make a minor changed to the menu and wants it to take effect globally. IMHO, what is need is in: "Panels" KCM under the: "Menus" tab, the button: "Edit K Menu" needs to be moved up and button: "Global Menu" added below it. This buttong would bring up KDESU for the root password since only 'root' should be allowed to edit the global menu. The work around for this is: As root: Rename: /root/.local/share/applications to: /root/.local/share/applications.save Rename: /root/.local/share/desktop-directories to: /root/.local/share/desktop-directories.save Rename: /root/.config/menus to: /root/.config/menus.save Make links: /root/.local/share/applications -> $KDEDIR/share/applications Link: /root/.local/share/desktop-directories -> $KDEDIR/share/desktop-directories Link: /root/.config/menus -> $KDEDIR/etc/xdg/menus/applications-merged NOTE: this is for built from source and it might be distro specific. :-( As root in a Konsole, execute: kmenuedit Edit the menu and the changes will be made to the global menu. However, they will only work for 'root'. To get them to work for user accounts, you will need to change the permissions on (some[]? of) the files that were created/changed. Look for the files that were created in: $KDEDIR/share/applications $KDEDIR/share/desktop-directories /etc/xdg/menus/applications-merged and change their permissions to 644. They should be owned by root:root. As user in a Konsole, execute: kbuildsycoca to make sure that it all works OK. Remove (or rename) the links and change the names of the three directories back to what they were. WARNING, don't do anything else while you have these temporary changes in place. Since this works, it is my conclusion that minor changes in the current KMenuEdit could make this work. -- JRT I am reopening this as "WishList" but with HI priority. I have assigned it to myself and I hope to have a patch available in the near future. Working on this, I find an additional issue, when you use the workaround: If the '*.desktop' file is in a subdirectory. E.G.: $KDEDIR/share/applications/<sub_dir>/ Then the '*.desktop' file in that directory will be deleted and replaced with one named: "<sub_dir>-<base_name>.desktop" in the directory: $KDEDIR/share/applications/ This does not prevent the workaround from working, but it needs to be addressed in a fix because it will cause problems when upgrading. To prevent problems when upgrading, you should move the file and rename it by removing: "<sub_dir>-". -- JRT *** Bug 75055 has been marked as a duplicate of this bug. *** *** Bug 30555 has been marked as a duplicate of this bug. *** |