Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry-pi:official-touchscreen [2026/03/15 18:02] – [Run chromium in kiosk mode at startup] Zyzonixraspberry-pi:official-touchscreen [2026/03/15 19:02] (current) Zyzonix
Line 3: Line 3:
 ==== Rotating the Official 7" Touchscreen ==== ==== Rotating the Official 7" Touchscreen ====
  
 +Create the following DESKTOP-file
 +<panel type="info" icon="glyphicon glyphicon-file" title="/etc/xdg/autostart/rotate-screen.desktop">
 +<code bash>
 +[Desktop Entry]
 +Type=Application
 +Name=Rotate DSI 180°
 +Exec=/usr/bin/wlr-randr --output DSI-1 --transform 180
 +Hidden=false
 +NoDisplay=false
 +X-GNOME-Autostart-enabled=true
 +</code>
 +</panel>
 +Check if DSI-1 is the correct display, use ''wlr-randr'' to check this out.
 +
 +**Legacy mode (pre-TRIXIE):**
 +++++ Show / Hide |
 Comment the following line in your ''/boot/config.txt'' (to disable this parameter): Comment the following line in your ''/boot/config.txt'' (to disable this parameter):
 <code bash> <code bash>
Line 15: Line 31:
 display_rotate=0 display_rotate=0
 </code> </code>
 +++++
  
 ==== Run chromium in kiosk mode at startup ==== ==== Run chromium in kiosk mode at startup ====
Line 32: Line 49:
     --no-first-run \     --no-first-run \
     --start-maximized \     --start-maximized \
 +    --audio-buffer-size=16384 \
     --enable-features=OverlayScrollbar \     --enable-features=OverlayScrollbar \
     https://your-website.com &     https://your-website.com &
 </code> </code>
 </panel> </panel>
 +This also includes already a higher buffer size for playing streams (e.g. internet radio)
  
  
 **Legacy mode (X11):** **Legacy mode (X11):**
-+++++ Show / Hide |+++++ Show / Hide |
 And then add the following line to the user's ''lxsession'' config: And then add the following line to the user's ''lxsession'' config:
 <panel type="info" icon="glyphicon glyphicon-file" title="~/.config/lxsession/LXDE-pi/autostart"> <panel type="info" icon="glyphicon glyphicon-file" title="~/.config/lxsession/LXDE-pi/autostart">
Line 46: Line 65:
  
 //Sourced from: [[https://baldbeardedbuilder.com/blog/setting-up-raspberry-pi-for-use-in-kiosk-mode-with-chromium/|baldbeardedbuilder.com - Chromium in kiosk mode]]// //Sourced from: [[https://baldbeardedbuilder.com/blog/setting-up-raspberry-pi-for-use-in-kiosk-mode-with-chromium/|baldbeardedbuilder.com - Chromium in kiosk mode]]//
-+++++++++
 ==== Turn off screen automatically after a period of inactivity ==== ==== Turn off screen automatically after a period of inactivity ====
  
  • raspberry-pi/official-touchscreen.1773594150.txt.gz
  • Last modified: 2026/03/15 18:02
  • by Zyzonix