You are not logged in.

#1 2016-02-23 17:09:36

Hypnocil
Member
Registered: 2016-02-23
Posts: 9

[SOLVED] Awesome launches as 3 terminals, on a blank screen.

I just did my first install of Arch.
Installed awesome according to: https://wiki.archlinux.org/index.php/Aw … stallation
I also set X to autosart according to: https://wiki.archlinux.org/index.php/Xi … X_at_login

When I startx I get 3 blank terminals, a black X for a cursor (when hovering outside of the terminals), and have no function from my super key.

I'm hoping this is just something simple I have overlooked, but I'm at a loss.

A photo of my problem that may help: http://s14.postimg.org/62gt0dayp/awesome_issues.jpg

Last edited by Hypnocil (2016-02-23 18:10:21)

Offline

#2 2016-02-23 17:13:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Awesome launches as 3 terminals, on a blank screen.

Please post your .xinitrc


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-02-23 17:41:54

Hypnocil
Member
Registered: 2016-02-23
Posts: 9

Re: [SOLVED] Awesome launches as 3 terminals, on a blank screen.

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
exec awesome

UPDATE: Awesome runs fine if I type it into one of the terminals, but it leaves one that when exited logs me out.

Last edited by Hypnocil (2016-02-23 18:00:26)

Offline

#4 2016-02-23 18:04:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Awesome launches as 3 terminals, on a blank screen.

You are running twm, not awesome. Look at the 5 lines before exec awesome
twm &   Starts twm in the background
The next three lines open three copies of xterm -- those are your three windows.  The last of those three does not have a '&' at the end.  That last copy does not run in the background, but rather blocks until it exits.  Therefore, exec awesome is not executed. 

Comment out or remove those 5 lines.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2016-02-23 18:08:38

Hypnocil
Member
Registered: 2016-02-23
Posts: 9

Re: [SOLVED] Awesome launches as 3 terminals, on a blank screen.

ewaller wrote:

You are running twm, not awesome. Look at the 5 lines before exec awesome
twm &   Starts twm in the background
The next three lines open three copies of xterm -- those are your three windows.  The last of those three does not have a '&' at the end.  That last copy does not run in the background, but rather blocks until it exits.  Therefore, exec awesome is not executed. 

Comment out or remove those 5 lines.

That fixed it I'll be sure to look closer next time.  Thank you.

Offline

Board footer

Powered by FluxBB