-
-
Save charlee/628be1a8b77a9972961fddf95664d97a to your computer and use it in GitHub Desktop.
Mint Linux on MacBook.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Swap Alt and Cmd keys. | |
keycode 37 = Control_L | |
keycode 133 = Alt_L Meta_L | |
keycode 64 = Super_L | |
keycode 108 = Super_R | |
keycode 134 = ISO_Level3_Shift Multi_key | |
keycode 105 = Control_R Multi_key | |
clear Shift | |
clear Lock | |
clear Control | |
clear Mod1 | |
clear Mod2 | |
clear Mod3 | |
clear Mod4 | |
clear Mod5 | |
add Shift = Shift_L Shift_R | |
add Lock = Caps_Lock | |
add Control = Control_L Control_R | |
add Mod1 = Alt_L 0x007D | |
add Mod2 = Num_Lock | |
add Mod4 = Super_L Super_R | |
add Mod5 = Mode_switch ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift | |
! Configure '=' key on numpad as '='. | |
keycode 0x7D = equal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/modprobe.d/magicmouse.conf | |
# To adjust the scroll speed of magic mouse. | |
options hid_magicmouse scroll-speed=45 scroll-acceleration=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/autostart/xmodmap | |
# Add this file to $HOME or through "Start" -> "Startup Application" | |
/usr/bin/xmodmap /home/<username>/.Xmodmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment