From owner-freebsd-ports@FreeBSD.ORG Thu Mar 29 07:49:53 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 53F5C106564A for ; Thu, 29 Mar 2012 07:49:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 850A514D985; Thu, 29 Mar 2012 07:49:52 +0000 (UTC) Message-ID: <4F741420.1030403@FreeBSD.org> Date: Thu, 29 Mar 2012 00:49:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Steve Frowly References: <1332779060.10007.YahooMailNeo@web121003.mail.ne1.yahoo.com> In-Reply-To: <1332779060.10007.YahooMailNeo@web121003.mail.ne1.yahoo.com> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "ports@freebsd.org" , "henry.hu.sh@gmail.com" Subject: Re: x11/slim env data gets lost X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2012 07:49:53 -0000 On 3/26/2012 9:24 AM, Steve Frowly wrote: > It's as if slim does not load /etc/login.conf I like slim for its small size, but it doesn't play nice with a variety of things (this is one of them). I solved the problem you described with environment variables by actually including them in my .xsession file. (In order to accommodate a variety of WMs my .xinitrc just calls .xsession, so everything gets the same environment.) Setting those things in .xsession isn't elegant, but it works, and ensures that the WM/DE itself has the same basic stuff (such as PATH) as my shells do. hth, Doug