Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top