* * *

Author Topic: [SOLVED] Strange IDE behaviour in Linux Mint  (Read 1244 times)

JD

  • Hero Member
  • *****
  • Posts: 1730
[SOLVED] Strange IDE behaviour in Linux Mint
« on: January 24, 2018, 02:57:16 pm »
Hi there everyone,

My Lazarus installations (Lazarus 1.8 & NewPascal) both have a strange behaviour in the IDE.

Every single keystroke is shown twice i.e the characters are duplicated.  In the attached screenshot, I tried to type ShowMessage('Hello World') but as you can see from the screenshot, it failed miserably.

As a result, I'm forced to type object pascal code in Sublime Text or Visual Studio Code.  :o

Has anyone else exprienced this and is there a setting somewhere in Lazarus where I can correct this?

In case anyone is wondering, I typed this post in Linux. The problem seems to be limited to my Lazarus IDE on Linux.

Thanks,

JD
« Last Edit: January 24, 2018, 03:52:00 pm by JD »
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

GetMem

  • Hero Member
  • *****
  • Posts: 3207
Re: Strange IDE behaviour in Linux Mint
« Reply #1 on: January 24, 2018, 03:08:08 pm »
The bugtracker is full with similar issues on linux. Apparently installing ibus-gtk and ibus-gtk3 fixes the issue.

JD

  • Hero Member
  • *****
  • Posts: 1730
Re: Strange IDE behaviour in Linux Mint
« Reply #2 on: January 24, 2018, 03:27:14 pm »
The bugtracker is full with similar issues on linux. Apparently installing ibus-gtk and ibus-gtk3 fixes the issue.

Installing ibus-gtk and ibus-gtk3 did not correct the strange IDE behaviour.

What else could I be missing?

thanks

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

Handoko

  • Hero Member
  • *****
  • Posts: 2641
  • My goal: build my own game engine using Lazarus

JD

  • Hero Member
  • *****
  • Posts: 1730
Re: Strange IDE behaviour in Linux Mint
« Reply #4 on: January 24, 2018, 03:51:14 pm »
Read here for more info:
https://forum.lazarus.freepascal.org/index.php/topic,39213.msg268286.html#msg268286

Thanks a million, Handoko. Creating a file input_method.sh in my home directory with the folllowing contents and then rebooting solves the problem  :D

Code: [Select]
export GTK_IM_MODULE=gtk-im-context-simple
export QT_IM_MODULE=simple
export XMODIFIERS=@im=none
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus