PSA: awesomeWM 4.0 introduces breaking changes
Just a quick warning for all fellow awesomeWM users: The update will most likely break your custom config.
The best advice is to start from the default rc.lua and backport any changes you might have added to your rc.lua. This avoids most of the possible errors due to missing important changes.
About this post
- Posted
- Archived
- Score
- 71 · 100% up
- Kind
- Text
- ID
- 5pbhyd
9 comments
Ugh, it's annoying that I was surprised with having to fix my rc.lua, but this just seems buggy as all hell. I am having a lot of annoying problems that seem to occur at random times, so I don't even know how to reproduce them.
My volume buttons stop working, my terminal won't open using the menu or the shortcut, the run prompt won't run anything, if I cancel the run prompt I get an error message (without a readable message), the run prompt history goes away, popups from firefox have messed up text, and my clock is sometimes off by 5 hours (it just switches between GMT and GMT-5?). These all happen at the same time, so they seem to be caused by the same problem, but who knows wtf that could be...
All day I've been restarting awesome to fix the issues, but now it seems like it's constantly alternating between a good and a bad state.
I hear a lot of people like i3...
sorry, /rant
EDIT: For anyone having similar problems: It seems my problems were related to my custom battery and volume widgets. They were pretty simple, but I'm guessing there were some problems with my timers and the new API. Anyways, I just rewrote them, and everything seems fine, but it's just crazy that something so simple caused such seemingly unrelated problems.
EDIT2: Nope, still borked ¯\_(ツ)_/¯
XMonad has configs written in Haskell - statically / strongly type. I was always annoyed with trying to debug my awesome config when it broke.
So essentially that means if the config is 'broken' you'll get wonderful error messages indicating the issues - rather then 'buggy behaviour'.
I also think it's a lot more stable (less breaking changes) - from having read through old docs / configs.
I'm using the copycat themes which have been updated to work with the changes. It took a little bit of fumbling around because it wasn't cloning the freedesktop and lain directories correctly.
I ended up deleting it all and cloning the main repo, then the two dependant repos independently, and it worked fine.
I think the main people that are going to have issues are those who have their own carefully crafted rc.lua. Given the types of people that like AwesomeWM I imagine there are a few of you.
Yeah, the issue is that the maintainer created one of the sub modules using a git ssh address with his/her username rather than https.
Thanks. I had problems indeed.
I had no problems yet.
I just tried awesomewm 4.0 in Xephyr, with no custom rc.lua and it throws a lot of errors from the packaged files.
ps:
weed