Re: [dev] Introducing XLSH

From: Anders Andersson <pipatron_AT_gmail.com>
Date: Fri, 21 Oct 2011 11:29:51 +0200

On Thu, Oct 20, 2011 at 6:16 PM, Bjartur Thorlacius
<svartman95_AT_gmail.com> wrote:
> On Thu, 20 Oct 2011 15:00:48 -0000, Anders Andersson <pipatron_AT_gmail.com>
> wrote:
>>
>> My .bash_profile looks like this:
>>
>> # auto startx if logging in at VC/1
>> if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
>>   startx >& ~/.myXLog
>>   logout
>> fi
>>
> Uhm, so you've configured bash to exit immediately after starting X if run
> as a login shell on tty1? Spawning bash only to spawn a wrapper script
> around xinit seems like an overkill.

It's not like I can remove bash if I stop using it for this, and the
extra milliseconds while starting X doesn't bother me much compared to
having a completely new program that replace those lines.
Received on Fri Oct 21 2011 - 11:29:51 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 21 2011 - 11:36:02 CEST