From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: .xinitrc ignored Date: Sat, 20 Aug 2016 10:36:50 +0800 Message-ID: <871t1k17zx.fsf@member.fsf.org> References: <20160819213320.32905286@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bawA8-0000lJ-A4 for help-guix@gnu.org; Fri, 19 Aug 2016 22:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bawA2-0004I6-9W for help-guix@gnu.org; Fri, 19 Aug 2016 22:37:31 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:40887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bawA2-0004Hm-2w for help-guix@gnu.org; Fri, 19 Aug 2016 22:37:26 -0400 In-Reply-To: <20160819213320.32905286@gmail.com> (gno's message of "Fri, 19 Aug 2016 21:33:20 +0200") 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: gno Cc: help-guix@gnu.org gno writes: > Hello guys ! > > First off, guix is great, even if it takes quite some time to get used > to :) Yeah, welcome! > > 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). 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: --8<---------------cut here---------------start------------->8--- #!/bin/sh setxkbmap dvorak $HOME/.fehbg xrdb ~/.Xresources # exec "$1" # uncomment this line to start the selected one exec dbus-launch --exit-with-session i3 --8<---------------cut here---------------end--------------->8--- > > 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 ? 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.