Re: Lock screen gnome
Hi Peter, "Peter Baumgarten" writes: > I just installed guixsd with gnome, but I can not lock the screen when > hit the meta key + L > > Is there anything extra I need to do add this functionality below is > the config.scm I am using AFAIK, the lock screen requires GDM, which currently does not work on GuixSD [1]. For now, I use xlock to lock my screen. If I want to lock and suspend, I use the following rather unglamorous command: $ xlock & (sleep 3; loginctl suspend) If anyone has any better advice, I would love to hear it! Someday I would like to return to fixing GDM, but I am a bit traumatized. It is a very slow and frustrating package to debug. 1. https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00268.html https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00231.html > [...] -- Tim
Lock screen gnome
I just installed guixsd with gnome, but I can not lock the screen when hit the meta key + L Is there anything extra I need to do add this functionality below is the config.scm I am using (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules certs gnome gnuzilla emacs video) (operating-system (host-name "guix") (timezone "Europe/Paris") (locale "en_US.utf8") ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons* (file-system (device (file-system-label "my-root")) (mount-point "/") (type "btrfs")) (file-system (device (file-system-label "my-boot")) (mount-point "/boot") (type "ext2")) (file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat")) %base-file-systems)) (swap-devices '("/dev/sda3")) (users (cons (user-account (name "me") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/me")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts icecat ;main web browser emacs ;emacs youtube-dl ;download youtube videos %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* (gnome-desktop-service) %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))
Re: how to customize shell prompt (for emacs tramp compatibility)
Hi! George Clemmer writes: [...] > --8<---cut here---start->8--- > ;; Make tramp work from macOS to GuixSD > (require 'tramp) > (setq tramp-remote-path > (append tramp-remote-path > '(tramp-own-remote-path))) > (setq tramp-remote-path > (append tramp-remote-path > '("~/.guix-profile/bin" "~/.guix-profile/sbin" > "/run/current-system/profile/bin" > "/run/current-system/profile/sbin"))) > --8<---cut here---end--->8--- great, it worked! (I'm on Debian, so it's cross OS ;-) ) > The net effect ends up cached on the mac in ~/.emacs.d/tramp ... > > --8<---cut here---start->8--- [...] > ("ls" "/run/current-system/profile/bin/ls --color=never") [...] > --8<---cut here---end--->8--- the same here: with the above tramp-remote-path definition, it found a proper ls on the remote guix(SD) host thank you very much! happy hacking! Gio P.S.: from an "old school" sysadmin with FHS printed in every neuron, guix is a mind blowing and refreshing experience :-) -- Giovanni Biscuolo Xelera IT Infrastructures signature.asc Description: PGP signature
guix pull error: symlink
Hi, don't know how but I someway, sometime, messed up permissions in my normal user home and some files/dirs were owned by root [1] now I changed the owner of my entire $HOME but "guix pull" still gives me this error: --8<---cut here---start->8--- gbiscuolo@guixsdtest:~$ guix pull Migrating profile generations to '/var/guix/profiles/per-user/gbiscuolo'... guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/gbiscuolo/current-guix-1-link" --8<---cut here---end--->8--- please how can I fix this? thanks! Giovanni [1] maybe I mede some error using "sudo guix..." instead of the recommended "sudo -E guix..." -- Giovanni Biscuolo Xelera IT Infrastructures signature.asc Description: PGP signature