From: Nils Gillmann <ng0@n0.is>
To: znavko <znavko@protonmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: LXDE desktop in config.scm
Date: Sun, 23 Sep 2018 16:26:28 +0000 [thread overview]
Message-ID: <20180923162628.q5rpkf4di3e3smb2@abyayala> (raw)
In-Reply-To: <OJtGA-DhE3p0sQUzqdnzZB0dASX8KtkXD3ZaM75ccnfk540wsYY3gSEmevAfG5mzuepG3N9XmX2whsUxduE2kEtzKQh8g_rCDiOkaGMxLmY=@protonmail.com>
znavko transcribed 5.3K bytes:
> Thank you very much, Leo Famulari! Yes, only 2 changes in config make my system 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 (packages) list and (gnu packages lxde), (gnu packages gnuzilla) to (use-modules) list.
I think KDE and GNOME appear (but you won't be able to use them iirc
since you don't have them) because LXDE in theory can be used with
other DMs. I never tested this capability in GuixSD and doubt that it
will work since I only cared about LXDE alone when I packaged
this. Just regard it as a sideeffect which should eventually get
fixed. If it bothers you too much, report a bug about it.
If you want to know why this happens: SLIM (or whatever login manager
you use) detects any .desktop file in a certain location. LXDE
provides these .desktop files.
>
> # 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 language. I added applet 'Keyboard handler', configured it not to use system configurations, added russian (and turkish to try), checked Left-Win and also Alt-Shift for switch, but no keyboard keys, no mouse clicks to flag nothing 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, also in xfce-terminal: http://0x0.st/sxlH.png http://0x0.st/sxkQ.png What to 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 described specially for me.
>
>
>
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> среда, сентябрь 19, 2018 12:48 ночи, Leo Famulari <leo@famulari.name> пишет:
>
> > On Tue, Sep 18, 2018 at 04:58:52PM +0000, znavko wrote:
> >
> > > Here are presented only xfce-desktop-service, gnome-desktop-service, mate-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)
>
>
>
prev parent reply other threads:[~2018-09-23 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-18 16:58 LXDE desktop in config.scm znavko
2018-09-18 21:48 ` 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 [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180923162628.q5rpkf4di3e3smb2@abyayala \
--to=ng0@n0.is \
--cc=help-guix@gnu.org \
--cc=znavko@protonmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).