From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aJsKKS8BVl9pQwAA0tVLHw (envelope-from ) for ; Mon, 07 Sep 2020 09:45:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mN3sJC8BVl9YBQAA1q6Kng (envelope-from ) for ; Mon, 07 Sep 2020 09:45:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64EE39401D0 for ; Mon, 7 Sep 2020 09:45:19 +0000 (UTC) Received: from localhost ([::1]:49260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFDiA-0002Rr-CV for larch@yhetil.org; Mon, 07 Sep 2020 05:45:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFDi1-0002RX-Gh for guix-devel@gnu.org; Mon, 07 Sep 2020 05:45:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39524) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFDi1-0005nz-60; Mon, 07 Sep 2020 05:45:09 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=54816 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kFDhz-0008SE-Ok; Mon, 07 Sep 2020 05:45:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Reza Alizadeh Majd Subject: Re: Service implementation for LXQt desktop Message-ID: <871rjdq5yr.fsf@gnu.org> References: <20200903111142.2d8a2e43@pantherx.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Fructidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 07 Sep 2020 11:45:01 +0200 In-Reply-To: <20200903111142.2d8a2e43@pantherx.org> (Reza Alizadeh Majd's message of "Thu, 3 Sep 2020 11:11:42 +0430") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: fRlnydthvEac Hi Reza, Reza Alizadeh Majd 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.=20 Instead of accessing each users=E2=80=99s home directory, I strongly recomm= end adding a new =E2=80=9Cskeleton=E2=80=9D: a set of files that are automatica= lly added to new home directories when a new user account shows up. To do that, the lxqt service can extend =E2=80=98account-service-type=E2=80= =99 with new skeletons. I can=E2=80=99t find an example of that but let us know if it= =E2=80=99s harder than it seems! Thanks, Ludo=E2=80=99.