gnu: gnome: Remove '--disable-acceleration-check' flag from 'gnome.desktop'.
With this change the GNOME session is now listed in the log-in screen of GDM. * gnu/packages/gnome.scm (gnome-session)[arguments]: Remove 'disable-hardware-acceleration-check' phase. That phase was apparently no longer needed. Furthermore, GDM expects 'TryExec' to be a file name, not a file name followed by arguments; thus, the option led GDM to discard 'gnome.desktop' with "GdmSession: Command not found: TryExec".
This commit is contained in:
parent
b717d0f90e
commit
44a06c942c
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||||
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
|
;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
|
||||||
|
@ -4572,16 +4572,6 @@ such as gzip tarballs.")
|
||||||
(out (assoc-ref outputs "out")))
|
(out (assoc-ref outputs "out")))
|
||||||
(wrap-program (string-append out "/bin/gnome-session")
|
(wrap-program (string-append out "/bin/gnome-session")
|
||||||
`("PATH" ":" prefix (,(string-append glib "/bin"))))
|
`("PATH" ":" prefix (,(string-append glib "/bin"))))
|
||||||
#t)))
|
|
||||||
(add-after 'install 'disable-hardware-acceleration-check
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
;; Do not abort if hardware acceleration is missing. This allows
|
|
||||||
;; GNOME to run in QEMU and on low-end devices.
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(substitute* (string-append out
|
|
||||||
"/share/xsessions/gnome.desktop")
|
|
||||||
(("gnome-session")
|
|
||||||
"gnome-session --disable-acceleration-check"))
|
|
||||||
#t))))
|
#t))))
|
||||||
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
|
|
Loading…
Reference in New Issue