unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Reza Alizadeh Majd <r.majd@pantherx.org>
To: 44029@debbugs.gnu.org
Cc: Reza Alizadeh Majd <r.majd@pantherx.org>
Subject: [bug#44029] [PATCH 1/4] gnu: lxqt-session: fix xsession entry's exec path
Date: Fri, 16 Oct 2020 14:46:23 +0330	[thread overview]
Message-ID: <20201016111623.26585-1-r.majd@pantherx.org> (raw)
In-Reply-To: <20201016144000.04a245db@pantherx.org>

* gnu/packages/lxqt.scm (lxqt-session)[arguments]: update path for
startlxqt to be able to executed properly by gdm.
---
 gnu/packages/lxqt.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index af452a9903..67b75ced1e 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -849,12 +849,16 @@ allows for launching applications or shutting down the system.")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-source
-           (lambda _
+           (lambda* (#:key outputs #:allow-other-keys)
              (substitute* '("autostart/CMakeLists.txt"
                             "config/CMakeLists.txt")
                (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
                 "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-after 'unpack 'patch-openbox-permission
            (lambda _
-- 
2.28.0





  reply	other threads:[~2020-10-16 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 11:10 [bug#44029] [PATCH 0/4] lxqt-desktop-service-type Reza Alizadeh Majd
2020-10-16 11:16 ` Reza Alizadeh Majd [this message]
2020-10-16 11:17 ` [bug#44029] [PATCH 2/4] gnu: lxqt-session: wrap startlxqt executable Reza Alizadeh Majd
2020-10-16 11:18 ` [bug#44029] [PATCH 3/4] gnu: pcmanfm-qt: fix default wallpaper load path Reza Alizadeh Majd
2020-10-16 11:19 ` [bug#44029] [PATCH 4/4] services: Add LXQt desktop service Reza Alizadeh Majd
2020-10-19 21:25 ` bug#44029: [PATCH 0/4] lxqt-desktop-service-type Oleg Pykhalov
2020-10-20  7:33   ` [bug#44029] " Reza Alizadeh Majd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016111623.26585-1-r.majd@pantherx.org \
    --to=r.majd@pantherx.org \
    --cc=44029@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).