Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 13909  / 3 Years ago, fri, may 7, 2021, 7:38:12

I've been trying different configurations on awesome wm, but suddenly awesome stopped loading ~/.config/awesome/rc.lua on startup, and now only loads the default configuration at /etc/xdg/awesome/rc.lua.



I tried starting from scratch and copying the default to ~/.config/awesome, but that didn't seem to work. What can be causing awesome to stop loading my custom file? How do I even debug it? I tried awesome -k and it says everything's OK.


More From » awesome

 Answers
4

Ok, I figured it out. Debugged it using Xephyr.



Basically, I figured out that if there's an error in rc.lua, awesome rejects it and loads the default rc.lua from /etc/xdg/awesome. The trouble is, those errors don't often affect awesome -k, which still shows "Syntax OK!". Debugging using Xephyr, though, while a pain to set up, allows you to see more verbose error messages and pinpoint the problem. For me, I was missing a command that rc.lua refers to, a compositor. Installing the compositor fixed the problem.


[#36344] Saturday, May 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingsta

Total Points: 391
Total Questions: 103
Total Answers: 124

Location: Bonaire
Member since Wed, Mar 29, 2023
1 Year ago
;