mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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>
This commit is contained in:
parent
43675ac77a
commit
42f3eb2e7f
1 changed files with 9 additions and 0 deletions
|
@ -827,6 +827,15 @@ (define-public lxqt-session
|
||||||
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||||
"DESTINATION \"etc/xdg"))
|
"DESTINATION \"etc/xdg"))
|
||||||
#t))
|
#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
|
(add-after 'unpack 'patch-translations-dir
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* '("lxqt-config-session/CMakeLists.txt"
|
(substitute* '("lxqt-config-session/CMakeLists.txt"
|
||||||
|
|
Loading…
Reference in a new issue