Recent

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

JD

  • Hero Member
  • *****
  • Posts: 1848
[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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

balazsszekely

  • Guest
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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Handoko

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

JD

  • Hero Member
  • *****
  • Posts: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Angbor

  • Newbie
  • Posts: 2
Re: [SOLVED] Strange IDE behaviour in Linux Mint
« Reply #5 on: March 05, 2019, 11:20:48 am »
Only one correction:
proper folder is the /etc/profile.d
and yes - it works
Shalom

 

TinyPortal © 2005-2018