I has this key distribution in my laptop:I want remap the Power off key to End. I followed this tutorial.I run xev, for Power off key I got:KeyRelease event, serial 41, synthetic NO, window 0x3e00001,    root 0x1be, subw 0x0, time 1035290, (-997,315), root:(3,382),    state 0x10, keycode 124 (keysym 0x1008ff2a, XF86PowerOff), same_screen YES,    XLookupString gives 0 bytes:     XFilterEvent returns: FalseFor End key:KeyPress event, serial 40, synthetic NO, window 0x3c00001,    root 0x1be, subw 0x0, time 977357, (-136,20), root:(864,87),    state 0x10, keycode 115 (keysym 0xff57, End), same_screen YES,    XLookupString gives 0 bytes:     XmbLookupString gives 0 bytes:     XFilterEvent returns: FalseKeyRelease event, serial 40, synthetic NO, window 0x3c00001,    root 0x1be, subw 0x0, time 977477, (-136,20), root:(864,87),    state 0x10, keycode 115 (keysym 0xff57, End), same_screen YES,    XLookupString gives 0 bytes:     XFilterEvent returns: FalseThen I run:$ xmodmap -e keycode 124 = EndWhen I press the Power off key, this do nothing.If I run:$ xmodmap -e keycode 124 = qThen I press the Power Off work fine(print q), but I tested for:End key:$ xmodmap -e keycode 124 = EndHome key:$ xmodmap -e keycode 124 = HomeAnd dont work.This happen in KDE Neon (Ubuntu 16.04). I has Debian 8 before in this laptop and this work fine.What I doing wrong ? 
Remap Power Off key in ubuntu 16.04
ubuntu;keyboard shortcuts