From: Sergey Trofimov <sarg@sarg.org.ru>
To: 62281@debbugs.gnu.org
Subject: [bug#62281] [PATCH] home: Add home-xorg-server-service-type.
Date: Tue, 21 Mar 2023 22:32:40 +0100 [thread overview]
Message-ID: <87a605hjmk.fsf@sarg.org.ru> (raw)
In-Reply-To: <20230319215409.26714-1-sarg@sarg.org.ru>
This is not needed. Xorg config should be a part of the
operating-system and guix already has xorg-server-service-type for
that. Autostart of sx could be done in the home-environment using
this code:
(define (sx-autostart-on tty)
(simple-service
'sx-autostart home-shell-profile-service-type
(list (mixed-text-file
"sx-autostart"
"[[ ! $DISPLAY && $(tty) == /dev/" tty " ]] && "
"exec " (@ (gnu packages xdisorg) sx) "/bin/sx"))))
prev parent reply other threads:[~2023-03-21 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-19 21:54 [bug#62281] [PATCH] home: Add home-xorg-server-service-type Sergey Trofimov
2023-03-21 21:32 ` Sergey Trofimov [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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a605hjmk.fsf@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=62281@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).