4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 2652
/ 2 Years ago, mon, september 5, 2022, 10:50:59
I'm trying to re-map my left Alt key to the Alt Gr and Alt Gr to left Alt. So far I've been able to do it in terminal, but it never runs it on start up. I've read multiple Ask Ubuntu questions, but none of them have worked so far.
I have tried multiple commands and methods, but none of them worked
Putting the script in /etc/rc.local
like this:
sh /home/dani/Scripts/altgr_to_alt.sh
Adding it in cron
@reboot sh /home/dani/Scripts/altgr_to_alt.sh
@reboot bash /home/dani/Scripts/altgr_to_alt.sh
/home/dani/Scripts/altgr_to_alt.sh
Putting it in /etc/init.d/
/etc/init.d/alt_to_gr.sh
Adding it as a startup program, the command being
/home/dani/Scripts/altgr_to_alt.sh
sh /home/dani/Scripts/altgr_to_alt.sh
More From » keyboard-layout