* Towards a graphical installer?
@ 2020-05-11 13:27 Mathieu Othacehe
2020-05-11 15:17 ` Jonathan Brielmaier
` (5 more replies)
0 siblings, 6 replies; 21+ messages in thread
From: Mathieu Othacehe @ 2020-05-11 13:27 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]
Hello,
A way to move forward with the installer could be to propose an ISO
image starting a desktop-environment by default. The attached patch
modifies the installation image so that it starts a GNOME session. The
installer is then automatically started, inside a gnome-terminal.
The resulting ISO image is bigger: 3.9G without compression and 1.7G
with compression.
Now, I'm not sure this is something we want to merge as-is. Maybe, it's
time to port the installer to a GTK3 application, or a Web
application. As we already have something working, porting (gnu
installer) to a new graphical backend, could be not so hard.
I don't think I'll have the bandwidth to do this anytime soon, but is
someone is interested, I'm willing to help/review :).
Thanks,
Mathieu
[-- Attachment #2: installer.png --]
[-- Type: image/png, Size: 51497 bytes --]
[-- Attachment #3: 0001-installer-Use-GNOME3-desktop-environment.patch --]
[-- Type: text/x-diff, Size: 6583 bytes --]
From 3ec7528c0a7bcc318e380f41f7cbd91df9927b8a Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <m.othacehe@gmail.com>
Date: Mon, 11 May 2020 15:25:08 +0200
Subject: [PATCH] installer: Use GNOME3 desktop-environment.
---
gnu/installer.scm | 33 ++++++++++++++++++++++++-
gnu/system/install.scm | 55 ++++++++++++++++++++++++++++++------------
2 files changed, 71 insertions(+), 17 deletions(-)
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 79113cb0ef..adaec0db83 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages disk)
#:use-module (gnu packages file-systems)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
#:autoload (gnu packages gnupg) (guile-gcrypt)
@@ -45,10 +46,13 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages package-management)
#:use-module (gnu packages xorg)
+ #:use-module (gnu services)
+ #:use-module (gnu services shepherd)
#:use-module (gnu system locale)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
- #:export (installer-program))
+ #:export (installer-program
+ installer-skel))
(define module-to-import?
;; Return true for modules that should be imported. For (gnu system …) and
@@ -442,3 +446,30 @@ selected keymap."
(setenv "LANG" "en_US.UTF-8")
(execl #$(program-file "installer-real" installer-builder)
"installer-real"))))
+
+(define (desktop-installer)
+ (program-file
+ "desktop-installer"
+ #~(begin
+ (let ((program
+ (string-append "sleep 3 ; " #$(installer-program))))
+ (execl "/run/setuid-programs/sudo"
+ "sudo"
+ #$(file-append gnome-terminal "/bin/gnome-terminal")
+ "--maximize"
+ "--"
+ "/bin/sh" "-c"
+ program)))))
+
+(define (installer-skel)
+ `((".config"
+ ,(file-union
+ "installer-skel"
+ `(("autostart/installer.desktop"
+ ,(mixed-text-file "installer.desktop" "[Desktop Entry]
+Version=1.0
+Terminal=False
+Type=Application
+Name=Guix System Installer
+Exec=" (desktop-installer) "
+")))))))
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index fe49ffdb94..37816e5839 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -32,10 +32,13 @@
#:use-module ((guix packages) #:select (package-version))
#:use-module ((guix store) #:select (%store-prefix))
#:use-module (gnu installer)
+ #:use-module (gnu services avahi)
+ #:use-module (gnu services desktop)
#:use-module (gnu services dbus)
#:use-module (gnu services networking)
#:use-module (gnu services shepherd)
#:use-module (gnu services ssh)
+ #:use-module (gnu services xorg)
#:use-module (gnu packages admin)
#:use-module (gnu packages bash)
#:use-module (gnu packages bootloaders)
@@ -341,10 +344,7 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
(list (service virtual-terminal-service-type)
- (service kmscon-service-type
- (kmscon-configuration
- (virtual-terminal "tty1")
- (login-program (installer-program))))
+ (normal-tty "tty1")
(login-service (login-configuration
(motd motd)))
@@ -448,7 +448,28 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI
;; installer. Some may also need a kernel parameter like nomodeset
;; or vga=793, but we leave that for the user to specify in GRUB.
- (service uvesafb-service-type))))
+ (service uvesafb-service-type)
+
+ ;; GNOME related services.
+ (service slim-service-type
+ (slim-configuration
+ (auto-login? #t)
+ (default-user "guest")))
+
+ polkit-wheel-service
+ x11-socket-directory-service
+
+ (service avahi-service-type)
+ (udisks-service)
+ (service upower-service-type)
+ (accountsservice-service)
+ (service colord-service-type)
+ (geoclue-service)
+ (service polkit-service-type)
+ (elogind-service)
+ (service ntp-service-type)
+
+ (service gnome-desktop-service-type))))
(define %issue
;; Greeting.
@@ -465,7 +486,7 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
(timezone "Europe/Paris")
(locale "en_US.utf8")
(bootloader (bootloader-configuration
- (bootloader grub-bootloader)
+ (bootloader grub-efi-bootloader)
(target "/dev/sda")))
(label (string-append "GNU Guix installation "
(package-version guix)))
@@ -490,25 +511,27 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
(type "tmpfs")
(check? #f))
- ;; XXX: This should be %BASE-FILE-SYSTEMS but we don't need
- ;; elogind's cgroup file systems.
- (list %pseudo-terminal-file-system
- %shared-memory-file-system
- %immutable-store)))
+ %base-file-systems))
+
+ ;; Our /etc/sudoers file. Since 'guest' initially has an empty password,
+ ;; allow for password-less sudo.
+ (sudoers-file (plain-file "sudoers" "\
+root ALL=(ALL) ALL
+%wheel ALL=NOPASSWD: ALL\n"))
- (users (list (user-account
+ (users (cons (user-account
(name "guest")
(group "users")
(supplementary-groups '("wheel")) ; allow use of sudo
(password "")
- (comment "Guest of GNU"))))
+ (comment "Guest of GNU"))
+ %base-user-accounts))
(issue %issue)
(services %installation-services)
- ;; We don't need setuid programs, except for 'passwd', which can be handy
- ;; if one is to allow remote SSH login to the machine being installed.
- (setuid-programs (list (file-append shadow "/bin/passwd")))
+ (skeletons (append (installer-skel)
+ (default-skeletons)))
(pam-services
;; Explicitly allow for empty passwords.
--
2.26.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
@ 2020-05-11 15:17 ` Jonathan Brielmaier
2020-05-11 16:01 ` Tobias Geerinckx-Rice
2020-05-11 16:29 ` pelzflorian (Florian Pelz)
` (4 subsequent siblings)
5 siblings, 1 reply; 21+ messages in thread
From: Jonathan Brielmaier @ 2020-05-11 15:17 UTC (permalink / raw)
To: Mathieu Othacehe, guix-devel
On 11/05/2020 15:27, Mathieu Othacehe wrote:
> A way to move forward with the installer could be to propose an ISO
> image starting a desktop-environment by default. The attached patch
> modifies the installation image so that it starts a GNOME session. The
> installer is then automatically started, inside a gnome-terminal.
>
> The resulting ISO image is bigger: 3.9G without compression and 1.7G
> with compression.
Nice initiative! Maybe it would be an idea to use XFCE instead of GNOME
as it's tend to be a little smaller. And maybe more stable as they don't
have that many releases...
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 15:17 ` Jonathan Brielmaier
@ 2020-05-11 16:01 ` Tobias Geerinckx-Rice
2020-05-13 7:11 ` Mathieu Othacehe
0 siblings, 1 reply; 21+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-05-11 16:01 UTC (permalink / raw)
To: Jonathan Brielmaier; +Cc: Mathieu Othacehe, guix-devel
[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]
Mathieu, Jonathan,
A truly graphical installer would be glorious. Exploring it was
what led to the quick & dirty zisofs patch.
Like you I was able to get a surprisingly working Gnome desktop,
but it was very rough at the edges. (However my compressed images
were closer to 1.4 GiB than your 1.7 which might explain that; cut
out things like GDM &c.).
Are you, for example, able to connect to a Wi-Fi network the Gnome
way (not using the installer), without a Gnome authentication
dialogue popping up that doesn't understand the notion of ‘no
password’? I had to open a terminal and ‘passwd’ myself out of
that to continue.
I ran into so many paper cuts like this I burnt out due to Gnome
being, you know, Gnome.
Mathieu Othacehe 写道:
> Now, I'm not sure this is something we want to merge
> as-is. Maybe, it's
> time to port the installer to a GTK3 application, or a Web
> application. As we already have something working, porting (gnu
> installer) to a new graphical backend, could be not so hard.
Last time I brought this up someone mentioned using Calamares[0].
Not that I think that's a good idea, but it's another data point
for discussion :-p
Jonathan Brielmaier 写道:
> Nice initiative! Maybe it would be an idea to use XFCE instead
> of GNOME
> as it's tend to be a little smaller. And maybe more stable as
> they don't
> have that many releases...
As much as I dislike Gnome, I think we should first try to use the
(most likely) default desktop during the installation, and I do
think that's currently Gnome.
Not at all costs of course. Size. Stability. Sanity.
Kind regards,
T G-R
[0]: https://calamares.io/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
2020-05-11 15:17 ` Jonathan Brielmaier
@ 2020-05-11 16:29 ` pelzflorian (Florian Pelz)
2020-05-12 2:58 ` raingloom
2020-05-13 7:20 ` Mathieu Othacehe
2020-05-11 19:50 ` Pierre Neidhardt
` (3 subsequent siblings)
5 siblings, 2 replies; 21+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-05-11 16:29 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: guix-devel
On Mon, May 11, 2020 at 03:27:29PM +0200, Mathieu Othacehe wrote:
> A way to move forward with the installer could be to propose an ISO
> image starting a desktop-environment by default. […]
Thank you for investigating.
I suppose keyboard input method (IME) support is a reason why someone
might wish to use an Xorg-based installer. Are there other reasons?
What are the reasons for a real desktop environment; is the goal to
offer a live image? Previously I would have thought a virtual console
is more likely to work everywhere, but kmscon has the same
requirements as Xorg and without kmscon we’d lose i18n.
Regards,
Florian
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
2020-05-11 15:17 ` Jonathan Brielmaier
2020-05-11 16:29 ` pelzflorian (Florian Pelz)
@ 2020-05-11 19:50 ` Pierre Neidhardt
2020-05-11 20:03 ` Leo Famulari
2020-05-11 22:27 ` Christopher Lemmer Webber
2020-05-12 6:10 ` dftxbs3e
` (2 subsequent siblings)
5 siblings, 2 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2020-05-11 19:50 UTC (permalink / raw)
To: Mathieu Othacehe, guix-devel
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
Nice!
I'm planning to work on a probably-GTK graphical installer as part of
the NLNet grant I've received in the coming month. Let's keep in touch!
Let's get started with a simple question: guile-gi or g-golf?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 19:50 ` Pierre Neidhardt
@ 2020-05-11 20:03 ` Leo Famulari
2020-05-11 22:27 ` Christopher Lemmer Webber
1 sibling, 0 replies; 21+ messages in thread
From: Leo Famulari @ 2020-05-11 20:03 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel, Mathieu Othacehe
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
On Mon, May 11, 2020 at 09:50:57PM +0200, Pierre Neidhardt wrote:
> I'm planning to work on a probably-GTK graphical installer as part of
> the NLNet grant I've received in the coming month. Let's keep in touch!
Congratulations!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 19:50 ` Pierre Neidhardt
2020-05-11 20:03 ` Leo Famulari
@ 2020-05-11 22:27 ` Christopher Lemmer Webber
2020-05-12 7:09 ` Pierre Neidhardt
1 sibling, 1 reply; 21+ messages in thread
From: Christopher Lemmer Webber @ 2020-05-11 22:27 UTC (permalink / raw)
To: guix-devel; +Cc: Mathieu Othacehe
Pierre Neidhardt writes:
> Nice!
>
> I'm planning to work on a probably-GTK graphical installer as part of
> the NLNet grant I've received in the coming month. Let's keep in touch!
>
> Let's get started with a simple question: guile-gi or g-golf?
This is awesome!
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 16:29 ` pelzflorian (Florian Pelz)
@ 2020-05-12 2:58 ` raingloom
2020-05-12 3:49 ` John Soo
2020-05-13 7:20 ` Mathieu Othacehe
1 sibling, 1 reply; 21+ messages in thread
From: raingloom @ 2020-05-12 2:58 UTC (permalink / raw)
To: guix-devel
On Mon, 11 May 2020 18:29:09 +0200
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> wrote:
> On Mon, May 11, 2020 at 03:27:29PM +0200, Mathieu Othacehe wrote:
> > A way to move forward with the installer could be to propose an ISO
> > image starting a desktop-environment by default. […]
>
> Thank you for investigating.
>
> I suppose keyboard input method (IME) support is a reason why someone
> might wish to use an Xorg-based installer. Are there other reasons?
> What are the reasons for a real desktop environment; is the goal to
> offer a live image? Previously I would have thought a virtual console
> is more likely to work everywhere, but kmscon has the same
> requirements as Xorg and without kmscon we’d lose i18n.
>
> Regards,
> Florian
>
Can the TUI installer be used with a screen reader? AFAIK it can't but
I'd love to be proven wrong.
Anyway, there are also other accessibility options that are useful. High
contrast, magnifier, sticky keys, etc. GNOME provides these.
Even if you aren't blind or disabled in general, you might just have to
install an operating system without a working screen one day.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-12 2:58 ` raingloom
@ 2020-05-12 3:49 ` John Soo
0 siblings, 0 replies; 21+ messages in thread
From: John Soo @ 2020-05-12 3:49 UTC (permalink / raw)
To: raingloom; +Cc: guix-devel
raingloom <raingloom@riseup.net> writes:
> Can the TUI installer be used with a screen reader? AFAIK it can't but
> I'd love to be proven wrong.
I was just thinking about accessibility in Guix recently. I was
wondering something similar.
> Anyway, there are also other accessibility options that are useful. High
> contrast, magnifier, sticky keys, etc. GNOME provides these.
> Even if you aren't blind or disabled in general, you might just have to
> install an operating system without a working screen one day.
I would love to think more about accessibility in other parts of the
Guix System, too. I thought I found a terminal screen reader recently
but I can't remember where it was.
- John
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
` (2 preceding siblings ...)
2020-05-11 19:50 ` Pierre Neidhardt
@ 2020-05-12 6:10 ` dftxbs3e
2020-05-12 6:13 ` dftxbs3e
2020-05-12 20:53 ` hamzeh
2020-05-14 8:08 ` Christopher Baines
5 siblings, 1 reply; 21+ messages in thread
From: dftxbs3e @ 2020-05-12 6:10 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1293 bytes --]
On 5/11/20 3:27 PM, Mathieu Othacehe wrote:
>
> Hello,
>
> A way to move forward with the installer could be to propose an ISO
> image starting a desktop-environment by default. The attached patch
> modifies the installation image so that it starts a GNOME session. The
> installer is then automatically started, inside a gnome-terminal.
>
> The resulting ISO image is bigger: 3.9G without compression and 1.7G
> with compression.
>
> Now, I'm not sure this is something we want to merge as-is. Maybe, it's
> time to port the installer to a GTK3 application, or a Web
> application. As we already have something working, porting (gnu
> installer) to a new graphical backend, could be not so hard.
>
> I don't think I'll have the bandwidth to do this anytime soon, but is
> someone is interested, I'm willing to help/review :).
>
> Thanks,
>
> Mathieu
>
I was thinking that designing a good TUI installer would be sufficient,
I find the latest Subiquity Ubuntu installer very beautiful and great!
Have a look: https://invidio.us/watch?v=Glyj4BjAhME
Git: https://github.com/CanonicalLtd/subiquity
Do you think there's really a point in doing GUI?
Also, if GUI, is there a way to do that with more minimalism while
getting the desired features?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-12 6:10 ` dftxbs3e
@ 2020-05-12 6:13 ` dftxbs3e
0 siblings, 0 replies; 21+ messages in thread
From: dftxbs3e @ 2020-05-12 6:13 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]
On 5/12/20 8:10 AM, dftxbs3e wrote:
>
> I was thinking that designing a good TUI installer would be sufficient,
> I find the latest Subiquity Ubuntu installer very beautiful and great!
>
> Have a look: https://invidio.us/watch?v=Glyj4BjAhME
>
> Git: https://github.com/CanonicalLtd/subiquity
>
> Do you think there's really a point in doing GUI?
>
> Also, if GUI, is there a way to do that with more minimalism while
> getting the desired features?
>
Sorry for the second mail but I have another thought :
I am thinking since a while that GNU Guix is the perfect platform to
write something like OpenSUSE's YaST, with a good base and many
frontends such as TUI, GUI, web. It would be awesome.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 22:27 ` Christopher Lemmer Webber
@ 2020-05-12 7:09 ` Pierre Neidhardt
2020-05-12 15:33 ` Christopher Lemmer Webber
2020-05-13 5:44 ` dftxbs3e
0 siblings, 2 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2020-05-12 7:09 UTC (permalink / raw)
To: Christopher Lemmer Webber, guix-devel; +Cc: Mathieu Othacehe
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
Errr... Sorry, I was distracted yesterday, the NLNet grant is actually
for a graphical _package manager_, not an installer! :p
That said, I'm interested in helping with it too! :)
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-12 7:09 ` Pierre Neidhardt
@ 2020-05-12 15:33 ` Christopher Lemmer Webber
2020-05-13 5:44 ` dftxbs3e
1 sibling, 0 replies; 21+ messages in thread
From: Christopher Lemmer Webber @ 2020-05-12 15:33 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel, Mathieu Othacehe
Pierre Neidhardt writes:
> Errr... Sorry, I was distracted yesterday, the NLNet grant is actually
> for a graphical _package manager_, not an installer! :p
>
> That said, I'm interested in helping with it too! :)
Still awesome :)
I'm looking forward to seeing your work evolve! :)
- Chris
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
` (3 preceding siblings ...)
2020-05-12 6:10 ` dftxbs3e
@ 2020-05-12 20:53 ` hamzeh
2020-05-14 8:08 ` Christopher Baines
5 siblings, 0 replies; 21+ messages in thread
From: hamzeh @ 2020-05-12 20:53 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]
On AP 22.02.1399 17:57, Mathieu Othacehe wrote:
> Hello,
>
> A way to move forward with the installer could be to propose an ISO
> image starting a desktop-environment by default. The attached patch
> modifies the installation image so that it starts a GNOME session. The
> installer is then automatically started, inside a gnome-terminal.
>
> The resulting ISO image is bigger: 3.9G without compression and 1.7G
> with compression.
>
> Now, I'm not sure this is something we want to merge as-is. Maybe, it's
> time to port the installer to a GTK3 application, or a Web
> application. As we already have something working, porting (gnu
> installer) to a new graphical backend, could be not so hard.
>
> I don't think I'll have the bandwidth to do this anytime soon, but is
> someone is interested, I'm willing to help/review :).
>
> Thanks,
>
> Mathieu
>
I think a Qt-Based application could be a good idea as an installer.
Also there is an installer `calamares` developed by Qt. It's plugin
based and
we can develop/customize GUIX specific plugins of `calamares`.
So we can have a GUI Installer more faster. Currently the `calamares` is
used by many other distros like `Lubuntu` and `Manjaro`.
https://calamares.io/about/
https://calamares.io/calamares-2.0-is-out/
Also we can choose `LXQt` as the default DE for installation. So we can
have a smaller ISO image with a lightweight and capable DE.
[-- Attachment #2: Type: text/html, Size: 3108 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-12 7:09 ` Pierre Neidhardt
2020-05-12 15:33 ` Christopher Lemmer Webber
@ 2020-05-13 5:44 ` dftxbs3e
2020-05-13 7:56 ` Pierre Neidhardt
1 sibling, 1 reply; 21+ messages in thread
From: dftxbs3e @ 2020-05-13 5:44 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
On 5/12/20 9:09 AM, Pierre Neidhardt wrote:
> Errr... Sorry, I was distracted yesterday, the NLNet grant is actually
> for a graphical _package manager_, not an installer! :p
>
> That said, I'm interested in helping with it too! :)
>
Really?! We have that?? Wonderful!! That would be the YaST thing I was
talking about!!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 16:01 ` Tobias Geerinckx-Rice
@ 2020-05-13 7:11 ` Mathieu Othacehe
0 siblings, 0 replies; 21+ messages in thread
From: Mathieu Othacehe @ 2020-05-13 7:11 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: guix-devel
Hello Tobias and Jonathan,
> Are you, for example, able to connect to a Wi-Fi network the Gnome way (not
> using the installer), without a Gnome authentication dialogue popping up that
> doesn't understand the notion of ‘no password’? I had to open a terminal and
> ‘passwd’ myself out of that to continue.
No, I kept connman as the installer network-manager.
> Last time I brought this up someone mentioned using Calamares[0]. Not that I
> think that's a good idea, but it's another data point for discussion :-p
My main concern with Calamares, Anaconda & friends is that we will
inevitably have to write some Python/C++ to adapt it to Guix System
installation. Now that we have Guile code covering the whole
installation and associated automated tests, I would prefer not to use
those external tools.
> As much as I dislike Gnome, I think we should first try to use the (most
> likely) default desktop during the installation, and I do think that's
> currently Gnome.
I agree that even though GNOME is heavy and hard to configure, its also
probably to most popular DE.
To adapt the current installer to GNOME, we would need to:
* Switch from connman to NetworkManager.
* Add DBus bindings to control NetworkManager.
* Use 'setxkbmap' or a GNOME API to handle keyboard layout switching.
* Open the info page somewhere else than on TTY2, maybe in a
Web-browser.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 16:29 ` pelzflorian (Florian Pelz)
2020-05-12 2:58 ` raingloom
@ 2020-05-13 7:20 ` Mathieu Othacehe
2020-05-13 9:28 ` pelzflorian (Florian Pelz)
2020-05-24 20:17 ` Ludovic Courtès
1 sibling, 2 replies; 21+ messages in thread
From: Mathieu Othacehe @ 2020-05-13 7:20 UTC (permalink / raw)
To: pelzflorian (Florian Pelz); +Cc: guix-devel
Hello Florian,
> I suppose keyboard input method (IME) support is a reason why someone
> might wish to use an Xorg-based installer. Are there other reasons?
> What are the reasons for a real desktop environment; is the goal to
> offer a live image? Previously I would have thought a virtual console
> is more likely to work everywhere, but kmscon has the same
> requirements as Xorg and without kmscon we’d lose i18n.
I think switching to a DE based installer could:
* Allow the user to browse for some questions or contact #guix while in
the installation process.
* Bring better control of network connection, with a dedicated tool such
as NetworkManager applet.
* Make easier to add accessibility support to the installer.
Regarding i18n, the current mechanism would indeed be broken. However,
switching to setxkbmap or any GNOME API should not be too hard.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-13 5:44 ` dftxbs3e
@ 2020-05-13 7:56 ` Pierre Neidhardt
0 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2020-05-13 7:56 UTC (permalink / raw)
To: dftxbs3e, guix-devel
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
dftxbs3e <dftxbs3e@free.fr> writes:
> On 5/12/20 9:09 AM, Pierre Neidhardt wrote:
>> Errr... Sorry, I was distracted yesterday, the NLNet grant is actually
>> for a graphical _package manager_, not an installer! :p
>>
>> That said, I'm interested in helping with it too! :)
>>
>
> Really?! We have that?? Wonderful!! That would be the YaST thing I was
> talking about!!
Not yet, but hopefully soon :)
To clarify, what are you expecting from a "YaST thing"?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-13 7:20 ` Mathieu Othacehe
@ 2020-05-13 9:28 ` pelzflorian (Florian Pelz)
2020-05-24 20:17 ` Ludovic Courtès
1 sibling, 0 replies; 21+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-05-13 9:28 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: guix-devel
On Wed, May 13, 2020 at 09:20:36AM +0200, Mathieu Othacehe wrote:
> I think switching to a DE based installer could
Every reason you list is a good reason.
> * Allow the user to browse for some questions or contact #guix while in
> the installation process.
Hmm what I don’t like about heavyweight live images is that there are
so many possibilities and they make so many decisions on what is the
default. Currently I can guix install the programs I actually want.
Oh well. Maybe not preinstall all those apps, be it an IRC client, a
Web browser, GNUnet or whatever we like, but instead have the user
choose to install them?
Regards,
Florian
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
` (4 preceding siblings ...)
2020-05-12 20:53 ` hamzeh
@ 2020-05-14 8:08 ` Christopher Baines
5 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2020-05-14 8:08 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
Mathieu Othacehe <othacehe@gnu.org> writes:
> A way to move forward with the installer could be to propose an ISO
> image starting a desktop-environment by default. The attached patch
> modifies the installation image so that it starts a GNOME session. The
> installer is then automatically started, inside a gnome-terminal.
>
> The resulting ISO image is bigger: 3.9G without compression and 1.7G
> with compression.
>
> Now, I'm not sure this is something we want to merge as-is. Maybe, it's
> time to port the installer to a GTK3 application, or a Web
> application. As we already have something working, porting (gnu
> installer) to a new graphical backend, could be not so hard.
I haven't had time to try this out yet, but it sounds very exciting!
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Towards a graphical installer?
2020-05-13 7:20 ` Mathieu Othacehe
2020-05-13 9:28 ` pelzflorian (Florian Pelz)
@ 2020-05-24 20:17 ` Ludovic Courtès
1 sibling, 0 replies; 21+ messages in thread
From: Ludovic Courtès @ 2020-05-24 20:17 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: guix-devel
Hello,
Mathieu Othacehe <othacehe@gnu.org> skribis:
> I think switching to a DE based installer could:
>
> * Allow the user to browse for some questions or contact #guix while in
> the installation process.
>
> * Bring better control of network connection, with a dedicated tool such
> as NetworkManager applet.
I think the Connman-based option we currently have is pretty good
(modulo the WiFi bug we had ;-)) and has the advantage of being well
integrated, no?
> * Make easier to add accessibility support to the installer.
Really? Text-based interfaces tend to lend themselves well to
accessibility support, I think, with things like BRLTTY. I would think
that using a graphical DE is more challenging because one has to know
how to navigate between windows, how to query the currently-focused
window, etc., which requires a screen reader like Orca or similar, which
is not really a panacea.
I also wonder whether the extra hundreds of megabytes for “just” running
a terminal under X11 are warranted. It would be a different story if
the installer itself were graphical. But at any rate, I think closure
size is an issue.
Thoughts?
Ludo’.
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2020-05-24 20:17 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-11 13:27 Towards a graphical installer? Mathieu Othacehe
2020-05-11 15:17 ` Jonathan Brielmaier
2020-05-11 16:01 ` Tobias Geerinckx-Rice
2020-05-13 7:11 ` Mathieu Othacehe
2020-05-11 16:29 ` pelzflorian (Florian Pelz)
2020-05-12 2:58 ` raingloom
2020-05-12 3:49 ` John Soo
2020-05-13 7:20 ` Mathieu Othacehe
2020-05-13 9:28 ` pelzflorian (Florian Pelz)
2020-05-24 20:17 ` Ludovic Courtès
2020-05-11 19:50 ` Pierre Neidhardt
2020-05-11 20:03 ` Leo Famulari
2020-05-11 22:27 ` Christopher Lemmer Webber
2020-05-12 7:09 ` Pierre Neidhardt
2020-05-12 15:33 ` Christopher Lemmer Webber
2020-05-13 5:44 ` dftxbs3e
2020-05-13 7:56 ` Pierre Neidhardt
2020-05-12 6:10 ` dftxbs3e
2020-05-12 6:13 ` dftxbs3e
2020-05-12 20:53 ` hamzeh
2020-05-14 8:08 ` Christopher Baines
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.