Delve 16: The Quest for a Full Screen Raspberry Pi Application - Part 2
"The only constant in life is change." - Heraclitus
Full Screen Applications on the Raspberry Pi, Why so Hard AGAIN?
Hello data delvers! I recently revisited my Raspberry Pi after a long hiatus. As part of this I made sure to update all the packages and OS to the latest version. If you've read my previous Raspberry Pi delve, you'll know that being able to make applications full screen isn't as straightforward as it should be. Much to my surprise, after updating everything my fullscreen keyboard shortcut broke! After spending some time internet sleuthing I'd like to share what the fix is with you all!
What's Going On?
The culprit is that in late 2024 (I know I haven't touched my Pi in that long!), Raspberry Pi switched it's default compositor (the software component for rendering windows) from Wayfire to labwc as it was better optimized for the Raspberry Pi's limited hardware resources (when updating I was presented with a screen asking if I wanted switch to labwc). In doing so though the keyboard configuration for Wayfire located at ~/.config/wayfire.ini
would no longer work!
A New Config
labwc uses its own config file located at ~/.config/lawbwc/rc.xml
, by default it will look something like this:
With some prompting of CoPilot, I discovered the trick is to add a new <keyboard>
section to this file with your desired shortcuts. For example, to have my previous shortcut of Super+Shift+F to toggle fullscreen you could add the following section:
Tip
A more complete list of configuration options can be found here.
After making the above modifications and rebooting my Pi I can make applications fullscreen again!