all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Martin Castillo <castilma@uni-bremen.de>
Cc: help-guix@gnu.org
Subject: Re: adding files to xorg.conf.d
Date: Sun, 21 Jan 2018 22:30:11 -0800	[thread overview]
Message-ID: <87mv16xv64.fsf@gmail.com> (raw)
In-Reply-To: <2d5e7939-1d5b-bb39-81c6-73aa3817d682@uni-bremen.de> (Martin Castillo's message of "Sat, 20 Jan 2018 21:01:04 +0100")

[-- 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 --]

  reply	other threads:[~2018-01-22  6:30 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 [this message]
2018-01-23 21:30   ` Martin Castillo

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=87mv16xv64.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=castilma@uni-bremen.de \
    --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.