doc:appunti:hardware:raspberrypi_digitalframe
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:raspberrypi_digitalframe [2021/01/09 16:02] – [Screen Saver] niccolo | doc: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 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 |
{{ .: | {{ .: | ||
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/ | + | ==== WiFi ==== |
+ | |||
+ | I installed the **Xfce** desktop environment; | ||
+ | |||
+ | Beware that NetworkManager | ||
==== 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**: | + | The **[[https:// |
+ | |||
+ | Neverthless, | ||
< | < | ||
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 **/ | 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 **/ | ||
+ | |||
+ | :!: 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:// | ||
+ | |||
+ | ==== Turning off the power LED ==== | ||
+ | |||
+ | When the digital frame is in stand-by (the screen is black and turned off), there is a red light glow around the frame, caused by the **Raspberry Pi power LED** being very bright, this is particularly disturbing when the room is dark. Fortunately enough there is a way to turn off the LEDs, just add the following snippet at the end of **/ | ||
+ | |||
+ | < | ||
+ | # Disable Ethernet LEDs | ||
+ | dtparam=eth_led0=14 | ||
+ | dtparam=eth_led1=14 | ||
+ | |||
+ | # Disable the PWR LED | ||
+ | dtparam=pwr_led_trigger=none | ||
+ | dtparam=pwr_led_activelow=off | ||
+ | |||
+ | # Disable the Activity LED | ||
+ | dtparam=act_led_trigger=none | ||
+ | dtparam=act_led_activelow=off | ||
+ | </ | ||
+ | |||
+ | This works well on my **Raspberry Pi 2** model, the matter is discussed in a **[[https:// | ||
==== Keyboard Shortcut ==== | ==== Keyboard Shortcut ==== | ||
Line 111: | Line 139: | ||
==== Screen Saver ==== | ==== Screen Saver ==== | ||
- | The program **photo-reframe** is configured to call two external programs, one to **disable the screensaver** at program start and one to **re-enable the screensaver** at program exit. The helper programs should be named **screensaver-off** and **screensaver-on** respectively, | + | The program **photo-reframe** is configured to call two external programs, one to **disable the screensaver** |
- | Here there are the off/on scripts: | + | Beware that the **xfce4-power-manager** program overloads the functionality offered by DPMS (controlled by the **xset** program); e.g. the screen blanking is perfomed even with DPMS disabled. The reccommended XFCE power manager settings (// |
+ | |||
+ | * **Display power management**: | ||
+ | * **Blank after**: Never - This prevents | ||
+ | * **Put sleep after**: 5 minutes - This is enforced via **DPMS Standby**. | ||
+ | * **Switch | ||
+ | |||
+ | With these settings display blanking is controlled by DPMS only (no software blanking); the slideshow program can simply disable DPMS to keep the screen always on. XFCE saves the Power Manager settings into the file **$HOME/ | ||
+ | |||
+ | === screensaver-off === | ||
<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 | ||
</ | </ | ||
+ | |||
+ | === screensaver-on === | ||
<code bash> | <code bash> | ||
#!/bin/sh | #!/bin/sh | ||
+ | # Disable software screen saver. | ||
+ | xset s off | ||
+ | # Enable DPMS screen saver. | ||
+ | xset dpms 300 300 300 | ||
xset +dpms | xset +dpms | ||
</ | </ | ||
+ | |||
+ | === How to use xset === | ||
With the command **xset q** it is possibile to query the status of the **[[wp> | With the command **xset q** it is possibile to query the status of the **[[wp> | ||
Line 151: | Line 199: | ||
If you disable the screensaver from the desktop environment (in our case XFCE // | If you disable the screensaver from the desktop environment (in our case XFCE // | ||
+ | |||
+ | ==== Desktop Fonts ==== | ||
+ | |||
+ | To have bigger fonts into XFCE menu we opened the **Settings** => **Appearance** => **Fonts** menu and increased the font size. Settings are saved into the file **$HOME/ | ||
+ | |||
+ | |||
===== Executing programs from the Firefox browser ===== | ===== Executing programs from the Firefox browser ===== | ||
Line 253: | Line 307: | ||
See the man page for **nm-system-settings.conf**, | See the man page for **nm-system-settings.conf**, | ||
+ | |||
+ | Alternatively you can uninstall the **NetworkManager** package and use **dhcpcd5** for all the network settings. | ||
===== Web References ===== | ===== Web References ===== | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// |
doc/appunti/hardware/raspberrypi_digitalframe.1610204563.txt.gz · Last modified: 2021/01/09 16:02 by niccolo