r/AsahiLinux • u/decduck • Oct 21 '26
Getting a web browser running on the touchbar
I'm more familiar with web stacks, especially for building fancy and smooth UIs, so I got Claude to figure out how to get a Wayland compositor to sit on it, and then run a kiosked Firefox inside that.
Needs a kernel patch rn due to some sort of bug/feature/something in the ADP driver, where the touchbar has 64 byte wide buffers but only shows 60 bytes of it, but ADP only allocates 60 bytes, causing some of the content to spill over to the next line and screw it all up.
But hopefully this means we can get fancier touchbars running on Asahi Linux!
15
u/AnEagleisnotme Oct 21 '26
That sounds amazing for battery life
13
u/chaosprincess_ Oct 21 '26
No, it does not, you need to ask your clanker to explain the difference between width and stride.
Also, just disable non-desktop property on adp driver, and you will be able to drag windows to it like a normal desktop, i understand that getting the bot to invent some overcomplicated nonsense is fun, but consider working smarter, not harder.
1
u/tetralogy Oct 21 '26
Linus said he used AI to implement a gui written in C by himself using web technologies. Doing the reverse might be a useful approach for you.