Skip to content

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.

71 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
71 · 100% up
Kind
Text
ID
5pbhyd

Author

1
posts
265
comments
0
media
View profile

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 ¯\_(ツ)_/¯

10 points

XMonad has configs written in Haskell - statically / strongly type. I was always annoyed with trying to debug my awesome config when it broke.

3 points

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.

2 points

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.

1 points

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.

2 points

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:

Xephyr :1
DISPLAY=:1 awesome
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.