Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. costales@dev:~/Desktop$ xmodmap -e "keycode 166 = less"
  2. costales@dev:~/Desktop$ xmodmap -e "keycode 167 = greater"
  3.  
  4. costales@dev:~/Desktop$ cat ~/.Xmodmap
  5. keycode 166 = less
  6. keycode 167 = greater
  7. costales@dev:~/Desktop$
  8.  
  9. # Set custom keycodes
  10. #
  11. # This file is sourced by Xsession(5), not executed.
  12. # The "|| true" is to ensure that the Xsession script does not terminate on error
  13.  
  14. USRMODMAP="$HOME/.Xmodmap"
  15.  
  16. if [ -x /usr/bin/xmodmap ]; then
  17. if [ -f "$USRMODMAP" ]; then
  18. /usr/bin/xmodmap "$USRMODMAP" || true
  19. fi
  20. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement