Hi,
I'm an EXWM user on GuixSD. Lately I had the need to use adb (Android
debugger), for which I modified my `config.scm` file. I removed the
`%desktop-services` variable and instead modified it so that my phone
device could be detected. This was done because I got a message that dbus
(and udev sometimes) was being used by another service.
Now, my phone is detected with adb, but I'm unable to use EXWM from the
login screen at startup; it doesn't launch at all. When I choose
"emacs-exwm" from the login screen options, I'm thrown back at login. (Xfce
option works fine, however.)
I would really appreciate if you could take a look at my config.scm (also
attached) and inform me for any issues with it:
(use-modules (gnu))
(use-service-modules cups desktop networking ssh xorg)
(use-modules (gnu packages haskell-apps))
(operating-system
(locale "en_US.utf8")
(timezone "America/New_York")
(keyboard-layout (keyboard-layout "us"))
(host-name "puter")
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "meta")
(comment "Meta")
(group "users")
(home-directory "/home/meta")
(supplementary-groups '("wheel" "netdev" "audio"
"video")))
%base-user-accounts))
(packages (append (list (specification->package "emacs")
(specification->package "emacs-exwm")
(specification->package
"emacs-desktop-environment"))
%base-packages))
(services
(append (list (service xfce-desktop-service-type)
;; To configure OpenSSH, pass an 'openssh-configuration'
;; record as a second argument to 'service' below.
(service openssh-service-type)
(service tor-service-type)
(service cups-service-type)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
(modify-services %desktop-services
(udev-service-type config =>
(udev-configuration (inherit config)
(rules (cons (udev-rule
"51-android.rules"
(string-append
"SUBSYSTEM==\"usb\", ATTR{idVendor}==\"18d1\",
MODE=\"0666\", GROUP=\"plugdev\"\n"))
(cons kmonad
(udev-configuration-rules config)))))))))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(file-systems (cons* (file-system
(mount-point "/")
(device (uuid
"10ceedcd-cde6-4d0f-abf9-cf34ff8e3e2d"
'ext4))
(type "ext4"))
(file-system
(mount-point "/boot/efi")
(device (uuid "1CD4-CD1C"
'fat32))
(type "vfat")) %base-file-systems)))
Thank you.
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.
;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu))
(use-service-modules cups desktop networking ssh xorg)
(use-modules (gnu packages haskell-apps))
(operating-system
(locale "en_US.utf8")
(timezone "America/New_York")
(keyboard-layout (keyboard-layout "us"))
(host-name "puter")
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "meta")
(comment "Meta")
(group "users")
(home-directory "/home/meta")
(supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts))
;; Packages installed system-wide. Users can also install packages
;; under their own account: use 'guix search KEYWORD' to search
;; for packages and 'guix install PACKAGE' to install a package.
(packages (append (list (specification->package "emacs")
(specification->package "emacs-exwm")
(specification->package "emacs-desktop-environment"))
%base-packages))
;; Below is the list of system services. To search for available
;; services, run 'guix system search KEYWORD' in a terminal.
(services
(append (list (service xfce-desktop-service-type)
;; To configure OpenSSH, pass an 'openssh-configuration'
;; record as a second argument to 'service' below.
(service openssh-service-type)
(service tor-service-type)
(service cups-service-type)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
(modify-services %desktop-services
(udev-service-type config =>
(udev-configuration (inherit config)
(rules (cons (udev-rule
"51-android.rules"
(string-append
"SUBSYSTEM==\"usb\", ATTR{idVendor}==\"18d1\", MODE=\"0666\", GROUP=\"plugdev\"\n"))
(cons kmonad
(udev-configuration-rules config)))))))))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
;; The list of file systems that get "mounted". The unique
;; file system identifiers there ("UUIDs") can be obtained
;; by running 'blkid' in a terminal.
(file-systems (cons* (file-system
(mount-point "/")
(device (uuid
"10ceedcd-cde6-4d0f-abf9-cf34ff8e3e2d"
'ext4))
(type "ext4"))
(file-system
(mount-point "/boot/efi")
(device (uuid "1CD4-CD1C"
'fat32))
(type "vfat")) %base-file-systems)))