From mboxrd@z Thu Jan 1 00:00:00 1970 From: someone@selfhosted.xyz Subject: Re: I installed GuixSD on my laptop Date: Sun, 4 Jun 2017 02:32:39 +0200 (CEST) Message-ID: References: <86942c60-38fb-7cd4-7162-72705c50c15a@cock.li> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHJXs-0003SH-E7 for help-guix@gnu.org; Sat, 03 Jun 2017 20:37:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHJXp-0006pF-73 for help-guix@gnu.org; Sat, 03 Jun 2017 20:37:28 -0400 Received: from server0.selfhosted.xyz ([185.147.237.19]:51262) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHJXo-0006hi-Gz for help-guix@gnu.org; Sat, 03 Jun 2017 20:37:25 -0400 In-Reply-To: <86942c60-38fb-7cd4-7162-72705c50c15a@cock.li> 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: nee Cc: help-guix@gnu.org On Sat, 3 Jun 2017, nee wrote: > Hello everyone, a few months ago I installed GuixSD 0.12 in a luks > encrypted partition on my laptop. Here are some problems I have with it > so far. > > 1. How do I set the locale in the login manager and Grub. > I have a German keyboard, but the system boots with an english > key-setting and only changes when I enter gnome or xfce (I had to set > them up via their guis). Is there any GuixSD-level setting for this? The > install manual didn't mention it. > It's a real pain to enter my password like this. > > 2. I have to enter my disk-encryption-password two times on every boot. > Once before grub and one time when shepard boots up. I have my > bootloader on a diferent drive, might this be related to the issue? Someone might have better suggestions but until then here's my thoughts on it: There's some step-by-step instructions for setting up a grub-password and then setting a path to a luks keyfile in grub on a system using Libreboot and Parabola here: https://wiki.selfhosted.xyz/doku.php?id=it:computer_setup:encrypted_parabola_installation_guide#boot_configuration This could possibly be adapted to GuixSD. In short the steps involved (without setting up grub's password authentication) are: -generate key and add to your luksdrive dd bs=512 count=4 if=/dev/urandom of=/etc/my_cryptkey iflag=fullblock cryptsetup luksAddKey /dev/sda1 /etc/my_cryptkey -Regenerate initramfs (using the mkinitcpio bash-script) zile /etc/mkinitcpio.conf FILES="/etc/my_cryptkey" mkinitcpio -p linux-libre (or linux-libre-lts or linux-libre-grsec or all of them) -Then add a configuration line to your grub config's default menu-entry on the linux-line: linux /boot .... cryptkey=rootfs:/etc/my_cryptkey For details on setting up the password etc see the link above. Hopefully, there is a way to define this in a guile system declaration. > > 3. When I enter one wrong password on the first disk-encryption-prompt > (before grub) I get thrown into a grub console. It should give me a few > more tries. > > 4. ibus is not working in xfce. I copied the paths from the popup of > ibus-setup into my .bashrc, but even after login out, I couldn't get any > program to actually use ibus. I also had no success in gnome later. I > was trying to get Japanease input to work. > > 5. I've been using thunderbird with Enigmail previously. I think I read > on irc that icedove would be the way to go, and that it hasn't been > packaged yet. > Enigmail is really neat, so I wouldn't want to be without it. > > 6. My laptop has an Nvidia and an Intel graphics card, how do I force > intel to be active? > The Nouveau drivers can't do any 3d stuff at a bearable framerate, > probably due to it's dependence on blobs. > I wonder if Intel would perform better. How would I switch between them > on GuixSD? > > 7. I have this wifi stick: > https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb > Is the driver already packaged for guixsd? > > * An unrelated story: > I had to install GuixSD twice, because I forgot to punch "(dependencies > mapped-devices)" into my file-system configuration. > So shepard would not boot up properly and after some time I got a guile > debug repl. > I see that this is my own fault, for not reading the docs properly. > I hope the new ncurses installer will help to prevent such mistakes. > > * Not a problem: Touchpad works different > My first observation was that the touchpad was not working correctly. > The touchpad only works for mouse movement. > Clicking by tapping any point on the pad does not work. > Scrolling by moving down/up the right edge does not work. > > I use the hardware buttons below it for clicking, but I wonder, aren't > there some laptops without those? > Later I found out that scrolling works with two fingers and this whole > setup is actually much better, since I do way less misclicks that way! > > * xf86-input-synaptics? > Because I previously tried nixos I directly installed > xf86-input-synaptics with my installation. I never tried to use my > system without it. If it is required it should be mentioned in the docs. > > Have a nice day, and happy hacking on GuixSD! >