unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue
@ 2019-05-18  9:02 Reza Alizadeh Majd
  2019-05-18 10:22 ` [bug#35789] " Reza Alizadeh Majd
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Reza Alizadeh Majd @ 2019-05-18  9:02 UTC (permalink / raw)
  To: 35789; +Cc: Reza Alizadeh Majd

* 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-24 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-18  9:02 [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue Reza Alizadeh Majd
2019-05-18 10:22 ` [bug#35789] " 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

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).