[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display manager doesn't read ~/.xsession when it is a symlink
From: |
宋文武 |
Subject: |
Re: display manager doesn't read ~/.xsession when it is a symlink |
Date: |
Tue, 21 Mar 2023 18:56:58 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Rodrigo Morales <moralesrodrigo1100@gmail.com> writes:
> [...]
> I've symlinked `~/my/guix-config/xdg/xsession' to `~/.xsession' by
> using the following instruction in
> `~/my/guix-config/home-configuration.scm' (see appendix for my
> complete configuration)
>
> ,----
> | (... some omitted lines ...)
> | (service
> | home-files-service-type
> | `((".xsession"
> | ,(local-file "xdg/xsession"))
> | (... some omitted lines ...)
> | #+END_SRC scheme
Hello, you can use (local-file "xdg/xsession" recursive? #t) to make the
store file kept the permission bits, which would lead to a executable
~/.xsession.
Hope this helps!