PinePhone. How to run Python/Tkinter app?
#3
(08-23-2023, 05:09 PM)Kevin Kofler Wrote: Running a standalone X11 session is a bad idea on the PinePhone. Phosh does not support it (and neither does Plasma Mobile). There is SXMO which supports X11, but since you write you are a beginner to GNU/Linux, I doubt you will want to use that (and I also think it is not supported by Mobian).

Instead, you will want to use XWayland (apt install xwayland) in the Wayland session. (You should not have to do anything beyond installing the package. It should get autostarted if it is installed.)

I did

Code:
sudo apt update sudo apt upgrade sudo apt install xwayland

Reading package lists... Done

Building dependency tree... Done
Reading state information... Done
xwayland is already the newest version (2:23.2.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

How can I now use XWayland to run a python program?
  Reply


Messages In This Thread
RE: PinePhone. How to run Python/Tkinter app? - by Manieck71 - 08-24-2023, 02:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone visibly losing power while plugged in Hiraghm 10 10,394 10-14-2026, 04:20 PM
Last Post: Flymoon
  Pinephone software Csanderson0313 3 2,182 07-10-2026, 02:21 PM
Last Post: Zebulon Walton
  PinePhone Game Thread PixelPaintbrush 31 89,401 06-11-2026, 02:50 PM
Last Post: elinkser
  How can I record video on a Pinephone? kk22 23 27,285 03-25-2026, 12:55 PM
Last Post: baptx
  pinephone-support package not upgradable on Mobian fhireman 5 9,281 02-28-2026, 05:49 PM
Last Post: baptx
  beep - playing PCM samples on PinePhone? WhiteHexagon 0 1,880 12-04-2025, 08:07 AM
Last Post: WhiteHexagon
Star Selling my Pinephone Pro Explorer Edition zheyon 2 5,582 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 3,208 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 2,604 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone boot. Richy_T 8 9,079 10-21-2025, 12:12 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 1 Guest(s)