[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LXDE desktop in config.scm

From: znavko
Subject: LXDE desktop in config.scm
Date: Tue, 18 Sep 2018 16:58:52 +0000

Hello! GuixSD is nice for offers to users to have own software sets in one machine. I work with Guix and need more examples on how to write system config.
Please, help me to  write config.scm to use LXDE desktop with Xfce.
Here are presented only xfce-desktop-service, gnome-desktop-service, mate-desktop-service, but no lxde.
So here only mentioned packages, but no services.
I could only add (use-modules (gnu packages lxde)) but lxde did not appeared in login screen. Pressing F1 gives nothing.
Here I could not understand
Please, how to set up lxde with xfce and make lxde default? Where can I read about this?

#cat /etc/config.scm
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu)
             (gnu system nss)
             (gnu packages lxde)
             (gnu packages gnuzilla)
(use-service-modules desktop)
(use-package-modules certs gnome)

  (host-name "antelope")
  (timezone "Europe/Moscow")
  (locale "en_US.utf8")

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  ; (list (mapped-device
  ;        (source (uuid "12345678-1234-1234-1234-hash888abc"))
  ;        (target "my-root")
  ;        (type luks-device-mapping))))

  (file-systems (cons (file-system
                        (device "/dev/sda1")
                        (mount-point "/")
                        (type "ext4")
  (swap-devices '("/dev/sda2"))

  (users (cons (user-account
                (name "bob")
                (comment "bob is good too")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/bob"))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.
  (services (cons* (xfce-desktop-service)

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]