I recently switched to Ubuntu 17.10 from Ubuntu 16.04.
So far, I used
xmodmap to remove Caps_Lock and replace it with the backslash-symbol.
This doesn't seem to work under 17.10 (maybe because
xmodmap is an X11 app and 17.10 uses Wayland?). Is there another way to get this done?