From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GMSWGQk/9GZnvwAAe85BDQ:P1 (envelope-from ) for ; Wed, 25 Sep 2024 16:49:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GMSWGQk/9GZnvwAAe85BDQ (envelope-from ) for ; Wed, 25 Sep 2024 18:49:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=w8e7K3Yh; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727282953; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ao6ApXj6qQ9wVlXghctgSlO5zTJ+BteRzAWpKzIeQKY=; b=rvs2M3hTkD5iLTINCqifspT8giX8dlwJ3CqoUjF/PmRA7nSoGwcxKzk3RWlWXWevJY+hLc z6Sae/rfvrnrbPUlpxAxztsfXxMZuUKYFYtwJ3tr/c3lM9dqPVhtSF5YEfVthu1crg7tnn RDhrdNGxiNNZRFDFN9jnWZlIETtfXLRukR7/2HVry5n/wMWZMC5Y/eGZeBmWDJKeVSeiSR uP4ChJ+YkBq7w14QprOzOtpRcgjeT5H0TPegHogYRsmj3jjgzQHylJ1uSUjUBB3KQoR6v1 pgRRi3BilQTZtR6OWabpp5lDIu4QYwxvPNsIA8WrP56nFgQ78y/E4hIjvdc0yQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=w8e7K3Yh; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727282953; a=rsa-sha256; cv=none; b=aXbe0XtX75QH1RQhVxA+/v57L8W+7lXFcvTNe64lFgkcf8Lrne42EdT2oso5jHTJojnb2U QeLWdQfQOICpd/t8/FCy4BK8ZyGfop55SQT2WPG+b6M2MQiGkDITe9Zf5u5v+66msW09jm ehTB332twZLiSi89gov1x4zLlD8k7pLIetdv0xA+QLL8NCjc2JQhb7KEDS93LDhBAEyWHS jdaOGdcmxnLdkF1JIKDJ0rPXLUotrRhBSvsBrL5NojlzzInBZ0vt/YXEquCxAK9btf4vTN ARGedkegCJqZ6yZWfXAIU4zZwX3FB1V+6Oh47LsraXyVsmnLyuOINuaHn556sg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D7B2ADC42 for ; Wed, 25 Sep 2024 18:49:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stVBu-000470-3Y; Wed, 25 Sep 2024 12:48:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <7059548@protonmail.com>) id 1stVBq-00046T-IC for help-guix@gnu.org; Wed, 25 Sep 2024 12:48:34 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <7059548@protonmail.com>) id 1stVBo-0006NM-CK for help-guix@gnu.org; Wed, 25 Sep 2024 12:48:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1727282903; x=1727542103; bh=Ao6ApXj6qQ9wVlXghctgSlO5zTJ+BteRzAWpKzIeQKY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=w8e7K3YhyzeCGrqY1w6NJr4CohU6piwWqkNcaZQMfXlSde3B2+L1W9yhmPTHeewgc B8kRcYIwwS3LaD55sk3NKNLvmbHCbz+cLJLj/5WdIxNXB0YC7zrPLsO7cpApKdD9TP gnZoN7ikjMChm9WUjSyA51B40EJQqxxQDxIFudX6o8Pox/6QcSC29bpLuNzGdcm+J6 uZg7O3uzcgKiNjUd2aKT0quYq49ACs7yk1Ct6ZBUOB8D7RgD1oW08Bj/KZiTZzkaSW 7pMx7UHefVpJ0w1Vmuawwo98sZTAK5T2w3AiDgWiaZdzqEuDgU+gUl4XOvW4zoZ1XP YvEY+5uLDDDHQ== Date: Wed, 25 Sep 2024 16:48:18 +0000 To: indieterminacy From: Oleander <7059548@protonmail.com> Cc: help-guix Subject: Re: Could anyone using EXWM share their guix config? Message-ID: In-Reply-To: <6cd7f1151fbccdd04a02fe58098e4993@libre.brussels> References: <9F-BT-hIf5eajPqj27M20QmBBMr41BQ6Vcy_cThkje5SH6CM_edDZySsDwN5kSjRrBPk37JvmieplrxBAdZWk4zogKHcG6GaSt9G-ryBHYA=@protonmail.com> <6cd7f1151fbccdd04a02fe58098e4993@libre.brussels> Feedback-ID: 4963416:user:proton X-Pm-Message-ID: ffc1e478171eec4fdddc36539831b6787686eadd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.140; envelope-from=7059548@protonmail.com; helo=mail-40140.protonmail.ch X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.61 X-Spam-Score: -4.61 X-Migadu-Queue-Id: D7B2ADC42 X-Migadu-Scanner: mx10.migadu.com X-TUID: yNJoyo8J3nYs Hi Jordan, Arne, Ian and thanks for your support.=20 On Sunday, September 15th, 2024 at 6:39 PM, indieterminacy wrote: > Ive been having a go at this myself over the weekend but admittedly I > havent resolved it yet (my screen and keyboard froze). >=20 > Ive been hacking from these two configs (the second of which uses SX, > rather than Startx): > https://github.com/jsoo1/dotfiles/blob/release/guix/config.scm > https://codeberg.org/tuff-engin/GuixConfigurationSkeleton >=20 > I had recalled some mails regarding advances. > It seems that Tomas Volf's patches have made the procedure more > tangible: > https://issues.guix.gnu.org/68289 > https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/services/xorg.scm?i= d=3D9948816819e0af23587d75701ba81d797ef7ea29 > https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/services/xorg.scm?i= d=3De51a930c5c5a8609b8656bf997ec853cc04391e7 > https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/home/services/deskt= op.scm?id=3D8144c587f89641d5976d5b3832297d391d489fbd >=20 > The documentation is currently only in the branch Devel (I dont know if > that means it is currently in conventional OSes): > https://guix.gnu.org/manual/devel/en/html_node/X-Window.html > https://guix.gnu.org/manual/devel/en/html_node/Desktop-Home-Services.html >=20 > Ill have a go at resolving this but Im only (finally) getting used to > Home services, > so I may take some wrong paths. >=20 > I find it a little disapointing that there arent examples for this > functionality, > so that somebody can dive in without being an expert. > Even a pointer to a dotfiles with the new functionality would be swell. >=20 > Hopefully Ill resolve my own misunderstanding soon. >=20 > Hopefully I merely need to write a config file and then point to it. >=20 > Should this info help Id love to examine your config(s)! >=20 > I do love EXWM though and cherish avoid GUIs to login (and all the cruft > those setups entail) -- dont lose hope, its worth it! >=20 > Kind regards, >=20 >=20 > Jonathan I've been using this system config [1] so far and it works ok but it's stil= l not the (almost) perfect setup I run with Sway. I'd prefer to avoid installing all the dependencies that come with GDM (mut= ter, gnome-control-center, gnome shell, ecc.) but I could live with that un= til we can come up with something better. I still haven't figured out: - how to start udiskie automatically at boot. With Sway `exec udiskie` was enough. I think this is also possible with a G= uix service but I haven't had much time to mess with the code.=20 - how to set up a keybinding to toggle two different keyboard layouts. With= Sway I had to add `xkb_options grp:shift_caps_toggle` to the input code. - how to take screenshots and enable notifications in xorg without a deskto= p environment. With Sway I used grim and mako. - how to make Emacs PDFs not appear blurry, It was the same with Sway, but = never figured out how to fix it.=20 Unfortunately, before switching to Sway I only used xorg with DEs and I ha= ve no experience with the X config files. [1] ;; System config (use-modules (gnu) (gnu system)) (use-service-modules dbus desktop networking sound ssh xorg) (use-package-modules admin bootloaders certs emacs emacs-xyz glib screen ssh video wm xorg) (operating-system (host-name "t420") (timezone "Europe/Rome") (locale "en_US.utf8") (keyboard-layout (keyboard-layout "us")) (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sda")) (terminal-outputs '(console)))) (kernel-arguments (cons* "intel_idle.max_cstate=3D2" =09 %default-kernel-arguments)) =20 ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. (mapped-devices (list (mapped-device =09 (source (uuid "e4a3dcf5-c421-3157-61er-5fy712450j4t")) =09 (targets (list "guix")) =09 (type luks-device-mapping)))) (file-systems (append (list (file-system =09 (device (file-system-label "guix")) =09 (mount-point "/") =09 (type "ext4") =09 (dependencies mapped-devices))) %base-file-systems)) (swap-devices (list (swap-space (target "/swapfile")))) (users (cons (user-account =09 (name "oleander") =09 (comment "") =09 (group "users") =09 (home-directory "/home/oleander") =09 (supplementary-groups '("wheel" "netdev" =09=09=09=09 "audio" "video" "input"))) =09%base-user-accounts)) ;; System-wide packages. (packages (append (list dbus intel-vaapi-driver libva-utils openssh-sans-x screen emacs emacs-exwm emacs-desktop-environment wpa-supplicant xorg-server) %base-packages)) (services (cons* (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout) (extra-config '("Section \"InputClass\"\n" " Identifier \"libinput touchpad catchall\"\n" " Driver \"libinput\"\n" " MatchIsTouchpad \"on\"\n" " MatchDevicePath \"/dev/input/event*\"\n" " Option \"Tapping\" \"on\"\n" " Option \"TappingDrag\" \"on\"\n" " Option \"DisableWhileTyping\" \"on\"\n" "EndSection\n" "\n" =20 =09; https://wiki.archlinux.org/title/Libinput#Via_xinput "Section \"InputClass\"\n" " Identifier \"USB Mouse Pad USB Mouse Pad Mouse\"\n" " Driver \"libinput\"\n" " Option \"Middle Emulation\" \"on\"\n" " Option \"AccelSpeed\" \"1.0\"" "EndSection\n" "\n" "\n" "Section \"Device\"\n" " Identifier \"Intel Graphics\"\n" " Driver \"intel\"\n" " Option \"TearFree\" \"True\"\n" =09" Option \"DRI\" \"2\"\n" =09" Option \"AccelMethod\" \"sna\"\n" "EndSection" "\n")))) (modify-services %desktop-services =09=09 (gdm-service-type =09=09 config =3D> (gdm-configuration =09=09=09=09(auto-login? #t) =09=09=09=09(default-user "oleander")))))) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))