From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cDl9BrnKWGBoWwAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 16:50:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6D9nArnKWGA1CwAA1q6Kng (envelope-from ) for ; Mon, 22 Mar 2021 16:50:01 +0000 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 4F76F1110B for ; Mon, 22 Mar 2021 17:50:00 +0100 (CET) Received: from localhost ([::1]:39642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lONkc-0001db-Ro for larch@yhetil.org; Mon, 22 Mar 2021 12:49:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lONkS-0001b2-AO for help-guix@gnu.org; Mon, 22 Mar 2021 12:49:48 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lONkO-0001mS-CP for help-guix@gnu.org; Mon, 22 Mar 2021 12:49:47 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E24C95796D; Mon, 22 Mar 2021 17:49:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8I-QNz__G2T8; Mon, 22 Mar 2021 17:49:35 +0100 (CET) References: <87sg4ob1sb.fsf@disroot.org> <21d02d80f2321ab6c50a5c632e9fa353@dismail.de> <87pmzsawjs.fsf@disroot.org> <87y2efnbhr.fsf@dismail.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1616431773; bh=Sej/KE0GzSc018n+1f+/u0Vxqy6ypv+ttqP2C/Xyxws=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=mX6Ansgw5svDJfe0exYLMfEXrskDoI3kv8dz7T+Tg6qkCQuJotBvJlzSsArSbRo8+ Ytau4RyrF76qA4OgLApxr2a2tGvUNjUbPNk90sDsSPgg0k9h4XEkUR2QTSHoAYcTff GSj8NNwnjK4/efWSEUAOtQ68HB32MZSSEWgZeD30wDcGcGo2CykVB5JMYdh8tmtC08 ZfO9x2WKM+zKpRfCaRv6z/mK68aUcKUugo196E29Nnt2iEA3Tj6HAAJsJxL5ZjJTPe /eic63YHLagj5x12rgCNcbINiksKP7EN5kN2tkGLgXKcB+CU1/g4NugswVX2dtHwml 1ro9Cav+pDdPg== From: Gary Johnson To: Bone Baboon Cc: help-guix@gnu.org Subject: Re: Start Xorg server using xinit manually In-reply-to: <87y2efnbhr.fsf@dismail.de> Date: Mon, 22 Mar 2021 12:49:17 -0400 Message-ID: <874kh33zhu.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=lambdatronic@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_PH_BODY_ACCOUNTS_PRE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616431800; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RSGRCKexm6mTDC5qM9Pc0WUANC1Mfe+phjPVf5oS50I=; b=L7grSt9Cn9hXIc4UZgnxGyd0tEctescdepmFTQQxZFljeMfvVOos7k/H2+vfAJXnoBpuuc JVkQ6E6+elGHZnHtzhslg2gPz88lr1sIWwFzbQaiiy5yDyLHojJw3Smw+A+uUkphtT14YS YpAbyMLyfWj/xemswFly09kKMCRYANGqQ8Sbct4fCbEURk3YU+rQuUUD/BhTsadRPoUuEM ydCsdR1C80O4It9tR7aCQ1YPBUz9IVb2iIxlc6iSouV+e0DJs1DKFuRRltKUPPhxHbEZtJ lmannzOwh9ZpOrytRZ7YvOwwbFNSr/taPTr/q8bmdjqyoiBOfJL3MiHYnMcm2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616431800; a=rsa-sha256; cv=none; b=qs0H7H5dQzRjEB/cHVjyWzAr4k3RM1N4dA6qcKijpxIFgPirfggOZrcQ4EXkaL/0kl9q6J xBMl34IoHxM+Q0FI7Qb62PX5kIpUXx4zFITCmOBoCMWaP7jkQiz0B2dXKpw41OUgnMY8bl sLl06iSiEGHSnSPrlckMh29Zu3dO/rdzq9OhphXdZ2JHXQgSEjX6V8TZ+8ajafGVnlupTY dGa3WaQsCtG1XPV+ivKIAyIHbV2BCqX5c04+m+/wT3BY76IfzaOVwEkPpVmGtkrlJWBXm9 Q9o2NERZpGbCgagZlo7JcVOlQHsz55l7VvXzwwuxxKcS31XZGAxKuDkdL6PaBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mX6Ansgw; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mX6Ansgw; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 4F76F1110B X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: CF64bBbCgw5z > March 21, 2021 6:31 PM, "Bone Baboon" wrote: > > I am trying to manually run `xinit` so that I can use Emacs X Window > Manager (EXWM). I have EXWM configured in my Emacs configuration file. > I have a small number of important graphical applications I want to > run in EXWM (web browser, Jami, qTox, ...). Hi Bone, I run EXWM under Guix System. You don't need to manually start Xorg with xinit, startx, or any other command. First, make sure that you are installing emacs and emacs-exwm into your packages list. Also make sure that your services list includes %desktop-services. Here's a skeleton operating-system definition to build off of: (operating-system ... (packages (cons* nss-certs ; HTTPS access emacs emacs-exwm %base-packages)) (services (cons* whatever-else you-want %desktop-services))) Start by installing this operating-system definition with the usual `sudo guix system reconfigure my-config.scm`. Then update your $HOME/.xsession file to include this at the end: # Start Emacs with the script here: /run/current-system/profile/bin/exwm exwm Finally, update $HOME/.exwm to include all your EXWM-specific Emacs Lisp code. When you reboot your machine, you'll be presented with a simple graphical login screen. Just type in your username and password for the user account with the updated $HOME/.xsession and $HOME/exwm files and log in. X will start up, your $HOME/.xsession file will be read, which will launch exwm. This will start up a full screen emacs instance that evaluates your $HOME/.exwm file and then your $HOME/.emacs.d/init.el file. That's all there is to it. Now you've got a fully graphically enabled Emacs instance running as a tiling window manager over X. Have fun and happy hacking! ~Gary -- GPG Key ID: 7BC158ED Use `gpg --search-keys lambdatronic' to find me Protect yourself from surveillance: https://emailselfdefense.fsf.org ======================================================================= () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Why is HTML email a security nightmare? See https://useplaintext.email/ Please avoid sending me MS-Office attachments. See http://www.gnu.org/philosophy/no-word-attachments.html