Skip to main content
8 votes
Accepted

How do I set up networking on Raspberry Pi OS - Bookworm

How to setup Raspberry Pi OS Networking In Bookworm NetworkManager is the default networking configuration tool. There is Raspberry Pi Ltd. documentation on Configuring Networking This explains the ...
Milliways's user avatar
  • 61.5k
4 votes
Accepted

Taking screenshot on Pi 5 desktop?

I was able to successfully take a screenshot from CLI using grim; it saved to ~/Pictures
morissette's user avatar
3 votes
Accepted

Is it possible to install Bookworm Testing

I normally install new OS shortly before official release to test my software. Raspberry Pi OS Bookworm is probably several months away, but Debian Bookworm was released on 10 June and most of the ...
Milliways's user avatar
  • 61.5k
2 votes
Accepted

How to install desktop/GUI onto RPi OS Bookworm Lite?

So how to install the official desktop onto the Bookworm Lite installation? A major part of what the package management system (fronted by apt) manages is dependency resolution. What that adds up to ...
goldilocks's user avatar
  • 60.1k
2 votes
Accepted

Enabling overlayfs makes external drives read-only

After much hacking and googling on this: raspi-config adds overlayroot=tmpfs in cmdline.txt to switch the overlayfs on. If you change that to overlayroot=tmpfs:recurse=0 then the overlay file system ...
wrt54gl's user avatar
  • 36
2 votes

How to use public DNS in Bookwork 64bit

It looks like Bookworm uses NetworkManager to manage connections, so we need to configure it to use a custom DNS. List connections: nmcli device Note the relevant connection name. sudo nmcli ...
Johnny Oshika's user avatar
2 votes

Slow ssh login after upgrade to bookworm

I have fixed this problem by adding this line to my /etc/ssh/ssh_config: KexAlgorithms ecdh-sha2-nistp521 Sharing for anyone having same problem.
Fabio Marzocca's user avatar
2 votes

Remove (hide) mouse cursor when idle on Rasbperry Pi OS Bookworm

I've had success with installing the hideaway plugin for Interception Tools using the script below. Adapted from https://forums.raspberrypi.com/viewtopic.php?t=358285#p2176499 #!/bin/bash # hide mouse ...
markd's user avatar
  • 121
2 votes
Accepted

Remove (hide) mouse cursor when idle on Rasbperry Pi OS Bookworm

wayfire itself doesn't come with this feature bundled, but can be easily extended through its complementary wayfire-plugins-extra package. Unfortunately, it is not available in the Bookworm repos. I (...
seffs's user avatar
  • 36
2 votes
Accepted

Bookworm GPIO pins 8 and 17 busy

Can I just switch the pin allocation to an unused GPIO pin, say 27 and 9? No, you can't do that. What needs to be done is to change a parameter in /boot/firmware/config.txt: I had dtoverlay=spi1-3cs ...
Jeroen Oudshoorn's user avatar
2 votes

How am I supposed to install Pillow (not PIL) on Raspberry Pi OS?

you might try to create a virtual environment and install pillow there. python -m venv ~/myvenv source ~/myvenv/bin/activate pip install -U pip pip install pillow then use ~/myvenv/bin/python to run ...
gelonida's user avatar
  • 121
2 votes
Accepted

systemd service not running, and there is no /var/log/syslog file at all

