From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:32931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT9BD-0001AG-Eq for guix-patches@gnu.org; Tue, 21 May 2019 14:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT9BC-0003Iw-Hu for guix-patches@gnu.org; Tue, 21 May 2019 14:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hT9BC-0003Il-Bf for guix-patches@gnu.org; Tue, 21 May 2019 14:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hT9BC-0006mA-5d for guix-patches@gnu.org; Tue, 21 May 2019 14:08:02 -0400 Subject: [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue References: <20190518090229.22339-1-r.majd@pantherx.org> In-Reply-To: <20190518090229.22339-1-r.majd@pantherx.org> Resent-Message-ID: From: Reza Alizadeh Majd Date: Tue, 21 May 2019 22:37:51 +0430 Message-Id: <20190521180751.95600-1-r.majd@pantherx.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35789@debbugs.gnu.org Cc: Reza Alizadeh Majd * gnu/packages/lxqt.scm (lxqt-session): add write permission to lxqt-rc.xml file after initial copy to user directory --- gnu/packages/lxqt.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index d91efe715d..e69f29ed1c 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -827,6 +827,15 @@ allows for launching applications or shutting down the system.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t)) + ;; add write permission to lxqt-rc.xml file which is stored as read-only in store + (add-after 'unpack 'patch-openbox-permission + (lambda _ + (substitute* "startlxqt.in" + (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"") + (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n" + " # fix openbox permission issue\n" + " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*"))) + #t)) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* '("lxqt-config-session/CMakeLists.txt" -- 2.19.0