Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Apple Intel Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Apple Intel Users
Discussions for users who are using Apple Intel based systems with Ubuntu.

 
Thread Tools Display Modes
Old May 24th, 2007   #1
erakepio
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 37
Keyboard Issue

Using Ubuntu on my macbook (pure install NOT vm), and I was using VI to edit C code which I'd created, and found out backspace doesnt actually delete the letters just moves the curser back 1 space.

So now I've got no delete key when i use VI. The backspace key works in all other apps apart from VIM and VI
erakepio is offline   Reply With Quote
Old May 24th, 2007   #2
ivesjd
Ubuntu Extra Shot
 
ivesjd's Avatar
 
Join Date: Apr 2007
Beans: 360
Ubuntu 7.10 Gutsy Gibbon
Re: Keyboard Issue

Sets the lower enter key to delete. If it doesnt work, type 'xev' in terminal and get the proper keycode (you could also put it somewhere else this way).

Code:
#!/bin/bash
#
# Configures Macbook's right apple key to be right mouse-click
# and lower enter key to be delete.
# Install xkbset (sudo apt-get install xkbset).
# Copy this script to ${HOME}/bin/macbook (or wherever you keep your scripts)
# Make it executable:
# ( Right-click -> Properties - > Permissions -> "Allow executing file as Program"
# set GNOME to run it at login ( System -> Preferences -> Sessions 
xmodmap -e 'keycode 108 = Delete'
xkbset m
There is also always 'fn-delete'

***Taken from here.... http://ubuntuforums.org/showthread.php?t=448812
__________________
***Please check the spelling of your thread titles, correct spelling helps everyone***
Macbook C2D 2.4Ghz, 2Gb RAM, 160Gb HDD, OS X
Acer Aspire One 1.6Ghz Atom, 1.5Gb RAM, 8Gb SSD Ubuntu 8.04
Ubuntu user #14758
ivesjd is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:22 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry