GNU bug report logs - #76619
[PATCH] gnu: home: services: Add 'wayland-display' service.

Previous Next

Package: guix-patches;

Reported by: Sisiutl <sisiutl <at> egregore.fun>

Date: Thu, 27 Feb 2025 22:48:04 UTC

Severity: normal

Tags: patch

Merged with 76057, 76058, 76060, 76659, 76667

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: Sisiutl <sisiutl <at> egregore.fun>, 76619 <at> debbugs.gnu.org
Subject: [bug#76619] [PATCH] gnu: home: services: Add 'wayland-display' service.
Date: Wed, 05 Mar 2025 16:16:18 +0100
Hi Hilton,

Hilton Chain <hako <at> ultrarare.space> skribis:

> Since some services may depend on either DISPLAY or WAYLAND_DISPLAY, and these
> two services (x11-display, wayland-display) are similar, I think we can merge
> them into one and deprecate home-x11-service-type by this new service.
>
> e.g.
>
> service: home-display-service-type
> configuration: x11? (boolean: #f) wayland? (boolean: #f) time-to-wait (integer: 10)
> default-value #f
> provision: 'x11-display when x11? is #t
>            'wayland-display when walyand? is #t
>            'display when either x11? or wayland? is #t
> return value: "DISPLAY: unset; WAYLAND_DISPLAY: wayland-1"
>
> Then one service can choose to depend on 'display or specifically 'x11-display /
> 'wayland-display.

That sounds like a good idea to me.  It goes beyond the scope of the
initial patch in this thread though.

Sisiutl, Hilton: who wants to work on it?

Thanks,
Ludo’.




This bug report was last modified 95 days ago.

Previous Next


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