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 won't boot. spha 13 3,459 05-15-2024, 10:31 PM
Last Post: Richy_T
  Pinephone boot. Richy_T 5 389 05-15-2024, 03:35 PM
Last Post: Richy_T
  eSIM on PinePhone just_a_q 4 2,938 05-14-2024, 01:35 PM
Last Post: Kevin Kofler
  PinePhone - boot from microSD laserpyramid 9 1,197 05-03-2024, 10:09 AM
Last Post: laserpyramid
  pinephone virtual keyboard aular 4 603 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 417 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Are you using the Pinephone as your daily driver? jro 157 114,294 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 2,194 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 813 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,936 12-28-2023, 07:55 AM
Last Post: MTXP

Forum Jump:


Users browsing this thread: 1 Guest(s)