user565739
user565739

Reputation: 1332

windows key in emacs in -nw mode

I add the following line to my ~/.emacs

(global-set-key (kbd "") 'other-window)

It works on emacs GUI mode. But if I open emacs in terminal (Ubuntu 10.04) with the option

-nw, then Win + Right just give right. I tried many key

combinations with the windows key, it seems that windows key doesn't function in the

terminal. I guess that the default terminal in Ubuntu doesn't recognize teh Win

key at all. If I want to use Win key in the terminal, I have modify the source

code of termianl. Is this right?

Upvotes: 2

Views: 796

Answers (1)

Jesus Ramos
Jesus Ramos

Reputation: 23266

The win key under ubuntu becomes the modifier Super, I don't think that the terminal recognizes this as a key modifier. You could switch the windows key to something else or just use ctrl or meta keys.

Upvotes: 1

Related Questions