GNU TeXmacs Forum

TeXmacs not recognizing Meta Key on Windows 10 keyboard

#1

Hi,
From what I understand the Meta key is supposed to be the Windows key on a Windows computer.
I can’t figure out what I’m doing wrong, but TexMacs is not recognizing the Meta key.

I’ve tried changing the edit->preferences keyboard options to no avail.
I would like to right align some line items in an equation using the keyboard shortcuts.

Windows%2010-Meta%20Key
Windows 10-Meta Key.jpg×ばつ663 215 KB

Would anyone know what to do?

2 Likes
Meta Key problem 'windows Operating system "
#2

Please try the esc key (on Windows).

1 Like
#3

thank you, it worked.

#4

For this issue, can we change emacs:meta from meta to altcmd?

#5

Hi pireddag, I have the same question and find your answer.

My intended solution is to map WIN key to META key, is it possible by adding one line in somewhere like ~/.TeXmacs/progs/my-init-texmacs.scm? And what is the correct code?

Best,
JW

#6

Sorry, I don’t know how to do that off the top of my head. Let us see if someone knows immediately. If not, we may try to figure it out.

#7

Try Mogan v1.0 beta:

Here is the pull request I made to change the default meta key:

Emacs is also using Alt as meta key on Windows.

And Mogan can be used along with GNU TeXmacs. It is a GNU TeXmacs distribution.

1 Like
#8

Thank you @darcy
According to your modification given in https://github.com/XmacsLabs/mogan/commit/e4fb307f4941696c2d6ea1d4979ba6d1e742d44d, I’ve successfully remapped meta key to alt key.

#9

This does not solve all the issues. In Mogan (v1.2.9) by default there are multiple shortcuts that are of the form Meta+Alt+???. These shortcuts do not work anymore. Furthermore, the shortcut Meta+Ctrl+Up does not get activated when one presses Alt+Ctrl+Up.

#10

Yes. See

Actually, I didn’t swap the Alt key and Meta key for all prefix key. I just swapped it for some of the prefix key.

AltStyle によって変換されたページ (->オリジナル) /