m key no longer works normally lazarus / 9-Editor ---------------------------------------------------------------------- abtaylr · 2015-07-24 06:28 I am having a problem in Lazarus 1.4.2 under x86_64-linux Kubuntu. After working in a project for several days the m key on my keyboard stopped printing the letter 'm' in the editor.  Instead it creates a CR LF operation.  I tried the usual things, re-booting, re-opening, etc.  I checked that the m key performed normally in jEdit, libre office, Konsole, etc.  I uninstalled lazarus, did a fresh compile of source code and re- installed.  Initially, the m key worked fine for a couple of hours, then the same thing.  I tried deleting my project file and created a new one with no effect.  I went though the options for Lazarus and the project to see if a different combination of options would clear the problem, but no luck. I checked the properties of my various code files and found nothing amiss.  I looked at system settings and even changed the keyboard settings from generic to the specific make and model for my HP keyboard. I don't know what else to do. I hope someone else has some ideas. ---------------------------------------------------------------------- serbod · 2015-07-24 08:14 Have same trouble. Open Options -> Editor -> Misc, check "IME handled by system". Also, you can't input text in Search dialog, until you disable IME. ---------------------------------------------------------------------- abtaylr · 2015-07-24 16:25 It appears that the IM option is only found in the Windows version of Lazarus.  It is missing in Linux.  I have been doing some research into SCIM that Kubuntu uses, but to no avail. ---------------------------------------------------------------------- abtaylr · 2015-07-24 20:43 I have also found that in the object inspector and the help search feature that the keys print double after the m key problem starts. ---------------------------------------------------------------------- Martin_fr · 2015-07-24 23:35 maybe http://wiki.lazarus.freepascal.org/Lazarus_Faq#Typing_under_Ubun tu_in_edit_fields_generate_duplicate_letters ---------------------------------------------------------------------- MNeto · 2015-08-19 15:36 Hello. The last link is outdated? In the above commands, the shell could not find ./lazarus. To fix the key problem "m" in the Lazarus 1.4.2, I had to type in the terminal: Code: [Select]GTK_IM_MODULE = ibus startlazarus Later, I added the following to ~ / .profile: Code: [Select]export GTK_IM_MODULE = ibus This worked well.