Quantcast
Channel: Ubuntu Forums - Apple Hardware Users
Viewing all articles
Browse latest Browse all 2868

permanently setting Mac Command key to 'Meta'

$
0
0
I have lived a lifetime hitting the key just left of the spacebar, and thinking it'll be "meta", but now I find myself liking this old Mac keyboard, not a PC-104. And Ubuntu thinks the command key is 'alt', not 'meta'. This is driving me insane!



I can temporarily fix the problem by running xmodmap on a file with the following:
Code:

clear Mod4
keycode 133 = Meta_L

(I discovered keycode 133 was the key I needed by using xev)

But this does not permanently affect things. It snaps back to the old behavior every time screen lock comes on. :(

This thread indicates that xmodmap is not the way to do it anymore, and there is a "more powerful" way to do it with something called "xkb", that's like 50 pages of reading to understand. I don't want to read 50 pages just to get my keyboard working. Does anyone know how to do this?

Viewing all articles
Browse latest Browse all 2868

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>