Home » Questions » Computers [ Ask a new question ]

How do I change my control or alt key to emit a space key event in Ubuntu?

How do I change my control or alt key to emit a space key event in Ubuntu?

I have a laptop with a broken space bar and I want to map the right alt or control keys to emit a space character. I am running Ubuntu.

Asked by: Guest | Views: 116
Total answers/comments: 1
Guest [Entry]

"Use xmodmap:

xmodmap -e 'keysym Control_R = KP_Space'

this will allow you to use the left control key as a space key."