Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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 at 16:03
    
It's weird that this question is not anwered. –  Steven Roose Aug 27 at 2:04
    
@StevenRoose Are you looking for an answer to this? –  Seth Aug 27 at 23:56
1  
Why else would I open a bounty? –  Steven Roose Sep 1 at 0:19

1 Answer 1

I found a useful tutorial here

http://blacketernal.wordpress.com/set-up-key-mappings-with-xmodmap/

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 at 0:09

Your Answer

 
discard

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.