Keyboard shortcuts (KDE, NEdit) confusion

w west sybhs at yahoo.com
Wed Apr 1 22:59:49 CEST 2009


Hi Matthijs,
I had a similar problem lately with the Alt + Down key,
which I use in Nedit to select/find a word. With Reflection-X that
worked, moving to Exceed OnDemand, it didn't work anymore. I tried a
simple Motif example program, which had the same problem. In the end Hummingbird support did put me on the right track.
You need to alter the Exceed us.kbf file. I moved key defs 147 till 153 (Home, Up, Prior, Left, Right, etc)  in front of the numeric keys  (I put them in between key defs 44 and 45). I don't really understand the kbf file and the relation with Nedit, but it worked for me.

Kind regards, Wim

sybhs
@
yahoo.com



----- Original Message ----
From: Matthijs van Aalten <matthijs.van.aalten at nxp.com>
To: "discuss at nedit.org" <discuss at nedit.org>
Sent: Tuesday, March 31, 2009 10:16:03 AM
Subject: Keyboard shortcuts (KDE, NEdit) confusion

Hi,

It's been a long time since I last used this mailing list for support - but I'm not able to solve the following problem myself:

Using alt+Left and alt+Right used to do next_document() and previous_document() - doesn't work anymore.

We've recently been migrated from one system to another system:
The PCs (running Windows XP) haven't changed, but we've moved from using Reflection-X to Exceed-on-demand. At the same time we've migrated to new Linux login-servers and a lot of configuration stuff has been reset. So a lot of changes making it difficult to trace the cause of the problem.

Linux system: Red Hat something, using KDE as desktop environment.

What I found out during my own investigation:

- NEdit *does* receive the keyboard codes. When I define a macro (Preferences->Default Settings->Customize Menus->Macro Menu), I can set the accelerator keyboard shortcut to Alt+Left. But the shortcut doesn't do anything after defining it.

- I tried to define it manually by adding:
NEdit*text.Translations: #override\n\
     Alt<KeyPress>Right: next_document()\n\ ... to the NEdit application defaults file. No luck.

- The khotkeysrc config file also had a few Alt+Right shortcuts. Removing them (then restarting KDE) didn't have any effect.

- I even copied my old $HOME/.kde/share/config to my new Linux home directory - no effect.

So it seems something is stealing the Alt+Left/Right keypresses away from NEdit (although they *do* arrive when defining a macro). How can I find the cause and repair this?

Thanks,
Matthijs van Aalten
--
NEdit Discuss mailing list - Discuss at nedit.org
http://www.nedit.org/mailman/listinfo/discuss



      


More information about the Discuss mailing list