Fix: wrong colors on Raspberry Pi with i3-wm

I had a Raspberry Pi laying around I today I decided to install Arch Linux on it with a light and simple Window Manager.

I also use i3wm on my laptop so I've used the same configuration with only small changes, reloaded i3wm and surprise:

  • Instead of my gray bar and orange window borders I've got a cyan bar and green window borders!

It was an ugly mess, I found it strange because the terminal colors were fine, the same for GUI apps, only i3 had that weird behavior.

After some research I managed to find a solution, just add this to /boot/config.txt:

framebuffer_depth=32
framebuffer_ignore_alpha=1
framebuffer_swap=1

If you want to get some details about the problem you can read this

Comments

This section is still in development.

If you want to share any thoughts drop me a line at bruno.fl.jesus@gmail.com