User Tools

Site Tools


doc:appunti:hardware:raspberrypi_digitalframe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:raspberrypi_digitalframe [2021/05/27 08:30] – [Hide the mouse pointer] niccolodoc:appunti:hardware:raspberrypi_digitalframe [2025/04/07 15:16] (current) – [Hide the mouse pointer] niccolo
Line 12: Line 12:
  
  
-The first step was to order the hand-made **wood frame** from a craftsman. The profile size is shown in the picture, the inner space to accomodate the monitor is **54.0 x 32.5 cm**.+The first step was to order the hand-made **wood frame** from a craftsman. The profile size is shown in the picture, the inner space to accommodate the monitor is **54.0 x 32.5 cm**.
  
 {{ .:raspberrypi:frame-profile.png?280 |Wood Frame Profile}} {{ .:raspberrypi:frame-profile.png?280 |Wood Frame Profile}}
Line 62: Line 62:
 I downloaded and installed **RaspiOS 2020-05-27 Buster**, based on Debian 10. I choosed the **full** version "with desktop and recommended software". I downloaded and installed **RaspiOS 2020-05-27 Buster**, based on Debian 10. I choosed the **full** version "with desktop and recommended software".
  
-FIXME The WiFi is handled by Network Manager? The **/etc/wpa_supplicant/wpa_supplicant.conf** does conflict with Network Manager? The **/boot/wpa_supplicant.conf** trick explained in [[https://www.raspberrypi.org/documentation/configuration/wireless/headless.md|Setting up a Raspberry Pi headless]] does conflict as well?+==== WiFi ==== 
 + 
 +I installed the **Xfce** desktop environment; on Debian 10 this is bundled with the **[[https://packages.debian.org/buster/network-manager|NetworkManager]]** service, which handles wired and wireless connections. 
 + 
 +Beware that NetworkManager does conflict with the **/etc/wpa_supplicant/wpa_supplicant.conf** configuration file: if you configure a WiFi connection in this file, you will end-up with two **wpa_supplicant** instances conflicting each other (so you shouldn't even use the trick to [[https://www.raspberrypi.org/documentation/configuration/wireless/headless.md|setup a Raspberry Pi headless]]). Use instead the NetworkManager applet from the Xfce environment to connect to your WiFi network, the network preferences will be saved into **/etc/NetworkManager/system-connections/**.
  
 ==== Desktop Autologin ==== ==== Desktop Autologin ====
Line 97: Line 101:
 ==== Hide the mouse pointer ==== ==== Hide the mouse pointer ====
  
-If you use only the keyboard to control the interface, the **mouse pointer** at the center of the screen is definitely annoying. Fortunately enough there is the Debian package **unclutter**: once installed you will find a running process when you initiate your desktop session:+The **[[https://github.com/RigacciOrg/photo-reframe-slideshow|photo-reframe]]** program used as directory browser and slideshow, uses the **setOverrideCursor()** function to **hide the mouse pointer** when run full screen. 
 + 
 +Neverthless, if you use only the keyboard to control the interface, the **mouse pointer** at the center of the screen is definitely annoying. Fortunately enough there is the Debian package **unclutter**: once installed you will find a running process when you initiate your desktop session:
  
 <code> <code>
Line 104: Line 110:
  
 The mouse pointer will disappear after one second of **idle time**, just to reappear if you move the mouse. If you want to customize the options, change the file **/etc/default/unclutter**. The mouse pointer will disappear after one second of **idle time**, just to reappear if you move the mouse. If you want to customize the options, change the file **/etc/default/unclutter**.
 +
 +:!: Unfortunately the **unclutter** program **does not work in Wayland**, which is the graphical backend installed by the Raspberry Pi OS based on Debian 12, in replacement of the legacy X11. If you search for an hide cursor solution on Wayland, beware of this [[https://github.com/seffs/wayfire-plugins-extra-raspbian/releases|hide-cursor plugin]] which is intended for the **Wayland** + **Wayfire** environment (backend and window manager). On the Raspberry Pi 2 only the **Wayland** + **Labwc** environment is supported. For this reason I decided to use raspi-congif and [[raspberry_x_wayland|revert back to the X11]].
  
 ==== Turning off the power LED ==== ==== Turning off the power LED ====
Line 146: Line 154:
 <code bash> <code bash>
 #!/bin/sh #!/bin/sh
 +# Disable software screen saver.
 +xset s off
 +# Disable DPMS screen saver.
 xset dpms force on xset dpms force on
 xset -dpms xset -dpms
Line 154: Line 165:
 <code bash> <code bash>
 #!/bin/sh #!/bin/sh
-xset dpms 300 300 360+# Disable software screen saver. 
 +xset s off 
 +# Enable DPMS screen saver. 
 +xset dpms 300 300 300
 xset +dpms xset +dpms
 </code> </code>
Line 293: Line 307:
  
 See the man page for **nm-system-settings.conf**, the article **[[https://fedoramagazine.org/randomize-mac-address-nm/|Randomize your MAC address using NetworkManager]]** and this **[[https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=196348&start=25#p1524581|post]]** on how to disable it on the Raspberry Pi. See the man page for **nm-system-settings.conf**, the article **[[https://fedoramagazine.org/randomize-mac-address-nm/|Randomize your MAC address using NetworkManager]]** and this **[[https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=196348&start=25#p1524581|post]]** on how to disable it on the Raspberry Pi.
 +
 +Alternatively you can uninstall the **NetworkManager** package and use **dhcpcd5** for all the network settings.
  
 ===== Web References ===== ===== Web References =====
doc/appunti/hardware/raspberrypi_digitalframe.1622097053.txt.gz · Last modified: 2021/05/27 08:30 by niccolo