Wierd (GTK?) Keyboard Issue

Linux specific forum
offsides
Enthusiast
Enthusiast
Posts: 105
Joined: Sun May 01, 2011 3:09 am
Location: Northern California

Wierd (GTK?) Keyboard Issue

Post 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.
PB 5.72 (32-bit) on Win 10.
User avatar
mk-soft
Always Here
Always Here
Posts: 6479
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Wierd (GTK?) Keyboard Issue

Post 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
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
offsides
Enthusiast
Enthusiast
Posts: 105
Joined: Sun May 01, 2011 3:09 am
Location: Northern California

Re: Wierd (GTK?) Keyboard Issue

Post 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.
PB 5.72 (32-bit) on Win 10.
Post Reply