Page 1 of 1

Wierd (GTK?) Keyboard Issue

Posted: Tue Jan 06, 2026 1:48 am
by offsides
PB 6.21 on Mint 22.2 w/ Ubuntu 24.04

I recently bought a little HP mini with 32gb/1tb memory and Win-11. I never booted windows, just installed Mint.

PB was installed with no issues and has been working as expected. I was tinkering with some old Win10 PB apps when my "Q" keyboard button stopped working in the IDE. The USB keyboard on all other editor-type software works fine, just not within PB. This happened soon after I received a garbled GTK error due to a programming goof up on my part. I suspect I've somehow corrupted my GTK system.

In my ~/Apps/purebasic-621/compilers/ dir, there are:

purebasic
burebasic_gtk2
purebasic_qt

executables. Running either of the first two starts the IDE and produces the same problem. The qt one works normally and the "Q" works.

The following didn't fix:
1) Rebooting
2) sudo apt-get reinstall libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev libssl-dev libvlc-dev libgtk2.0-dev libgtk-3-dev
...then rebooting
3) sudo apt-get install libwebkit2gtk-4.1-dev
...then rebooting.

I don't fully understand the marriage between PB and GTK so I'm reluctant to dive into things without some help. Any ideas on what's wrong would be appreciated.

Re: Wierd (GTK?) Keyboard Issue

Posted: Tue Jan 06, 2026 10:26 am
by mk-soft
It is also possible that the purebasic.prefs file is damaged. Delete it (PB IDE closed) and perform the settings again.
Path /home/[user]/.purebasic

Re: Wierd (GTK?) Keyboard Issue

Posted: Wed Jan 07, 2026 8:20 pm
by offsides
mk-soft, you got it! Thanks for the clue.

Something similar happened on my Win computer and it was a corrupted value in the shortcuts definitions.
Anyway, I copy-pasted my editor color scheme into a fresh .prefs file and all is well.