Make keyboard in Ubuntu 14.04 act like in Windows?

For some versions of Ubuntu (as well as Linux Mint), there's a built-in setting for this:

  • Open "Keyboard" preferences via "System Settings."
  • Click the "Options" button.
  • Click on "Miscellaneous keyboard options."
  • Select "Shift with numeric keys works as in MS Windows."

For other versions, including Ubuntu 14.04, that setting isn't available by default, but there's an easy solution:

  • Open a terminal and run sudo apt-get install gnome-tweak-tool.
  • Run gnome-tweak-tool.
  • Click on "Typing."
  • Click on "Miscellaneous compatibility options."
  • Select "Shift with numeric keypad keys works as in MS Windows" (which may only appear as "Shift with numeric keypad ke...").

https://askubuntu.com/questions/57079/xubuntu-make-shiftnumpad-work-like-windows

This answer is via Linux command-line: - edit /etc/default/keyboard - make sure it contains this line

XKBOPTIONS="numpad:microsoft"

Since it doesn't look like there is a preference setting for this, you could try remapping the keys yourself using a combination of xbindkeys and xdotool.

It can be tricky sometimes, especially with special key combinations like this, but if you google around a bit you'll find there are lots of examples and it's quite powerful actually. Check out this tutorial for instance.