Re: awesome and TTYs

2010-08-17 Thread Bill Sun
On Tue, Aug 17, 2010 at 09:54:03AM +0200, Cyprien Nicolas wrote: > > Hi bill > > Hem, Awesome could not be responsible for your problem, this is purely > an Xorg one, but your .xinitrc could be responsible. > > First of all, you shall not use exec in a shell script but for managing > the shell's

Re: awesome and TTYs

2010-08-17 Thread Satoshi Hayazaki
On Tue, Aug 17, 2010 at 3:54 AM, Cyprien Nicolas wrote: > > On 08/16/2010 04:38 PM, Bill Sun wrote: > > On Mon, Aug 16, 2010 at 11:03:43AM -0300, Vitor Eiji Justus Sakaguti wrote: > > > > Hi, > > > >> Could you investigate what is the value of $DISPLAY after you quit awesome? > >> Also, your .xini

Re: awesome and TTYs

2010-08-17 Thread Cyprien Nicolas
On 08/16/2010 04:38 PM, Bill Sun wrote: > On Mon, Aug 16, 2010 at 11:03:43AM -0300, Vitor Eiji Justus Sakaguti wrote: > > Hi, > >> Could you investigate what is the value of $DISPLAY after you quit awesome? >> Also, your .xinitrc might be useful. >> >> Vitor > > I tried to "echo $DISPLAY" while

Re: awesome and TTYs

2010-08-16 Thread SamLT
On Tue, Aug 17, 2010 at 09:22:24AM +0800, Bill Sun wrote: > Hi, > > On Mon, Aug 16, 2010 at 01:38:03PM -0400, Tomás Solar Castro wrote: > > It happens to me too, and not just with awesome; with xfce, GNOME, wmii, > > etc, it works like that. > > Before I switched to awesome, I had been using open

Re: awesome and TTYs

2010-08-16 Thread Bill Sun
Hi, On Mon, Aug 16, 2010 at 01:38:03PM -0400, Tomás Solar Castro wrote: > It happens to me too, and not just with awesome; with xfce, GNOME, wmii, > etc, it works like that. Before I switched to awesome, I had been using openbox for a long time. It seems that openbox doesn't have such a issue(at

Re: awesome and TTYs

2010-08-16 Thread Tomás Solar Castro
Bill Sun writes: > Hi list: > > I just switched to awesome. Basically, It works well for me, > But I still have a weird problem: > The first time I run awesome (at TTY1), It starts at TTY7(Ctrl-Alt-F7), > then I quit awesome, and restart awesome > (or restart more than 1 time, It's always the sam

Re: awesome and TTYs

2010-08-16 Thread Bill Sun
On Mon, Aug 16, 2010 at 11:03:43AM -0300, Vitor Eiji Justus Sakaguti wrote: Hi, > Could you investigate what is the value of $DISPLAY after you quit awesome? > Also, your .xinitrc might be useful. > > Vitor I tried to "echo $DISPLAY" while X is running: the value of $DISPLAY is ":0.0" After

Re: awesome and TTYs

2010-08-16 Thread Vitor Eiji Justus Sakaguti
On Mon, Aug 16, 2010 at 1:43 AM, Bill Sun wrote: > I use archlinux, xorg 1.8.2, Intel i915 graphic card, > and I don't use any "Display Manager" such as GDM. > my bash_profile: > > . $HOME/.bashrc > > if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then >    startx >    logout > fi Hi, Could

awesome and TTYs

2010-08-15 Thread Bill Sun
Hi list: I just switched to awesome. Basically, It works well for me, But I still have a weird problem: The first time I run awesome (at TTY1), It starts at TTY7(Ctrl-Alt-F7), then I quit awesome, and restart awesome (or restart more than 1 time, It's always the same), It always starts at TTY8, TT