From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko Subject: Re: LXDE desktop in config.scm Date: Wed, 19 Sep 2018 20:54:15 +0000 Message-ID: References: <20180918214853.GA32214@jasmine.lan> Reply-To: znavko Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2jUj-0006eB-5b for help-guix@gnu.org; Wed, 19 Sep 2018 16:54:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2jUf-0007v6-LM for help-guix@gnu.org; Wed, 19 Sep 2018 16:54:44 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:20990) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g2jUd-0007pY-KU for help-guix@gnu.org; Wed, 19 Sep 2018 16:54:40 -0400 In-Reply-To: <20180918214853.GA32214@jasmine.lan> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: "help-guix@gnu.org" Thank you very much, Leo Famulari! Yes, only 2 changes in config make my sy= stem offers LXDE on login screen. These: adding to (use-modules (gnu packages lxde)) and adding to (packages (cons* lxde)) But I have 4 troubles now. First is that I have all DEs installed now, but I want only Xfce and LXDE. I have 5 elements on login screen now: - Xfce, as it was - KDE, - LXDE, as I wanted to add - Gnome - Openbox Sorry, why? I do not need KDE, Gnome. I thought this config only adds LXDE.= Please, what is wrong in my config? I only added lxde, gedit, icecat to (p= ackages) list and (gnu packages lxde), (gnu packages gnuzilla) to (use-modu= les) list. # 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 lxde %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)) The second problem is that in LXDE I cannot switch keyboard to another lang= uage. I added applet 'Keyboard handler', configured it not to use system co= nfigurations, added russian (and turkish to try), checked Left-Win and also= Alt-Shift for switch, but no keyboard keys, no mouse clicks to flag nothin= g giving effect. I have only US keyboard. How to figure? May be, I need to = add other packages to config.scm like lxde-common, lxpannel, lxinput? The third problem, when I add applet Volume control it does not appears. I = need something else to add to config? In Xfce I had nice pavucontrol applet= on a panel. Th fourth is that on Xfce and LXDE I have no menu icons in video players, a= lso in xfce-terminal: http://0x0.st/sxlH.png http://0x0.st/sxkQ.png What t= o do? I ask this cause last `guix system reconfigure /etc/config.scm` worked too = long on my Lenovo G50-30 and I need exact instructions that were never desc= ribed specially for me. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 =D1=81=D1=80=D0=B5=D0=B4=D0=B0, =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1= =80=D1=8C 19, 2018 12:48 =D0=BD=D0=BE=D1=87=D0=B8, Leo Famulari =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Tue, Sep 18, 2018 at 04:58:52PM +0000, znavko wrote: > > > Here are presented only xfce-desktop-service, gnome-desktop-service, ma= te-desktop-service, but no lxde. > > These services, which provide desktop using XFCE, GNOME, and MATE, are > defined in the file 'gnu/services/desktop.scm': > > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm > > Currently, we don't have a desktop service for LXDE. > > Maybe a service is not required? It's possible to use i3 without a > desktop service. One just adds 'i3-wm' to the 'packages' field of their > config.scm and it will be available at the login screen. > > > ;; This is where we specify system-wide packages. > > (packages (cons* nss-certs ;for HTTPS access > > gvfs ;for user mounts > > gedit > > icecat > > %base-packages)) > > You could try adding lxde to that list... > > > ;; 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)) > > ... and, unless you want to use XFCE, change that to (services > %desktop-services)