gnu: lxqt-session: Fix xsession entry exec path.
* gnu/packages/lxqt.scm (lxqt-session)[arguments]: Update path for "startlxqt" to be able to executed properly by "gdm". Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
parent
87f31bf2a8
commit
9aa35795d3
1 changed files with 6 additions and 2 deletions
|
@ -849,12 +849,16 @@ allows for launching applications or shutting down the system.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-source
|
(add-after 'unpack 'patch-source
|
||||||
(lambda _
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* '("autostart/CMakeLists.txt"
|
(substitute* '("autostart/CMakeLists.txt"
|
||||||
"config/CMakeLists.txt")
|
"config/CMakeLists.txt")
|
||||||
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||||
"DESTINATION \"etc/xdg"))
|
"DESTINATION \"etc/xdg"))
|
||||||
#t))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* '("xsession/lxqt.desktop.in")
|
||||||
|
(("Exec=startlxqt") (string-append "Exec=" out "/bin/startlxqt"))
|
||||||
|
(("TryExec=lxqt-session") (string-append "TryExec=" out "/bin/startlxqt")))
|
||||||
|
#t)))
|
||||||
;; add write permission to lxqt-rc.xml file which is stored as read-only in store
|
;; add write permission to lxqt-rc.xml file which is stored as read-only in store
|
||||||
(add-after 'unpack 'patch-openbox-permission
|
(add-after 'unpack 'patch-openbox-permission
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in a new issue