Bug 7854 - TLDC and kde5 plasma does not work
Summary: TLDC and kde5 plasma does not work
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: TLDC (Desktop Customizer) (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 09:09 CET by Martin Östlund
Modified: 2022-05-31 12:37 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Martin Östlund cendio 2022-03-09 09:09:57 CET
It seems like our desktop customiser does not work when using kde5 plasma.

After creating an application group and defining a menu structure for that group, and activating with /opt/thinlinc/bin/tl-desktop-activate.sh, once logged in with KDE nothing but the standard menu structure is shown.

With Xfce everything seems to work as expected.

The file that gets generated for a customised menu structure is named applications.menu and is located in ~/.config/menus/applications.menu, according to the freedesktop.org standard.

Many desktop environments seems to have their own name for this file, for example this is what we create per default


-rw-rw-r--.  1 cendio cendio  816  9 mar 09.03 applications.menu
lrwxrwxrwx.  1 cendio cendio   44  9 mar 09.03 kde4-applications.menu -> /home/cendio/.config/menus/applications.menu
lrwxrwxrwx.  1 cendio cendio   44  9 mar 09.03 kde-applications.menu -> /home/cendio/.config/menus/applications.menu
lrwxrwxrwx.  1 cendio cendio   44  9 mar 09.03 lxde-applications.menu -> /home/cendio/.config/menus/applications.menu
lrwxrwxrwx.  1 cendio cendio   44  9 mar 09.03 mate-applications.menu -> /home/cendio/.config/menus/applications.menu
lrwxrwxrwx.  1 cendio cendio   44  9 mar 09.03 xfce-applications.menu -> /home/cendio/.config/menus/applications.menu

I verified what the system has installed for us in /etc/xdg/menus/, and there we have an kf5-applications.menu.

Simply creating this symlinc in ~/.config/menus seems to solve the problem with kde plasma:

ln -s /home/cendio/.config/menus/applications.menu /home/cendio/.config/menus/kf5-applications.menu

Note You need to log in before you can comment on or make changes to this bug.