From mboxrd@z Thu Jan 1 00:00:00 1970 From: gno Subject: Re: .xinitrc ignored Date: Sat, 20 Aug 2016 20:05:16 +0200 Message-ID: <20160820200516.03a63892@gmail.com> References: <20160819213320.32905286@gmail.com> <871t1k17zx.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb8lx-0001XL-Ci for help-guix@gnu.org; Sat, 20 Aug 2016 12:05:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb8lt-0004hE-4X for help-guix@gnu.org; Sat, 20 Aug 2016 12:05:24 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:35258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb8ls-0004gy-Um for help-guix@gnu.org; Sat, 20 Aug 2016 12:05:21 -0400 Received: by mail-wm0-x243.google.com with SMTP id i5so7178936wmg.2 for ; Sat, 20 Aug 2016 09:05:19 -0700 (PDT) In-Reply-To: <871t1k17zx.fsf@member.fsf.org> 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: =?UTF-8?B?5a6L5paH5q2m?= Cc: help-guix@gnu.org On Sat, 20 Aug 2016 10:36:50 +0800 iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) wrote: > gno writes: >=20 > > Hello guys ! > > > > First off, guix is great, even if it takes quite some time to get > > used to :) =20 > Yeah, welcome! >=20 > > > > I made it work in no time and am now running guixsd (lightweight > > desktop setup with awesome). I'd like to keep at it but I do need to > > solve 2 problems first. I was asking around in #guix and was > > referred to this email add. > > > > Is there any way to make it respect .xinitrc, preferrably when slim > > starts ? I use a diy keyboard with a custom xmodmap that needs to be > > loaded. I tried all kinds of things with ~ and > > root; .xinitrc, .xserverrc, .xsession (crashed w/o logs). =20 > Our slim only supports `.xsession', which can be a shell script with > executable permission. It accepts the session command selected by > the user, and should exec it (or something). My is look like: >=20 > --8<---------------cut here---------------start------------->8--- > #!/bin/sh >=20 > setxkbmap dvorak > $HOME/.fehbg > xrdb ~/.Xresources >=20 > # exec "$1" # uncomment this line to start the selected one=20 > exec dbus-launch --exit-with-session i3 > --8<---------------cut here---------------end--------------->8--- >=20 That makes sense ! I was missing exec "$1". Though, is there a way to have this script started before the actual session - i.e. so that I can type in my password using a proper layout ? I tried putting it into /root but its not being touched it seems. If not, I have to get rid of slim and start X directly. Any hints for a operating-system config to do that, or would it make more sense to start bare-bone and do guix package -i Xorg awesome after install or something ? > > > > Also, unfortunately awesome-wm is quite dated. I'd like to update > > it so that it is compatible with my config. There have been quite a > > few API changes. Is it feasible to try and package a newer version > > myself or did you not do it already because of missing dependencies > > or other complications ? =20 >=20 > Yes, the most important missing one is lua-lgi. And we don't have > other lua packages too, so I think it's most about figure out > how lua packages should works (finding them during applications > build and running) in guix. Yea, I got to that point as well. I'll try to make it work at least for me. I don't lua/guix well enough yet to come up with something sane that could be contributed.