diff options
author | Reza Alizadeh Majd <r.majd@pantherx.org> | 2019-05-21 22:37:51 +0430 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-24 18:24:16 +0200 |
commit | 42f3eb2e7fd6f750db32b800a9c61b3cb269457f (patch) | |
tree | a57b92ab984ed734b3e115ba4415596ea569c44e | |
parent | 43675ac77ad7708814f4152e5bce25fe453b8f4f (diff) | |
download | guix-42f3eb2e7fd6f750db32b800a9c61b3cb269457f.tar guix-42f3eb2e7fd6f750db32b800a9c61b3cb269457f.tar.gz |
gnu: lxqt-session: fix lxqt-rc.xml permission issue
* gnu/packages/lxqt.scm (lxqt-session): add write permission to
lxqt-rc.xml file after initial copy to user directory
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/lxqt.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index cac68c44c9..d7abd5a854 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" |