View previous topic :: View next topic |
Author |
Message |
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Sun Jul 12, 2009 4:41 pm Post subject: [SOLVED] Awesome WM: any rc.lua hangs with blank screen |
|
|
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 |
|
|
farhaven Tux's lil' helper
Joined: 17 Feb 2008 Posts: 127
|
Posted: Mon Jul 13, 2009 3:41 pm Post subject: |
|
|
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 |
|
|
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Mon Jul 13, 2009 3:55 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|