You are not logged in.

#1 2012-06-26 14:38:48

vertroa
Member
Registered: 2012-06-26
Posts: 9

Awesome WM

Bit of a newb question here, but I have been playing with awesome configs. I have every thing in ~/.config/awesome. I restart awesome and nothing changes. I assume I need to compile it or something, but I cannot find any documentation on how to do so. Help would be very much appreciated. smile

Offline

#2 2012-06-26 14:50:28

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Awesome WM

Post the rc.lua that you are trying to use. Also after making the changes, open a terminal and run "awesome -k", you may have some syntax errors.

Offline

#3 2012-06-26 14:53:34

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: Awesome WM

You don't need to compile anything and there's plenty of information on the arch wiki and awesome.naquadah.org.

As anonymous_user said you probably made syntax errors.

Offline

#4 2012-06-26 15:31:56

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Awesome WM

When you say "nothing changes," does that mean nothing at all, or just the appearance?  If you made syntax errors, then you'll just get all the default colors, keybindings, etc. and should also see an error message. If you're just trying to change the appearance, make sure your rc.lua points to the correct directory for the theme you want (by default, it uses the theme found in /usr/share/awesome/themes/default).  In the future, look into using Xephyr to test your changes without risking any crashes; details can be found in the Awesome wiki at their homepage.

Offline

#5 2012-06-26 16:08:59

vertroa
Member
Registered: 2012-06-26
Posts: 9

Re: Awesome WM

I checked and there are no syntax errors. I think it is reading the theme in share and not the one in my home directory.

Offline

#6 2012-06-26 16:43:30

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Awesome WM

Did you put the full path for the theme in your rc.lua? For example:

/home/username/.config/awesome/themes/themename/theme.lua

Offline

#7 2012-06-26 17:45:29

vertroa
Member
Registered: 2012-06-26
Posts: 9

Re: Awesome WM

anonymous_user wrote:

Did you put the full path for the theme in your rc.lua? For example:

/home/username/.config/awesome/themes/themename/theme.lua

I checked that and it was correct. I deleted my whole .config/awesome folder and restarted awesome and got the default awesome setup. I assume that I somehow need to tell awesome to load the config from my home directory instead of the shared one. In my xinitrc I just have exec awesome.

Offline

#8 2012-06-26 17:49:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Awesome WM

"exec awesome" is fine. Just copy the config files to your home folder:

mkdir -p ~/.config/awesome/
cp /etc/xdg/awesome/rc.lua ~/.config/awesome/

If you want to a custom theme, you should then copy that some in your home too. I use ~/.config/awesome/themes.

Maybe check the permissions on the folder/files?

Offline

#9 2012-06-26 17:53:18

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Awesome WM

vertroa wrote:

I checked and there are no syntax errors. I think it is reading the theme in share and not the one in my home directory.

It's important to note that "awesome -k" seems to check for standard Lua syntax errors, not necessarily those that incorrectly call for Awesome libraries (if I'm wrong about that someone should please correct me, but I've gotten the OK from "awesome -k" before despite errors being present).  You may need to go through rc.lua line-by-line.  Twice in the past I found myself unable to find errors, and had to just start over and make (and test) one change at a time to ensure that the config was alright.  Consider copying the default rc.lua to your ~/.config/awesome folder and seeing if changes to that affect the WM.  Of course, if it's just a matter of your theme path being incorrect, then none of what I said really applies. tongue

Last edited by ANOKNUSA (2012-06-26 17:53:37)

Offline

#10 2012-06-26 21:55:35

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: Awesome WM

Maybe just show us your rc.lua so we can see if there's something wrong with it?

Offline

Board footer

Powered by FluxBB