* adding files to xorg.conf.d
@ 2018-01-20 20:01 Martin Castillo
2018-01-22 6:30 ` Chris Marusich
0 siblings, 1 reply; 3+ messages in thread
From: Martin Castillo @ 2018-01-20 20:01 UTC (permalink / raw)
To: help-guix
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?
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding files to xorg.conf.d
2018-01-20 20:01 adding files to xorg.conf.d Martin Castillo
@ 2018-01-22 6:30 ` Chris Marusich
2018-01-23 21:30 ` Martin Castillo
0 siblings, 1 reply; 3+ messages in thread
From: Chris Marusich @ 2018-01-22 6:30 UTC (permalink / raw)
To: Martin Castillo; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]
Martin Castillo <castilma@uni-bremen.de> 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?
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding files to xorg.conf.d
2018-01-22 6:30 ` Chris Marusich
@ 2018-01-23 21:30 ` Martin Castillo
0 siblings, 0 replies; 3+ messages in thread
From: Martin Castillo @ 2018-01-23 21:30 UTC (permalink / raw)
To: Chris Marusich; +Cc: help-guix
[-- Attachment #1.1: Type: text/plain, Size: 1603 bytes --]
hi
On 22.01.2018 07:30, Chris Marusich wrote:
> Martin Castillo <castilma@uni-bremen.de> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-23 21:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-20 20:01 adding files to xorg.conf.d Martin Castillo
2018-01-22 6:30 ` Chris Marusich
2018-01-23 21:30 ` Martin Castillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).