Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm used to Apple laptops, on which Function + Backspace is mapped to Delete. I'm also okay with Shift + Backspace.

Is there a way to obtain this? Note, I'm using Xmonad and have some keyboard modifications set up with xmodmap but have very little understanding of how it works.

I've tried xmodmap -e "keycode 22 = BackSpace KP_Delete BackSpace BackSpace", which works in some applications but is ignored by my terminal.

I've seen this question but it seems KDE-specific. I would prefer not to have to use some GUI.

share|improve this question
I'm running Ubuntu 14.04 GNOME on a Macbook(10,1). fn+BackSpace works as Delete by default. I tried to bind Shift+BackSpace to Delete using xmodmap -e 'keycode 22 = BackSpace Delete' but that did not work. In applications Shift+BackSpace did nothing and in the terminal it would output ~2. – ballPointPenguin Apr 9 '14 at 16:03
It's weird that this question is not anwered. – Steven Roose Aug 27 '14 at 2:04
@StevenRoose Are you looking for an answer to this? – Seth Aug 27 '14 at 23:56
Why else would I open a bounty? – Steven Roose Sep 1 '14 at 0:19

I found a useful tutorial here

Quite simple solution with different approach, and it was solving my problem

share|improve this answer
I've tried numerous tutorials. The Fn key does not seem to be mappable. I've been trying to get it working with Shift or Alt now, doesn't work either. – Steven Roose Sep 3 '14 at 0:09
This does not solve the question and link only posts are not answers – user284234 Oct 10 '15 at 4:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.