From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Castillo Subject: Re: adding files to xorg.conf.d Date: Tue, 23 Jan 2018 22:30:28 +0100 Message-ID: <517ce4c3-a440-dcd6-5390-089fd0d8bc12@uni-bremen.de> References: <2d5e7939-1d5b-bb39-81c6-73aa3817d682@uni-bremen.de> <87mv16xv64.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jZSHBwAxRVoMKStgvp6nQYAtFYFbVqAn5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ee69l-0005TM-6p for help-guix@gnu.org; Tue, 23 Jan 2018 16:31:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ee69i-0002Rf-2o for help-guix@gnu.org; Tue, 23 Jan 2018 16:31:01 -0500 Received: from gabriel-vm-2.zfn.uni-bremen.de ([134.102.50.10]:51086 helo=smtp.uni-bremen.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ee69h-0002OI-Kj for help-guix@gnu.org; Tue, 23 Jan 2018 16:30:58 -0500 In-Reply-To: <87mv16xv64.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jZSHBwAxRVoMKStgvp6nQYAtFYFbVqAn5 Content-Type: multipart/mixed; boundary="9BaYaK2gepFcU75lr6enyfDFhI03HTKW3"; protected-headers="v1" From: Martin Castillo To: Chris Marusich Cc: help-guix@gnu.org Message-ID: <517ce4c3-a440-dcd6-5390-089fd0d8bc12@uni-bremen.de> Subject: Re: adding files to xorg.conf.d References: <2d5e7939-1d5b-bb39-81c6-73aa3817d682@uni-bremen.de> <87mv16xv64.fsf@gmail.com> In-Reply-To: <87mv16xv64.fsf@gmail.com> --9BaYaK2gepFcU75lr6enyfDFhI03HTKW3 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable hi On 22.01.2018 07:30, Chris Marusich wrote: > Martin Castillo writes: >=20 >> hi, >> >> I want to add one file to xorg.conf.d, but can't find the right way to= >> do so. my current solution just appends my xsettings to xorg.conf: >> >> (define cyborg-quirk >> "Section \"InputClass\" >> #yadayada >> EndSection") >> >> (define %my-xorg-conf >> (xorg-configuration-file #:extra-config (list cyborg-quirk))) >> >> (define %my-startx >> (xorg-start-command #:configuration-file %my-xorg-conf)) >> >> (define %my-services >> ;; My very own list of services. >> (modify-services %desktop-services >> (slim-service-type config =3D> >> (slim-configuration >> (inherit config) >> (startx %my-startx))))) >> >> >> currently, xorg.conf.d is created by a function that gets a list of >> X-modules or so. but it doesn't seem like there is any interface to >> pass any of these functions a gexp that evaluates to a file or so. Is = my >> observation correct? If yes, is this wanted? >=20 > This is the only way I know of right now to customize the Xorg config. > For example, this same solution was recommended here, also: >=20 > https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00264.html >=20 > Does this solution not solve your problem? >=20 okay. It does solve my problem but I think it is not so 'clean'. So I wondered, if the clean method is possible. --=20 GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC --9BaYaK2gepFcU75lr6enyfDFhI03HTKW3-- --jZSHBwAxRVoMKStgvp6nQYAtFYFbVqAn5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE61CTslYA+K5btSvb61vedmKoYVkFAlpnqX4ACgkQ61vedmKo YVkbyQgAlo96Zetv6SmGc4O+SW1QQGhI4TfSrox78qnlvY5HReaNqhVEijxAmpoA KqcN44b4BTb6yVKmHjRWuMcrj0KFJbbc3ophihhiPcTxXBrrWJXUJcVeRfbFFTZG 2jp7JDkZiPenNW4CAOUcL3KKNCV4Z7FwsbiB0FtRctVeFghQHKZ0fpgvSfyLld1H ke+tqsI03z5qLNYxwoSN8U3lj7nkD8bsSEBqgR/PFemldD2OCa/D7vwEnQcpqpq2 VbTVr4Ahp564oAy7PwsrIvwA0pcXbc11uGWd4K2lWHUEuIUeJnQqh6jGA+HyODu8 JbPinxE2WhJlHpMn7p75KVcmiB6DTw== =neST -----END PGP SIGNATURE----- --jZSHBwAxRVoMKStgvp6nQYAtFYFbVqAn5--