Skip to content

package kservice depends on some files in plasma-workspace to work properly

Description:

The new plasma-workspace includes /etc/xdg/menus/plasma-applications.menu, which was previously in kservice package (now in kservice5 with name applications.menu). This file is required by kbuildsycoca6 for generating the application menu, which is crucial for applications like Dolphin.

So right now to make applications like Dolphin work properly, plasma-workspace has to be installed (but now it's not in Dolpnin's dependency list). It's almost installing the whole DE, which is impossible or not ideal for a lot of users who use other DE or WM (like me).

Additional info:

Step for reproducing

  • Install Dolphin without palsma-workspace package
  • Use open with to open any file, the application list is empty

Proposal

Don't know if this is the optimal solution, my suggestion would be:

  • Separate /etc/xdg/menus/plasma-applications.menu and /usr/share/desktop-directories/kf5-*.diretory from plasma-workspace package and create a new package(plasma-applications-menu) that includes these files.
  • make plasma-workspace depend on plasma-applications-menu and kservice (optionally) depend on plasma-applications-menu
Edited by Rui
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information