Going to try and install asahi (debian bananas flavor) this weekend on my old M1. Wish me luck!

#asahi #asahilinux

I've been trying to do this, but I told myself before I did, I would get my macbook in good working order mechanically, so finally fix the sticky key spacebar and then:

  • actually bookmark any important tabs, make those social media posts about anything else, and send those links to people I meant to, so I can close ALL my tabs
  • make sure ALL of my data is actually backed up to nextcloud, and also at least somewhat organized so I can actually find it again when I move to asahi
  • remove all software I don't use, and make notes of either open source alternatives, if needed

So far I fixed the spacebar on my macbook, and let me tell you, it is a delicate pain in the ass. You need like, a playing card or an index card, and a tooth pick, and a tooth brush, and 99% IPA. Also, get this: there's a QR code under the spacebar that is alcohol soluble D: So if you get any alcohol on the QR code, you'll smear the ink all over everything 

Anyway, now that that pain is over, I'm onto closing all these tabs I don't need, but boy is that also pain, becuase a lot of it is stuff I wanna buy, but can't justify breaking the budget on right now D:

I've done it! I've closed every non-essential tab! Now all that's left is to get all my data into nextcloud, and then make sure any software I have is either backed up or removed or whatever. SO. CLOSE.

Switching the OS of your daily driver is pain, but worth it when you're going harder on FOSS! I don't want to get rid of this laptop, because there's nothing actually wrong with it. It's got 32GB of memory. It has a really nice screen. It has the keyboard I love. It has 2TB of storage. It's literally the nicest laptop I've ever owned, and it was free. I have to make this work, but I just can't tolerate Apple anymore.

This is harder than switching from samsung to fairphone though...

OK, I've cleaned out all the apps I don't need anymore, and backed everything up that was related to them. I cleared out my Downloads folder (a massive feat, honestly), and now I'm going through my home directory one last time to make sure there's nothing I wouldn't be ok losing, and I find a file with no extension just called shrek from 2023. I cat it and it's just:

⢀⡴⠑⡄⠀⠀⠀⠀⠀⠀⠀⣀⣀⣤⣤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠸⡇⠀⠿⡀⠀⠀⠀⣀⡴⢿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠑⢄⣠⠾⠁⣀⣄⡈⠙⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⢀⡀⠁⠀⠀⠈⠙⠛⠂⠈⣿⣿⣿⣿⣿⠿⡿⢿⣆⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⡾⣁⣀⠀⠴⠂⠙⣗⡀⠀⢻⣿⣿⠭⢤⣴⣦⣤⣹⠀⠀⠀⢀⢴⣶⣆ ⠀⠀⢀⣾⣿⣿⣿⣷⣮⣽⣾⣿⣥⣴⣿⣿⡿⢂⠔⢚⡿⢿⣿⣦⣴⣾⠁⠸⣼⡿ ⠀⢀⡞⠁⠙⠻⠿⠟⠉⠀⠛⢹⣿⣿⣿⣿⣿⣌⢤⣼⣿⣾⣿⡟⠉⠀⠀⠀⠀⠀ ⠀⣾⣷⣶⠇⠀⠀⣤⣄⣀⡀⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀ ⠀⠉⠈⠉⠀⠀⢦⡈⢻⣿⣿⣿⣶⣶⣶⣶⣤⣽⡹⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠉⠲⣽⡻⢿⣿⣿⣿⣿⣿⣿⣷⣜⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣷⣶⣮⣭⣽⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠻⠿⠿⠿⠿⠛⠉

I don't actually know what I expected...

Its happening! Its finally installing Debian bananas! Its at 70.6% now. 

BTW, I took the opportunity to take everything off of icloud and move it to nextcloud. Very very happy about that 

#debianBananas #asahiLinux

Woo! Hello from Debian Bananas! 

OK, almost everything is working. Things not working so good:

  • tree-sitter broke.... but just for python? In neovim, if I run :TSInstall python it says it can't find tree-sitter, but it shows as installed via brew 🤔 edit: this had nothing to do with debian bananas. See further down in thread.

  • keyboard is wonky. I'm not sure what to select to get it to pick up my dutch macbook keyboard correctly? 🤔

  • window tiling broken, because I have no idea how to get my apple key to behave how it did in macosx 🤔

I indeed don't see the tree-sitter command in my path... maybe I should install it via apt or something instead of via brew? 🤔

update: uninstalled tree-sitter using brew and then reinstalled via apt using:

sudo apt install tree-sitter-cli

Now I can run :TSInstall python in nvim, but it didn't fix my syntax highlighting :(

Another random thing that was kind of annoying was that it kept randomly clicking things on the page while I was typing. To sort of fix this: In KDE, I went into System Settings > Touchpad > Tapping > Uncheck Tap to Click.

That helps a little bit, but is not a perfect solution. While typing this, it still tried to randomly zoom into the page 

#debianbananas

