1

To increase my productivity, I would like so simplify some of the existing keyboard shortcuts (in particular Greek letters), by using either Left Alt or Right Alt in a non-interchangeable manner, i.e. so that LyX would perform a different action for [Left Alt + F] (open the file menu) and for [Right Alt + F] (insert the letter phi, for example).

Currently (on version 2.0.6), each of the keys is interpreted as the same [Alt].

1

There is no easy way to do this only within LyX. You would have to do some hacking on LyX's code (in particular, how Qt handles key events).

One approach on Linux would be to use, e.g. xbindkeys to map your key combinations to different commands that execute LyX actions through the LyX server.

  • I see what you mean (I've posted there something about using enum Qt::Key, could you take a look?). – Sparkler Jun 6 '14 at 8:52
  • @Sparkler if you want LyX to consider adding support for this, make a feature request at lyx.org/trac . My guess is that it will not be implemented as many users don't know that the alt keys can be treated differently so it may confuse them. – scottkosty Jun 7 '14 at 3:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.