From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: adding files to xorg.conf.d Date: Sun, 21 Jan 2018 22:30:11 -0800 Message-ID: <87mv16xv64.fsf@gmail.com> References: <2d5e7939-1d5b-bb39-81c6-73aa3817d682@uni-bremen.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edVcb-0008Kj-B0 for help-guix@gnu.org; Mon, 22 Jan 2018 01:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edVca-0003GA-2H for help-guix@gnu.org; Mon, 22 Jan 2018 01:30:21 -0500 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:38217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edVcZ-0003FY-Il for help-guix@gnu.org; Mon, 22 Jan 2018 01:30:19 -0500 Received: by mail-pf0-x231.google.com with SMTP id k19so6352397pfj.5 for ; Sun, 21 Jan 2018 22:30:19 -0800 (PST) In-Reply-To: <2d5e7939-1d5b-bb39-81c6-73aa3817d682@uni-bremen.de> (Martin Castillo's message of "Sat, 20 Jan 2018 21:01:04 +0100") 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: Martin Castillo Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Martin Castillo writes: > 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? This is the only way I know of right now to customize the Xorg config. For example, this same solution was recommended here, also: https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00264.html Does this solution not solve your problem? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlplhPMACgkQ3UCaFdgi Rp2Yfw//U1BiKyO3omhQX26LP7AvBhnarwR3X/s9JM0Biz8UtIJYqb8JFagvyDNK sSlmvq28vDlxBk7qgENUzGyseKIcKcmmSF215p4zbg67KK1x1ObILE2rAbqUD2nv 1IuhOW6mH9oI2067HkqZQDPgiH3Gad5GvSxIlrqK6rf66kTNFU7+V/mNnoY5/1pY S4J1f2dAamso7xOT8gcuGHV5Q2MZUcV1wfvks10TzZpEanESMdSDhPRvKTFg9tVW kmBRzV/0TPjgQXwmrXs9+6FzcYvpKXQu/fKj5feonxQBlSuyBrxm1t0LIexOG5Sr CtQU9ZmAT87LSnSEaZZaFw/zVXU1sr1e40ALap31KjAO9/B0N9I5mEBEmfVMeM+I iNB47BtODjq8qeERlpo/MM4zJ89P0GPSa2XtJG7fxU4p1LOrXmapZ9lv5UB3EqCU 0QVK7gh7XWI/1Mhor2aSUj7TWy4xmS1KU8RheoqgDauhOd3AKbsTUbIE1aF84h94 oFMXDtCTZztjNFS55sOq2aEhTtgZN9ENgQ80fc3P85ueOTfP++nWpS2VLHEqYpzn x0x168oC+J1+AjS4t5EnzlhKA2GYWRFOt+5yyU3MH6RpLKAjbcrbruLbXDcG7X49 MsR6H6OE0CagnP5pHzcbMyQZDa6u0ja+8B7vvKATZsyhHTZ3TBU= =BuOU -----END PGP SIGNATURE----- --=-=-=--