Starting Picochess in Kiosk mode with Wayland Desktop (Trixie)

100 views
Skip to first unread message

Marc Hamilton

unread,
Dec 27, 2025, 2:05:42 PM (13 days ago) 12/27/25
to PicoChess
I think I remember Picochess uses the X desktop to support Mame chess engines.
I rarely use these and prefer the Wayland desktop, because it is smoother and doesn't have the display inconsistencies (e.g. width of dropdown menu, speed of opening the editor) I see with X.
However, autostart (/etc/xdg/lxsession/rpd-x/) will no longer boot to Picochess in Trixie if the Wayland desktop is used.

I was able to solve this issue by making the following changes:

Create a file in the folder: /home/pi/.config/labwc named: autostart

In the autostart file add this line. 
/home/pi/kisosk.sh 

Randy Reade

unread,
Dec 27, 2025, 4:37:04 PM (13 days ago) 12/27/25
to pico...@googlegroups.com
You'll also have to remove some X11-specific commands in kiosk.sh if they are still there.

Randy

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/bb0a62c3-3504-4d3e-bc0e-494dd705f8den%40googlegroups.com.

Aldo Bleeker

unread,
Dec 27, 2025, 7:44:40 PM (13 days ago) 12/27/25
to PicoChess
You can place a .desktop file in /home/pi/.config/autostart (user) or in /etc/xdg/autostart (system-wide). I've placed it in 

[Desktop Entry]
Name=picochess
Exec=/opt/picochess/kiosk.sh
Comment=picochess
Terminal=false
Icon=gnome-panel-launcher
Type=Application
Path=/opt/picochess
GenericName=picochess

Aldo

Aldo Bleeker

unread,
Dec 27, 2025, 8:09:44 PM (13 days ago) 12/27/25
to PicoChess
You can place a .desktop file in /home/pi/.config/autostart (user) or in /etc/xdg/autostart (system-wide). I've placed it in /etc/xdg/autostart, and have called it picochess.desktop.

First I've used the Menu Menu Editor to place a menu item in the main menu, and then used gnome-tweaks to add a startup application. This will create /home/pi/.config/autostart/picochess.desktop. I've moved it to /etc/xdg/autostart, but that's not necessary. You can place it on the desktop as well. If you want to start it from the menu or the desktop, picochess.service must be active, but that's also true if you want to run kiosk.sh.

Aldo

Marc Hamilton

unread,
Dec 28, 2025, 11:25:04 AM (12 days ago) 12/28/25
to PicoChess
I got the startup command for the Wayland desktop down to this: /usr/bin/chromium --password-store=basic --kiosk http://127.0.0.1 &
The --password-store=basic command can be put in the browser launch for the desktop icon so it won't ask you for the "Default Keyring" on first launch.
If I'm not booting to Picochess. I use this command in autostart (filed named: stoppico.sh) to prevent the "picochess" audio from playing:
sudo service picochess stop

My startup file for Picochess launch from the desktop contains this
#!/bin/bash
sudo service picochess start
/home/pi/Code/Shell/Pico/kiosk.sh

Aldo; Thanks for the configuration tips.

Marc Hamilton

unread,
Dec 31, 2025, 7:19:02 PM (9 days ago) 12/31/25
to PicoChess
Aldo, I used your first example. There is a app [autostar] that simplifies the process and stores the file in .config/autostart. It's cleaner that what I was doing...
Reply all
Reply to author
Forward
0 new messages