You are not logged in.
As the title says, my AwesomeWM installation is not accepting any modifications to the rc.lua file. I have made sure that there are no errors (ran LUA checks on the file) and tried copying the original file and only making one change (in this case, changing the editor from nano to vim) but no matter what I do, the changes don't take effect. The file itself gets modified and stays that way, but awesome just seems to ignore it. I also installed Awesome onto a debian VM to see if I could figure out what was wrong (this is my first time using awesome) and found that it seemed to work fine. I'm assuming that I'm missing some sort of package or something somewhere, but my searches haven't brought up any answers that have solved the problem.
edit: I also have KDE installed on the same machine, if that helps any.
Last edited by Narnith (2012-08-03 07:19:58)
Offline
Where is your rc.lua located? How do you start awesome?
Offline
rc.lua is in ~/.config/awesome and I start awesome with 'exec awesome' in .xinitrc. X gets started with SLIM.
Offline
How do you determine that your change to vim doesn't work? Maybe I'm wrong but I think the only default function is "edit config" from menu, but you mean that it doesn't open file in vim, right? The config says:
os.getenv("EDITOR") or "nano"
In that case if EDITOR is set it will not fall back on the second alternative.
I tested to change mine between editors and it works, and I use the standard packages.
Offline
I changed the line to be
editor = "vim"
I also tested this on the debian install for a control test, and it worked fine with vim, nano, vi, etc.
Offline
I'm sorry but I can't find any issues doing that. I change to whatever editor I choose, restart awesome, and start "edit config" from menu, and I get the editor of choice.
Something else must be wrong. If you by "original" config file mean the one installed, e g /etc/xdg/awesome/rc.lua, and you copied that one to your home folder, e g ~/.config/awesome/, any changes you make should work.
Offline
Changing the "editor" setting to vim will change the editor used to open, for example, rc.lua (check the menu option, as Kim Tjik mentioned). What it will not do is specify which terminal to open it in. Make sure you specify which terminal to use and make sure it's installed.
And if you were missing any packages, Awesome simply wouldn't have launched (or even installed, for that matter). Chances are you made errors, "awesome -k" didn't spot them, and Awesome reverted to the default config. That's all part-and-parcel with using Awesome, I'm afraid.
Offline
Check your .xsession-errors (should be the same for you). Its a file where awesome dumps any errors it finds. If your config is broken, the reason will be there.
Offline
Check your .xsession-errors (should be the same for you). Its a file where awesome dumps any errors it finds. If your config is broken, the reason will be there.
This should be under user home, right?
I also have the same issue (on a fully updated system). Awesome 3.4.13-1 didn't (it seemed) see my theme.lua, being the first change i made to it was to use feh directly to set wallpaper.
theme.wallpaper_cmd = { "feh --bg-center /home/bk201/config/awesome/themes/default/darkerthanblack.jpg" }wasn't working. tried switching to awsetbg, still didn't work. it only started setting my theme wallpaper until i changed the line to:
theme.wallpaper_cmd = { "awsetbg -f ~/.config/awesome/themes/default/darkerthanblack.jpg" }it also works if calling feh directly, not sure why it didn't while full path was set.
EDIT: NVM, still doesn't work. I can issue the command manually, works fine.
EDIT2: Got it to work, with custom font. Full paths are needed after all, and I had a file that was already setting a wallpaper (not sure how it got there but).
rc.lua
beautiful.init("/home/bk201/.config/awesome/themes/default/theme.lua")theme.lua
theme.wallpaper_cmd = { "awsetbg -f /home/bk201/.config/awesome/themes/default/darkerthanblack.jpg" }Last edited by s3kt0r (2012-08-11 00:05:40)
box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle
Offline
Just a hunch here . . . When you choose edit config from the menu, does the file you have modified get opened, or is it opening the /etc/xdg/awesome/rc.lua file? If it is opening the one in /etc, then try starting awesome in your /.xinitrc file with
exec awesome -c /path/to/your/modified/rc.luaSmarter than a speeding bullet
My Goodreads profile
Offline