Keyboard shortcut for end of line

  1. Install xdotool : sudo apt-get install xdotool
  2. Go to system connections -> keyboard -> shortcuts -> custom
  3. Create new shortcut, binding bash -c "xdotool getactivewindow key End" command to some key combination

On a Mac keyboard (running Ubuntu), the

function (fn) key + left/right arrow
key seems to be equivalent to the
command +left/right arrow
functionality seen native Mac environment.