Hi Reza,

Reza Alizadeh Majd <[email protected]> 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 via email to