Hello, Pieter, On Thu, Dec 15, 2011 at 11:29 PM, Pieter Praet <[email protected]> wrote: > On Thu, 15 Dec 2011 20:00:12 +0800, Cong Wang <[email protected]> > wrote: >> I am trying to use Tony's config of awesome [1], >> but that doesn't work. Nothing happens even after reboot. >> >> I am using Fedora 16 if this matters. >> >> [wangcong@cr0]~% rpm -q awesome >> awesome-3.4.11-1.fc16.x86_64 >> >> [wangcong@cr0]~% rpm -q lua >> lua-5.1.4-9.fc16.x86_64 >> >> [wangcong@cr0]~% ls -l ~/.config/awesome >> -rw-rw-r--. 1 wangcong wangcong 740 Dec 15 19:02 helpers.lua >> -rw-rw-r--. 1 wangcong wangcong 640 Dec 15 19:18 personal.lua >> -rwxrwxr-x. 1 wangcong wangcong 20464 Dec 15 19:02 rc.lua >> -rw-rw-r--. 1 wangcong wangcong 3442 Dec 15 19:02 README.md >> drwxrwxr-x. 3 wangcong wangcong 4096 Dec 15 19:02 themes >> drwxrwxr-x. 5 wangcong wangcong 4096 Dec 15 19:05 vicious >> >> Does anyone know what I am missing? >> > > What does "nothing happens" mean, precisely?
I mean I can't see any visible changes, with Tony's config at least I should see some widgets in the right-upper corner. > > What did you do and what did you expect when nothing happened? Simply copy Tony's config, followed the instructions in README. > > Is this the very first time you're starting awesome (if so, please try > using the default config first, in order to rule out config-related > issues), or has it stopped working since introducing the custom config > you're referring to? > > > The following might be totally out of place [1], but just to be sure: > > Keep in mind, if you're starting X using `startx', you should add > something like this to your .xinitrc: > > #+begin_src sh > test -x /usr/bin/ck-launch-session \ > -a -x /usr/bin/dbus-launch \ > -a -x /usr/bin/awesome \ > && exec ck-launch-session dbus-launch awesome > #+end_src > > If you're using a login manager (eg. GDM or some such atrocity), check > its documentation regarding adding "profiles" or something similar. Finally, I got a script to test awesome config, #!/bin/sh ## ## test.sh ## Login : <ctaf@ctaf-maptop> ## Started on Thu Sep 3 15:29:14 2009 Cedric GESTES ## $Id$ ## ## Author(s): ## - Cedric GESTES <[email protected]> ## ## Copyright (C) 2009 Cedric GESTES ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 3 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## Xephyr -ac -br -noreset -screen 800x600 :1 & sleep 1 DISPLAY=:1.0 awesome -c ~/.config/awesome/rc.lua and I can see some errors now: /usr/share/awesome/lib/beautiful.lua:37: bad argument #1 to 'pairs' (table expected, got nil) /usr/share/awesome/lib/beautiful.lua:37: bad argument #1 to 'pairs' (table expected, got nil) Thanks. -- To unsubscribe, send mail to [email protected].
