Ubuntu 18.04
I need to modify my keyboard at startup. I put
in rc.local, but that doesn't work. So where should I have it put it? Thanks in advance.Code:#!/bin/sh -e # rc.local # xmodmap -e "keycode 68 = Home" xmodmap -e "keycode 67 = Delete" 0
Ubuntu 18.04
I need to modify my keyboard at startup. I put
in rc.local, but that doesn't work. So where should I have it put it? Thanks in advance.Code:#!/bin/sh -e # rc.local # xmodmap -e "keycode 68 = Home" xmodmap -e "keycode 67 = Delete" 0
Last edited by ionmich1; August 14th, 2020 at 04:55 PM.
rc.local - even if it does get executed, which needs activation of the service rc-local.service and /etc/rc.local has to be executable and needs a valid shebang line - would be a bad place for these commands because it runs before the GUI is started. Put the script in some file in your home and create a desktop file in ~/.config/autostart for it. That's what I do to set my touchpad to tap-to-click, which for some reason isn't available as an option in the settings ...
Holger
Bookmarks