Wrap startkde5 into ck-launch-session in the desktop file.

* This way when using sddm or an other login manager the session gets registered with ck.

Reported by:	kan
This commit is contained in:
Tobias C. Berner 2018-05-06 18:14:28 +00:00
parent 7f1cc9a0b8
commit ca0bf13f58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469242
2 changed files with 11 additions and 0 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= plasma-workspace
DISTVERSION= ${KDE_PLASMA_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
MAINTAINER= kde@FreeBSD.org

View file

@ -0,0 +1,10 @@
--- plasma.desktop.cmake.orig 2018-05-05 17:27:16 UTC
+++ plasma.desktop.cmake
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=XSession
-Exec=${CMAKE_INSTALL_FULL_BINDIR}/startkde
+Exec=ck-launch-session ${CMAKE_INSTALL_FULL_BINDIR}/startkde
TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startkde
DesktopNames=KDE
Name=Plasma