Re: SliTaz Tweaking

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hi,

> Okay, so I have compiled and installed 'rungetty' so as to
> autologin: /etc/initab tty1::respawn:/sbin/rungetty tty1 --autologin
> hacker 

Nice idea
 
> But, here is the tricky part.. My .xinitrc file keeps getting
> overwritten & my .bash_profile is not being read.  

Use ~/.profile so it's read by Ash.

> ------------------------------------------------------------------
> ..bash_profile: 
> if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
> while [ 1 == 1 ]
>         do
>                 startx
>                 sleep 3
>         done
> fi 
> ---------------------------------
> 
> I believe I have made bash my default shell as I have edited
> the /etc/shells and the only shells I have listed are /bin/bash
> & /bin/sh.

Listed for conveniance. Bash is not installed by default -700 Ko... So,
we modified for example alsaconf to become soundconf ans Ash
compatible. If you can't live without Bash...

 # tazpkg get-install bash

>  I have went through files and scripts but do not see where .xinitrc
> is 'refreshed' or in my case getting overwritten.

~/.xinitrc is created (dont exist by def) or modified by /usr/bin/tazx.
This dialog box is in slitaz-tools package and Hg repository. I you
want to clone:

http://hg.slitaz.org/slitaz-tools

> Any answers or thoughts ? 

A note: in live mode ~/.xinitrc is created for hacker and root (yes
people login as root...) when the screen resolution is configured by
tazx, but we must think at ~/.xssession who is used in case of
screen=text and start.

- Christophe


---
SliTaz GNU/Linux Mailing list.
Web site : http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/