m1gin 26

After upgrading to Ubuntu 24.04, onboard screen keyboard app stopped working properly.

After digging for some time, I realized the problem due to python version 3.12.

So, I tried to create a virtual environment for python 3.10 and see if could manage to run Onboard, properly.

$ python3.10 -m venv /mb/env310

and activated the environment:

$ source /mb/env311/bin/activate

I had to install some packages

(env310) $ pip install PyGObject

I couldn't run onboard built for python 3.12, so I had to download the package built for python 3.10.
Be sure you have a file similar to the following, in the package:

/Onboard/osk.cpython-310-x86_64-linux-gnu.so


$ mkdir /mb/onboard

$ cd /mb/onboard

$ wget http://archive.ubuntu.com/ubuntu/pool/universe/o/onboard/onboard_1.4.1-5build5_amd64.deb http://archive.ubuntu.com/ubuntu/pool/universe/o/onboard/onboard-common_1.4.1-5build5_all.deb http://archive.ubuntu.com/ubuntu/pool/universe/o/onboard/onboard-data_1.4.1-5build5_all.deb


From the archive and copied /usr/lib/python3/dist-packages/Onboard/ to /usr/lib/python3.10/site-packages/Onboard/

and the following could run successfully.

$ /mb/env310/bin/python3.10 /usr/bin/onboard


I know this can be handled in better way... but for now, I feel tired and I will stop here...


ArchLinux

onboard packages for archlinux

Install / downgrade onboard package from a manually downloaded local file:

sudo pacman -U /mb/onboard/onboard-1.4.1-8-x86_64.pkg.tar.zst

then it can be run as:

$ python3.11 /usr/bin/onboard

Add to: