GNU bug report logs - #62281
[PATCH] home: Add home-xorg-server-service-type.

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Sun, 19 Mar 2023 21:55:02 UTC

Severity: normal

Tags: patch, wontfix

Done: Sergey Trofimov <sarg <at> sarg.org.ru>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 62281 <at> debbugs.gnu.org (full text, mbox):

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: 62281 <at> debbugs.gnu.org
Subject: Re: [bug#62281] [PATCH] home: Add home-xorg-server-service-type.
Date: Tue, 21 Mar 2023 22:32:40 +0100
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"))))




This bug report was last modified 2 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.