all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Reza Alizadeh Majd <r.majd@pantherx.org>
Cc: guix-devel@gnu.org
Subject: Re: Service implementation for LXQt desktop
Date: Mon, 07 Sep 2020 11:45:01 +0200	[thread overview]
Message-ID: <871rjdq5yr.fsf@gnu.org> (raw)
In-Reply-To: <20200903111142.2d8a2e43@pantherx.org> (Reza Alizadeh Majd's message of "Thu, 3 Sep 2020 11:11:42 +0430")

Hi Reza,

Reza Alizadeh Majd <r.majd@pantherx.org> skribis:

> working on a service definition for LXQt desktop, I need to perform a
> series of default configurations. for example to set the window manager,
> prepare default panel, set the default theme, etc.
>
> these configurations should be located $XDG_CONFIG_DIRS so the default
> paths are:
>
> /run/current-system/profile/etc/xdg
> /home/$USER/.guix-profile/etc/xdg
> /home/$USER/.config/
>
> I wanted to use `activation-service-type` to prepare default
> configurations in users home directory, but don't know how to access
> each user's home directory. 

Instead of accessing each users’s home directory, I strongly recommend
adding a new “skeleton”: a set of files that are automatically added to
new home directories when a new user account shows up.

To do that, the lxqt service can extend ‘account-service-type’ with new
skeletons.  I can’t find an example of that but let us know if it’s
harder than it seems!

Thanks,
Ludo’.


  reply	other threads:[~2020-09-07  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  6:41 Service implementation for LXQt desktop Reza Alizadeh Majd
2020-09-07  9:45 ` Ludovic Courtès [this message]
2020-09-07 11:00   ` Reza Alizadeh Majd
2020-09-28  6:31 ` Reza Alizadeh Majd

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=871rjdq5yr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=r.majd@pantherx.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.