OK, update, I was wrong to blame Debian bananas for my tree-sitter nvim woes, sorry Debian 🍌​. It's literally because I upgraded neovim and tree-sitter in the process of going to debian bananas and this would have happened regardless. It's a whole thing, but if you're curious, this is now my treesitter.lua:

https://git.smallhack.org/jessebot/dot_files/src/commit/12a9e9d926e053c8fa8ffd4de4ad63e3074d20ef/.config/nvim/lua/user/tree-sitter.lua

#ItWasNotDebianBananas

dot_files/.config/nvim/lua/user/tree-sitter.lua at 12a9e9d926e053c8fa8ffd4de4ad63e3074d20ef

dot_files - my personal dot files :]

Forgejo: Beyond coding. We forge.

Fixed window tiling! In KDE, I went to System Systems > Keyboard > Shortcuts > Kwin. Then I searched for "tiling" and remapped all the things to what I'm used to in Spectacle/Rectangle:

  • tile left: ctrl+alt+left
  • tile right: ctrl+alt+right
  • tile up: ctrl+alt+up
  • tile down: ctrl+alt+down

That has made my life so much better. I basically never use a second monitor, so tiling across a screen is incredibly important to me 

#debianbananas #kde_plasma

OK, so what left?

  • fix keyboard layout. The key next to my z key on my keyboard is labeled with a tilde and a back-tic, but if I hit, it types a < or with shfit I get a >... which is confusing. To be honest, I basically never used the other on the top right that is supposed to be tilde on US keyboards, because it's... I don't know what that is actually lol it kinda looks like an s with a little circle in the middle? And if you hit shift, you get what looks like a plus sign with an underscore? 

Either way, I have gotten used to the tilde being next to my z key and I want it back there, so I can remap that other weird key to screenshot.

  • no easy way to screenshot, see above.

  • zathura not pretty

  • have not attempted to setup email or vpn yet

But we're moving! I can see this being a lovely daily driver by Kubecon! 

#debianbananas #kdeplasma

Zathura is pretty now thanks to this little repo:

https://github.com/dracula/zathura

I'll eventually develop a spacechalk theme for it, but this will get it over the line for now 

GitHub - dracula/zathura: 🧛🏻‍♂️ Dark theme for Zathura

🧛🏻‍♂️ Dark theme for Zathura. Contribute to dracula/zathura development by creating an account on GitHub.

GitHub
Keyboard still wonky, but VPN up! Also email logged in via approved secure path for my provider (will revisit email in a terminal again later)!

I fixed the tilde issue! I had to the keyboard model to "Apple Aluminium (ISO)" and then I had to add the Dutch Dutch (Macintosh) keyboard layout and bam! Bob is jouw oom. ✨

OK, now to fix screenshotting things, then this thing is ready for business! Just in time for kubecon :3

And I mapped the weird S thing to tilde! All that's left now is for me to figure out how I'm gonna do emojis 🤔 In macOS I was using the function key for bringing up emoji menu... but how will I do that now?

NOOOOOOOO, I just realized that hash is current mapped to the pound sign D: why god why?!

OK, time bare my soul. Here are the parameters with which I operate:

  • I'm running asahi with Debian Bananas using KDE Plasma

  • I have a dutch macbook pro, and so the keyboard looks as described here: https://support.apple.com/en-us/102743

  • I want the top button to the left of the 1 key to map to screenshot

  • when I hit shift+3, it should produce a hash

  • the button to the left of my z key, should be a backtic by default and a tilde when I hold shift and hit it

  • capslock should be ctrl

  • command key should be another control

All other keys should behave the way they normally would.

What keyboard model and layout do you choose for this if you're using Debian Bananas with KDE Plasma on a Dutch macbook pro?

If I select Apple ISO and Dutch Dutch Macintosh, everything works except #, which is instead a £. (also it won't let me map "win" aka command to ctrl)

If I select Generic 104-key PC and Dutch Dutch Macintosh, the # works, but then the tilde key becomes < >, which is weird.

I have no idea what to do. I want help.

#debianbananas #asahi #kde_plasma #kdePlasma #ashailinux #keyboard #keyboards

How to identify your Apple keyboard layout by country or region - Apple Support

Use the letters and symbols on your keyboard to determine your keyboard layout.

Apple Support
@jessebot I installed evremap to change individual key combinations. Still trying to figure getting left alt to work the same as right alt, but was given the tip to try…something else that seems to be lost to the sands of time, perhaps keyd?

@helianthropy So, I ended up trying to chat with some other Debian nerds that run KDE and they said that in the latest trixie, they just didn't include the layout I need :(

So my best option right now is to use the "Generic 105 key | PC" layout which is perfect EXCEPT for the shift+3 which results in £ instead of #. I can still get the # if I use opt+3, which is... fine? I don't love it, but every other combination I try is much much worse. :( If I could find a way to remap JUST the £ to #, that would solve all my problems... but alas, maybe not possible, at least not easily...

@jessebot super + . For the emoji picker in kde ☺️