From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: starting a window manager with xinitrc Date: Mon, 28 Aug 2017 20:35:49 -0400 Message-ID: <87pobfgqhm.fsf@netris.org> References: <87wp5qpnj5.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmUVp-0002wN-SY for help-guix@gnu.org; Mon, 28 Aug 2017 20:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmUVl-00085w-0K for help-guix@gnu.org; Mon, 28 Aug 2017 20:36:13 -0400 Received: from world.peace.net ([50.252.239.5]:46028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmUVk-00085g-SI for help-guix@gnu.org; Mon, 28 Aug 2017 20:36:08 -0400 In-Reply-To: <87wp5qpnj5.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> (Andrew Erlanger's message of "Sat, 26 Aug 2017 07:38:06 -0400") 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: Andrew Erlanger Cc: help-guix@gnu.org Hi, Andrew Erlanger writes: > Hello, Guix users. I've managed to get GuixSD running and am enjoying it > so far. To begin learning about the system, though, I am trying to set > up a minimal environment, and am having some trouble figuring things out. > > Specifically, I use the Emacs X Window Manager (found at > https://github.com/ch11ng/exwm), usually called exwm. What I can't > figure out is how to ``properly'' get exwm to be my primary window > manager, and to start from the login manager. Usually setting up exwm is > as simple as installing it from elpa, and then copying/linking the > provided xinitrc to the user's home directory. But I can't figure out > the equivalent method for GuixSD. Can someone point me in the right > direction? Thank you. If you create ~/.xsession, making sure that it has a proper shebang and is executable, it will be run when you log into X, ignoring whatever window manager selection was made within SLiM. The last thing ~/.xsession should do is to run your window manager in the foreground. Mark