From: Martin Castillo <castilma@uni-bremen.de>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: adding files to xorg.conf.d
Date: Tue, 23 Jan 2018 22:30:28 +0100 [thread overview]
Message-ID: <517ce4c3-a440-dcd6-5390-089fd0d8bc12@uni-bremen.de> (raw)
In-Reply-To: <87mv16xv64.fsf@gmail.com>
[-- 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 --]
prev parent reply other threads:[~2018-01-23 21:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=517ce4c3-a440-dcd6-5390-089fd0d8bc12@uni-bremen.de \
--to=castilma@uni-bremen.de \
--cc=cmmarusich@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.