I run Lubuntu 19.10. To disable "F11" and "Right-click" on the mouse I use xmodmap. I launch this during startup with the Lubuntu Autostart. For the first login it works fine. After I logout and login again it reload the default keyboard mapping. The "Right-click" is still "disabled". Here you can see my Xmodmap file.
keycode 37 =
keycode 64 =
keycode 95 =
pointer = 1 2 99 4 5 6 7 8 9 10
Here you can see the Autostart file.
[Desktop Entry]
Exec=/usr/bin/xmodmap keymods
Name=Tasten sperren
Type=Application
Version=1.0
Any ideas or suggestions ?
Thanks in advance !
Best Regards, Patrick