This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmenuedit saving partially and erratically

Tags: None
(comma "," separated)
kde-sphelps
Registered Member
Posts
3
Karma
0
I'm trying to customize the kde menu, but it's not saving all of my changes. For example, I can usually add new sub-menus and items, but most of the time, the icons I choose will not save. Also, when viewing ~/.conf/menus/applications-kmenuedit.menu, it has many entries that were once deleted or do not show up. Is there a way to possibly manually create these menus and have them stick?
luebking
Karma
0
try to run
Code: Select all
kbuildsycoca4 --noincremental
from konsole (after editing the menu) and watch out for errors.
kde-sphelps
Registered Member
Posts
3
Karma
0
luebking wrote:try to run
Code: Select all
kbuildsycoca4 --noincremental
from konsole (after editing the menu) and watch out for errors.


Thank you for your reply. Here is the output:

Code: Select all
kbuildsyscoca4 --noincremental 2> errors.txt


Code: Select all
kbuildsycoca4 running...
kbuildsycoca4(771) KBuildSycoca::recreate: Recreating ksycoca file ("/var/tmp/kdecache-shane/ksycoca4", version 242)
kbuildsycoca4(771) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/home/shane/.config/menus/applications-kmenuedit.menu"
kbuildsycoca4(771) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
kbuildsycoca4(771) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(771) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/"
kbuildsycoca4(771) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/kde4"
kbuildsycoca4(771) VFolderMenu::loadApplications: Looking up applications under "/home/shane/.local/share/applications/"
kbuildsycoca4(771) VFolderMenu::processMenu: Menu "Media" does not specify a directory file.
kbuildsycoca4(771) VFolderMenu::processMenu: Menu ".hidden" does not specify a directory file.
kbuildsycoca4(771) VFolderMenu::processMenu: Moving "Development-2/Media" to "Media"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "plasma-kpart.desktop" specifies undefined mimetype/servicetype "KParts/Part"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12"
kbuildsycoca4(771) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "windowsexethumbnail.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/x-quicktime"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mkv"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/aiff"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-realaudio"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-basic"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-8svx"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/8svx"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-16sv"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/168sv"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/ilbm"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/anim"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/x-png"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mng"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg2"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg2"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg3"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg3"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-mds"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-mdp"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-cmbx"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-prjx"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-csproj"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-vbproj"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-sln"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-aspx"
kbuildsycoca4(771) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/google-chrome.desktop" specifies undefined mimetype/servicetype "application/xhtml_xml"
kbuildsycoca4(771) KMimeAssociations::parseAllMimeAppsList: Parsing "/home/shane/.local/share/applications/mimeapps.list"
kbuildsycoca4(771) KBuildSycoca::save: Saving
kbuildsycoca4(771) kdemain: Emitting notifyDatabaseChanged ("servicetypes", "xdgdata-mime", "services", "apps")


As you might have guessed, it did not save the changes.
luebking
Karma
0
See viewtopic.php?f=17&t=110999

/home/shane/.config/menus/applications-kmenuedit.menu apparently contains some junk.
Ensure to not be running kmenuedit, then delete the file, then run "kbuildsycoca4 --noincremental", see whether there're similar errors.
The re-run kmenuedit and see what happens.
kde-sphelps
Registered Member
Posts
3
Karma
0
luebking wrote:See viewtopic.php?f=17&t=110999

/home/shane/.config/menus/applications-kmenuedit.menu apparently contains some junk.
Ensure to not be running kmenuedit, then delete the file, then run "kbuildsycoca4 --noincremental", see whether there're similar errors.
The re-run kmenuedit and see what happens.


I received the same missing mime-type errors but nothing else out of the ordinary:

Code: Select all
kbuildsycoca4 running...
kbuildsycoca4(2575) KBuildSycoca::recreate: Recreating ksycoca file ("/var/tmp/kdecache-shane/ksycoca4", version 242)
kbuildsycoca4(2575) VFolderMenu::pushDocInfo: Menu "applications-kmenuedit.menu" not found.
kbuildsycoca4(2575) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
kbuildsycoca4(2575) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(2575) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/"
kbuildsycoca4(2575) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/kde4"
kbuildsycoca4(2575) VFolderMenu::loadApplications: Looking up applications under "/home/shane/.local/share/applications/"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "plasma-kpart.desktop" specifies undefined mimetype/servicetype "KParts/Part"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12"
kbuildsycoca4(2575) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "windowsexethumbnail.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/x-quicktime"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mkv"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/aiff"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-realaudio"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-basic"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-8svx"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/8svx"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-16sv"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/168sv"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/ilbm"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/anim"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/x-png"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mng"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg2"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg2"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg3"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg3"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-mds"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-mdp"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-cmbx"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-prjx"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-csproj"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-vbproj"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-sln"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/monodevelop.desktop" specifies undefined mimetype/servicetype "application/x-aspx"
kbuildsycoca4(2575) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/google-chrome.desktop" specifies undefined mimetype/servicetype "application/xhtml_xml"
kbuildsycoca4(2575) KMimeAssociations::parseAllMimeAppsList: Parsing "/home/shane/.local/share/applications/mimeapps.list"
kbuildsycoca4(2575) KBuildSycoca::save: Saving
kbuildsycoca4(2575) kdemain: Emitting notifyDatabaseChanged ("servicetypes", "xdgdata-mime", "services", "apps")


I ran kmenuedit again. This time, all I did was change the icon of a menu and saved. It did not save my changes. Here is the output from kmenuedit:

Code: Select all
QObject::connect: No such signal KUrlRequester::urlSelected(KUrl)
QObject::connect:  (receiver name: 'tabbar')
Shortcut for action  "new_submenu" "&New Submenu..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "new_item" "New &Item..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "new_separator" "New S&eparator" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "delete" "&Delete" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Trying to open ksycoca from "/home/shane/.cache/ksycoca5"
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548


Is it feasible to manually create the menu I would like? Not sure if it relies only on the applications-kmenuedit.menu file.
luebking
Karma
0
> Trying to open ksycoca from "/home/shane/.cache/ksycoca5"
Wait a second: is this actually plasma-next ("KDE 5")?
rek2gnulinux
Registered Member
Posts
1
Karma
0
Hello, I'm having this same issue. and yes I am using plasma 5. everything else seens like its saving ok.. but applications in the menu and icon task bar.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]