PinePhone. How to run Python/Tkinter app?
#1
Photo 
Hello everyone

I have a problem.

A two years ago I created an application for Raspberry Pi 3 in Python and Tkinter.
Recently I bought a PinePhone64 and I would like to transfer this application to this device. I installed Mobian with Phosh there.

After researching the subject, it turned out that the RPi has an X11 display server, and the PP64 has a wayland.

Is there any possibility to run my application on PP64 without rebuilding the GUI?
How to do it?

I tried to install X11 server.

Code:
sudo apt install xauth xorg


later

Code:
sudo startx


Server starts, but the interface on the device changes to this:

[Image: 008946351-.html#1]
https://zdjecianaallegro.pl/gallery/008946351-.html#1

The touch does not work, the keyboard cannot be brought up.
I would like my application to appear in the original interface.

[Image: 008946351-2.html#2]
https://zdjecianaallegro.pl/gallery/008946351-2.html#2

I am a beginner in Mobian & Linux

Thank you in advance for your help
  Reply


Messages In This Thread
PinePhone. How to run Python/Tkinter app? - by Manieck71 - 08-23-2023, 08:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone visibly losing power while plugged in Hiraghm 2 463 05-23-2025, 12:30 PM
Last Post: Kevin Kofler
  Pinephone Pro Neural Processing Unit biketool 0 563 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 907 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 2,292 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 557 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 964 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 1,288 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 21,978 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 7,515 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 10,136 12-05-2024, 04:38 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)