a new gnome shell extension on raspberry pi 5

Ubuntu 23.10 on a Raspberry Pi 5 with the WTMB Gnome extension

Update

So I discovered that if you let the screen saver kick in and blank the screen, when you wake the screen back up that all the PiPs created and placed before the screen saver started are basically wiped away. The windows that backed the PiPs are still there, and if you re-create the PiPs they go back to the original locations at the original sizes. I won’t uninstall it, as it has no resource impact. Someone who cares more than I will probably file a ticket against this bug. However…

This is the last time I’ll try anything recommended by the site OMG! Ubuntu. Every time I do try a recommended app I regret it, as that recommended application turns out to have some significant flaw, such as what I’ve encountered here.

Original Story

The new Gnome shell extension I’m working with now is WTMB (Window Thumbnails), an extension that allows picture-in-picture of any application on the Gnome desktop. I’m running this extension on the Ubuntu 23.10 desktop on a Raspberry Pi 5 w/8GiB of memory. So far I’ve discovered nothing that can cause a problem.

The biggest positive about the extension is that when I do create a picture-in-picture view, it stays on top. But unlike regular always on top, I can resize the PiP view by putting the mouse cursor over the view and using the mouse’s scroll wheel to shrink it down, or enlarge it, to a reasonable size and then move it around. That’s what I did with btop in the lower right corner of the screen capture above. The only other key stroke to remember is to focus on the window you want to put in a picture, then press the Window + T key, then minimize the original window.

The screen capture shows two PiPs, the second one above the first showing a terminal run of neofetch. There are some quick lessons from this that bear a bit more investigating and usage. The positive is that given a sufficiently clear application (easily viewable at any size), you can stack two or more along one edge of a screen and still have plenty of screen real estate to work on. For my use case that would be stacking then over on the right like I’ve shown above.

The con of this tool is that text would be very tiny, and I’m already picking larger font sizes because of my slowly declining eyesight (getting old sucks). If I wanted the capabilities of btop, I’d have to instead install htop and live with what htop doesn’t show in relation to btop. I’ve already tried htop with PiP and I prefer to have it running. Furthermore, simple dashboard-style applications lend themselves to being reduced via PiP, see below.

As you can see above I’ve got three items along the right edge, where I replaced btop with htop in the bottom PiP view.

For me, this extension shows great promise. And I’m amazed it runs without any issues on the Raspberry Pi 5. My confidence in the Raspberry Pi 5 continues to grow.

Links

WTMB (Window Thumbnails) — https://extensions.gnome.org/extension/6816/wtmb-window-thumbnails/

ubuntu 23.10 finally supports spi on the raspberry pi 5

Ubuntu 23.10 Raspberry Pi 5 SPI listing

Today’s Ubuntu 23.10 updates included kernel updates. Once the update completed and the Raspberry Pi 5 was rebooted, the SPI devices were fully operational. I ran a test example from luma.led_matrix ( https://github.com/rm-hull/luma.led_matrix ):

$ ./matrix_demo.py -n 4 --block-orientation -90Created deviceMAX7219 LED Matrix DemoFast scrolling: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Slow scrolling: The quick brown fox jumps over the lazy dogVertical scrollingBrightnessAlternative font!Proportional font - characters are squeezed together!Tiny is, I believe, the smallest possible font (in pixel size). It stands at a lofty four pixels tall (five if you count descenders), yet it still contains all the printable ASCII characters.CP437 Characters

Believe me, everything worked with the HiLetgo four-character 8×8 matrix display (see below for details). I’m so happy to finally see this fix land.

Raspberry Pi 5 GPIO Header wiring diagram to MAX7219 display controller
HiLetgo MAX7210 Dot Matrix Module

I’m including the Raspberry Pi 5 wiring diagram and a picture of the HiLetgo MAX7210 Dot Matrix Module I used for the test. With the latest update to Ubuntu 23.10, everything works as expected.

Unless you have a very specific use case that absolutely requires you use Raspberry Pi OS on the Raspberry Pi 5, then install and use Ubuntu 23.10 exclusively for the Raspberry Pi 5.