You are not logged in.

#1 2012-12-19 02:40:39

shoe
Member
Registered: 2012-12-19
Posts: 12

[Solved] Awesome WM rc.lua location

I'm running Awesome WM on Arch, I'm really fresh with this stuff so bare with me a seocnd smile

Currently, my effective rc.lua is at /etc/xdg/awesome/rc.lua
This posed a huge problem today. When I ran yaourt -Syyu, I believe Awesome may have updated from 3.4 to 3.5 and my rc.lua got overwritten during the update.

I see a lot of the internet referring to rc.lua at ~/.config/awesome/rc.lua
I assume I did something wrong during the install, and would like to fix it for best practice and to prevent future problems.

What can I do to get rc.lua working out of the right directory? I googled around and the most relevant discussion I found was here:
http://askubuntu.com/questions/172659/h … ome-rc-lua

But his solution is sort of vague and I don't think a tool is required to fix this. Any tips?

Last edited by shoe (2012-12-19 03:06:55)

Offline

#2 2012-12-19 02:44:06

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

Re: [Solved] Awesome WM rc.lua location

Arch Wiki Awesome entry wrote:

Awesome includes some good default settings right out of the box, but sooner or later you'll want to change something. The lua based configuration file is at ~/.config/awesome/rc.lua.

https://wiki.archlinux.org/index.php/Awesome


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-12-19 02:47:19

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [Solved] Awesome WM rc.lua location

jasonwryan wrote:
Arch Wiki Awesome entry wrote:

Awesome includes some good default settings right out of the box, but sooner or later you'll want to change something. The lua based configuration file is at ~/.config/awesome/rc.lua.

https://wiki.archlinux.org/index.php/Awesome

You're saying if I just cp it there, then it will work there?

I guess I thought it would be more complicated. I was expecting another config file that pointed to the path or something. Thanks Jason

Last edited by shoe (2012-12-19 02:55:09)

Offline

#4 2012-12-19 02:57:28

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

Re: [Solved] Awesome WM rc.lua location

shoe wrote:
jasonwryan wrote:
Arch Wiki Awesome entry wrote:

Awesome includes some good default settings right out of the box, but sooner or later you'll want to change something. The lua based configuration file is at ~/.config/awesome/rc.lua.

https://wiki.archlinux.org/index.php/Awesome

You're saying if I just cp it there, then it will work there?

I haven't run awesome in a while, but it worked back then and, according to the wiki, it still works now...

Please remember to mark your thread as [Solved] by editing your first post.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-12-19 03:05:48

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [Solved] Awesome WM rc.lua location

Right on. I read the wiki over and over but the wiki didn't really explain that the existance of one in ~/.config/awesome would take precedence over the one in the stock location. That's why I was scratching my head. Updated solved THANKS!

Offline

Board footer

Powered by FluxBB