Fedora Linux Support Community & Resources Center
  #1  
Old 7th September 2009, 01:51 AM
eliashickman Offline
Registered User
 
Join Date: Dec 2007
Location: Seoul, South Korea
Age: 42
Posts: 202
windows_xp_2003firefox
Keyboard mapping

I just bought an Apple (intl.) keyboard because of its stylish look and weight but I can't figure out how to map keys to get certain functions that I'm used to working.
Particularly Alt+Ctl+F1~6 when wanting to switch to regular terminal and print screen.
Is there a tutorial out there that explains how to map keys?
__________________
It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people’s minds. —Samuel Adams
Reply With Quote
  #2  
Old 7th September 2009, 05:05 AM
VernDog Offline
Registered User
 
Join Date: Aug 2009
Posts: 327
linuxsafari
Your right, Apple keyboards do look stylish, but I didn't know you could use one on a pc. Guess what some googleing turned up:
http://hansmi.ch/articles/apple-keyboard-with-linux
Reply With Quote
  #3  
Old 7th September 2009, 06:19 AM
eliashickman Offline
Registered User
 
Join Date: Dec 2007
Location: Seoul, South Korea
Age: 42
Posts: 202
linuxfedorafirefox
Thanks. Yeah, I actually googled "mac fedora 11" and got some results. I hope that it works. It's so much quieter than my old one. I really don't want to take it back. I hope there are some other suggestions out there.
__________________
It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people’s minds. —Samuel Adams
Reply With Quote
  #4  
Old 8th September 2009, 03:17 PM
eliashickman Offline
Registered User
 
Join Date: Dec 2007
Location: Seoul, South Korea
Age: 42
Posts: 202
linuxfedorafirefox
I just read this post http://linuxtidbits.wordpress.com/20...ards-in-linux/ and am trying to map some of my keys (key combinations) but am having problems.
I did:
Code:
dumpkeys > /etc/default.kmap
then edited it, changing portions (the F1-F19 keys). I got the values for the keys using:
Code:
showkey
I then tried to get the xorg.conf file working (I think this may be a problem) but was unable to get it working. I added this:
Code:
Option      "XkbModel"      "macintosh"
    Option      "XkbLayout"     "kr"   (I changed this bit)
I deleted the
Code:
rm -r ~/.gconf/desktop/gnome/peripherals/keyboard/kbd/
Finally gnome asked me if I wanted to use the ~/.xmodmap, which was really just a renamed copy of /etc/default-mac.kmap (I don't know if this needs to stay "default.kmap" ??).
It loaded the file, then nothing.
It complains about errors when I try and test it with
Code:
xmodmap .xmodmap
I'm trying to find a copy of a .xmodmap file for refference.
Mine looks like a mess.
Here is a portion of the file.

keycode 58 = Caps_Lock
keycode 224 = F1 F13 Console_13 F25
alt keycode 224 = Console_1
control alt keycode 224 = Console_1
keycode 225 = F2 F14 Console_14 F26
alt keycode 225 = Console_2
control alt keycode 225 = Console_2
keycode 120 = F3 F15 Console_15 F27
alt keycode 120 = Console_3
control alt keycode 61 = Console_3

The F1 key has "F13" next to it. I don't know why, do you? Also it's not allowing me to switch to other virtual consoles, with control+alt+F1. That feature along with print screen and a more convenient way to switch between "Korean" and "English" would be great. Any ideas?

Finally, here are the errors that I'm getting from xmodmap
Code:
 xmodmap .xmodmap
xmodmap:  .xmodmap:2:  bad keycode value (out of range)
xmodmap:  unknown command on line .xmodmap:3
xmodmap:  unknown command on line .xmodmap:4
xmodmap:  unknown command on line .xmodmap:5
and the corresponding lines in the file that it's looking at.
Code:
keycode 1 = Escape          
	alt	keycode   1 = Meta_Escape     
	shift	alt	keycode   1 = Meta_Escape     
	control	alt	keycode   1 = Meta_Escape
__________________
It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people’s minds. —Samuel Adams
Reply With Quote
Reply

Tags
fedora 11, keyboard

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard mapping P.o.D Using Fedora 4 4th September 2009 11:13 PM
Keyboard mapping plrsmith Hardware & Laptops 0 12th June 2009 10:26 AM
Problem with keyboard mapping brunoadm Using Fedora 0 28th November 2008 04:32 AM
mapping keyboard to ascii -rick- Using Fedora 0 18th April 2008 10:52 AM
Keyboard mapping in FC2 paulec EOL (End Of Life) Versions 5 2nd September 2004 12:27 AM


Current GMT-time: 23:19 (Wednesday, 16-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat