[LAU] No joy with AVlinux

Sean Corbett seanbutnotheard at gmail.com
Fri Dec 3 15:55:54 UTC 2010


On Thu, Dec 2, 2010 at 3:49 PM, Folderol <folderol at ukfsn.org> wrote:
> add to end of /home/{username}/.bash_profile
>        startx

Instead of a blind "startx", you may find it handy to make your
.bash_profile a little smarter... i.e., here's what I use (on Arch):

if [[ "$DISPLAY" = "" ]] && [[ "$(tty)" = "/dev/tty1" ]]; then
  startx &> .xsession-log
  logout
fi

This way, you can log into another virtual terminal (Ctrl-Alt-F2 for
example) and do some debugging in the background.  Or it's handy if
you don't feel like firing up X at all.

-sean


More information about the Linux-audio-user mailing list