6
submitted 1 month ago* (last edited 1 month ago) by nicolairathjen@feddit.dk to c/linuxmint@lemmy.ml

I am on Linux Mint on a rather old refurbished Lenovo T460. The enter key is broken, so I want to have the key remapped to my insert key.

Until now I have been using xmodmap, however since a recent system update it no longer works.

Currently this is my startup script: xmodmap ~/.Xmodmap

And this is the contents of the ~/.Xmodmap file:

$ cat .Xmodmap 
keycode 118 = Return

! Disable broken Enter key
keycode 36 = NoSymbol

Thanks in advantage for the help :)

Edit: I forgot to mention that copying and pasting the command I have in Startup Applications into the terminal and then pressing CTRL+M works, but it is a pain to have to do that every time I boot my machine.

you are viewing a single comment's thread
view the rest of the comments
[-] Zombie@feddit.uk 2 points 1 month ago

Why don't you just use the built in keyboard manager?...

Settings > Keyboard > Shortcuts > Custom Shortcuts > Add Custom Shortcut

[-] nicolairathjen@feddit.dk 1 points 1 month ago

Either way I need to disable the enter key, as it is being triggered at random intervals. As far as I’m aware, this is not supported by the Mint GUI.

this post was submitted on 19 Jan 2026
6 points (100.0% liked)

Linux Mint

3188 readers
1 users here now

Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.

Want to see the latest news from the blog? Set the Firefox homepage to:

linuxmint.com/start/

where is a current or past release. Here's an example using release 21.1 'Vera':

https://linuxmint.com/start/vera/

founded 4 years ago
MODERATORS