As implied in other comments, systemd does not log anything to /var/log/syslog. It can be configured to hand messages to rsyslog, but it is not by default (and this is a bit redundant, since all the ...
goldilocks's user avatar
  • 60.1k
2 votes
Accepted

obexpushd not found on Bookworm

Based on this, obexpushd is only in the unstable and testing branches, and was never in a recent previous stable version either. It's also been orphaned (has no real package maintainer) for almost a ...
goldilocks's user avatar
  • 60.1k
2 votes

Shrink and Auto-Resize Bookworm

To create an device image and populate it from an existing SD card or image: Calculate the total size of the first partition and the content of the second one, leaving at least an extra 10%. If that ...
goldilocks's user avatar
  • 60.1k
2 votes

Why does GPIO.add_event_detect fail with 'RuntimeError: Failed to add edge detection' on Raspberry Pi?

I normally avoid answering Questions which only have a code fragment; if you want help post a Minimal, Reproducible Example. What you have posted is nonsense; you have tagged rpi-gpio which is a "...
Milliways's user avatar
  • 61.5k
1 vote

Slow ssh login after upgrade to bookworm

Massive thanks for this! I have the exact same symptom from the exact same update. And configuring that KexAlgorithms severely speeds up the connection setup time. Also I found that this setting ...
Stefan Steinert's user avatar
1 vote
Accepted

`dpkg` breakage in bookworm 64-bit?

If you aren't aware of the history, this is something Fedora did more than a decade ago and other distros have been following suit ever since (there is a parallel in the wider Unix world too, I ...
goldilocks's user avatar
  • 60.1k
1 vote

Minecraft Pi and other executables do not run on RPi 5

when I try to install the file using the "sudo apt-get install" command I get the error cannot find package This means exactly what it says; it would have been useful if you had said what ...
goldilocks's user avatar
  • 60.1k
1 vote
Accepted

Why is my SSH terminal sluggish (slow) when typing commands?

It "sounds like" you may be suffering from a misguided bureaucratic effort to save energy/power at the expense of normally performant WiFi. I've not been able to trace this to its ultimate ...
Seamus's user avatar
  • 22.9k
1 vote

Picamera2 ModuleNotFoundError

If you use sudo apt install python3-picamera2 you are installing picamera2 in the global env. It won't be accessible by default in any virtual env you create before or afterwards. You can install ...
abeyer42's user avatar
1 vote
Accepted

How to compile Qt 4.8.7 under Debian Bookworm and Bullseye

Get the sources First it is needed to get Qt 4.8.7 sources, a way to do is : wget https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz tar xf qt-everywhere-opensource-...
bruno's user avatar
  • 121
1 vote

Can i use raspberry pi 5 into low power mode programmatically?

There is no sleep mode available on the RPi5 (or any other RPi) as there is no hardware to support it. The best you can do with the RPi5 is to press the "soft power" button. This will ...
Seamus's user avatar
  • 22.9k
1 vote
Accepted

hostapd running but wlan0 state down

By default Bookworm uses NetworkManager If you want to use dhcpcd you should enable this in raspi-confug. NetworkManager is the new Raspberry Pi OS default network manager (and is used by most Linux ...
Milliways's user avatar
  • 61.5k
1 vote

Display driver failure in PyQt5 under bookworm

The error message says: No space left on device ...so you should check whether the storage partition on your Pi is full. You can do so using the df -h command in the terminal.
Danilo Bargen's user avatar
1 vote

Do we still need a custom VNC client for Bookworm?

Most VNC clients/servers use X and it was always possible to mix & match although there differences in login, whether access was available to the same screen displayed on the Pi. The REALVNC ...
Milliways's user avatar
  • 61.5k
1 vote
Accepted

Setting Metric on Bookworm

The command nmcli connection edit WiFi… puts you in interactive mode. nmcli connection show will show you existing connections & what it chooses to call them (which is not standardised) e.g. if ...
Milliways's user avatar
  • 61.5k
1 vote

Autostart a GUI application as user after this user is logged in (automatically)

For Debian 12.4 Bookworm on RPi4 only the "Traditional" methods of this link How to Use Autostart for Desktop worked for me. I created a .desktop file and it executed in both /etc/xdg/...
DavidJ's user avatar
  • 23
1 vote

Graphics Problem on Raspberry Pi 4 (4GB RAM) on Browsers and VLC

This worked for me on several Pi4's I have deployed with bookworm: Add the xrdp user to the ssl-cert group: $ sudo adduser xrdp ssl-cert Modify the /etc/X11/xrdp/xorg.conf file and change the '...
Carl Swanson's user avatar
1 vote

Raspberry Pi OS Bookworm, Wayland desktop + headless Pi, cannot get past first boot wizard

Follow the instructions in https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/. There is NO default user and you can't ssh until it is created - even if you preconfigure. If ...
Milliways's user avatar
  • 61.5k
1 vote

How to enable serial communication on Pi 4 using BookWorm OS?

In the latest version of Rasperry Pi OS from late 2023, with the Bookworm kernel, config.txt should be in /boot/firmware, ie /boot/firmware/config.txt
bobgates's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible