help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding files to xorg.conf.d


From: Martin Castillo
Subject: Re: adding files to xorg.conf.d
Date: Tue, 23 Jan 2018 22:30:28 +0100

hi

On 22.01.2018 07:30, Chris Marusich wrote:
> Martin Castillo <address@hidden> 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 =>
>>                             (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?
> 

okay. It does solve my problem but I think it is not so 'clean'. So I
wondered, if the clean method is possible.
-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]