From: Reza Alizadeh Majd <r.majd@pantherx.org>
To: 35789@debbugs.gnu.org
Cc: Reza Alizadeh Majd <r.majd@pantherx.org>
Subject: [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue
Date: Sat, 18 May 2019 13:32:29 +0430 [thread overview]
Message-ID: <20190518090229.22339-1-r.majd@pantherx.org> (raw)
* gnu/packages/lxqt.scm (lxqt-session): change lxqt-rc.xml permission to
755 after initial copy to user directory.
---
gnu/packages/lxqt.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index d91efe715d..94d47bc862 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -827,6 +827,14 @@ allows for launching applications or shutting down the system.")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg"))
#t))
+ (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 -R 755 \"$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
next reply other threads:[~2019-05-18 9:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-18 9:02 Reza Alizadeh Majd [this message]
2019-05-18 10:22 ` [bug#35789] lxqt-rc.xml permission issue Reza Alizadeh Majd
2019-05-21 14:30 ` [bug#35789] [PATCH] gnu: lxqt-session: fix " Ludovic Courtès
2019-05-21 18:23 ` Reza Alizadeh Majd
2019-05-21 18:07 ` Reza Alizadeh Majd
2019-05-24 15:54 ` bug#35789: " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190518090229.22339-1-r.majd@pantherx.org \
--to=r.majd@pantherx.org \
--cc=35789@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.