Getting a Delete key on an iBook (was: Re: ibook and delete)
On Jun 17 2003, Rory Campbell-Lange wrote:
> For the first time I need a delete key (I'm trying out hnb, the outliner
> tool), and I don't know how to delete or to map a key to the delete
> function.
Thanks for bringing this to the mailing list. I also use an
iBook and I should say that typing a long text without a
Delete key is simply annoying.
Also, some programs' functions (like Mozilla's "Delete
message") depend on the existence of a Delete key. :-( (For
shortcuts, at least).
You can see my solution at the following link:
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200206/msg00510.html
I think that the above solution is correct, but, for some
reason that is not know by me, it doesn't work with either
xterm or Emacs (the programs where I need the Delete keys the
most): when you use shift+backspace, you just get a beep and
nothing else. :-(
With Mozilla the solution in the e-mail works fine (I have not
tested the solution above with other gtk or qt applications to
see if they work correctly).
So, I'm interested in other solutions to the problem, if you
ever solve it.
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "keyboard"
> Option "CoreKeyboard"
> Option "XkbRules" "xfree86"
> Option "XkbModel" "macintosh"
> Option "XkbLayout" "us"
> Option "XkbVariant" "ibook"
> EndSection
Mine is almost the same as yours, but doesn't have the
XkbVariant line.
As an aside, I am also using this on my .xsession:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmodmap -e "keycode 108 = Control_R"
xmodmap -e "clear Control"
xmodmap -e "add Control = Control_L Control_R"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
to turn that useless enter key into a control (which is much
more useful for me).
Hope this helps at least a bit, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply to: