Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Awesome WM: any rc.lua hangs with blank screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Sun Jul 12, 2009 4:41 pm    Post subject: [SOLVED] Awesome WM: any rc.lua hangs with blank screen Reply with quote

I'd like to begin using x11-wm/awesome-3.2.1-r3. The default config works per steps at http://en.gentoo-wiki.com/wiki/Awesome#Installation. I have removed the xsetroot line from .xinitrc, to debug the following problem:
Code:
~/.xinitrc:
#!/usr/bin/bash
xsetroot -solid black &
exec /usr/local/bin/awesome

When I add any minimal ~/.config/awesome/rc.lua file, the startup hangs, input is ignored, and the screen background is black.

The rc.lua can be any of the samples found on the web, or blank, or just a comment line, same effect. I've tried chmod a+rwx on the file, so it's not a question of access.

Thanks for any ideas.


Last edited by jeffk on Mon Jul 13, 2009 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
farhaven
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2008
Posts: 127

PostPosted: Mon Jul 13, 2009 3:41 pm    Post subject: Reply with quote

Awesome should send some output to stderr. Empty configurations lead to the "problem" described, as no tags are defined, no wiboxes are set up and no hooks are registered, which leads to new clients just appearing at (0,0).
Back to top
View user's profile Send private message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Mon Jul 13, 2009 3:55 pm    Post subject: Reply with quote

Yes, the problem was that if a file ~/.config/awesome/rc.lua is present, the default configuration is not read first. I was expecting my configuration file to be new and override values only, but the whole rc.lua must be built up from scratch. Easy enough to copy the default rc.lua and start customizing. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum