From: znavko <znavko@protonmail.com>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: LXDE desktop in config.scm
Date: Tue, 18 Sep 2018 16:58:52 +0000 [thread overview]
Message-ID: <X5dPdMF9DshBnCZcSGuIqR-VBwWPCd-nbh1iQVDrZVAng_7WVliDXBTI5v82-4_ycrkGaKWPwZvHvdL-p47OjAG-YMhbPLjmURjx0_KgTU0=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2983 bytes --]
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 https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/lxde.scm 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 https://www.gnu.org/software/guix/manual/en/html_node/System-Configuration.html#System-Configuration
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)
(operating-system
(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'.
;(mapped-devices
; (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")
)
%base-file-systems))
(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"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
gedit
icecat
%base-packages))
;; 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)
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
[-- Attachment #2: Type: text/html, Size: 5695 bytes --]
next reply other threads:[~2018-09-18 16:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-18 16:58 znavko [this message]
2018-09-18 21:48 ` LXDE desktop in config.scm Leo Famulari
2018-09-19 8:06 ` Nils Gillmann
2018-09-19 8:37 ` Nils Gillmann
2018-09-19 20:54 ` znavko
2018-09-23 16:26 ` Nils Gillmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='X5dPdMF9DshBnCZcSGuIqR-VBwWPCd-nbh1iQVDrZVAng_7WVliDXBTI5v82-4_ycrkGaKWPwZvHvdL-p47OjAG-YMhbPLjmURjx0_KgTU0=@protonmail.com' \
--to=znavko@protonmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.