LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2010, 03:07 AM   #1
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
Change the mapping of Fn key for run level 3


Hi,

I posted earlier regarding an issue with my netbook not having the <>| keys while on Scandinavian layout (Acer Aspire One 532H).

I never use the "Fn" key on any laptop I have and it's especially disposable on this Netbook.

While digging around in /usr/share/kbd/keymaps/i386/qwerty I've got the fi.map.gz open but unsure as to which is the fn key. How would I find out which maps to the fn key?

Thank you

Last edited by Gavin Harper; 06-27-2010 at 03:13 AM.
 
Old 06-28-2010, 12:43 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
The xev X utility may be helpful but Fn alone and Fn+<non-Fn key> does not result in xev reporting anything on Samsung N150 netbook -- only Fn+<valid Fn key> results in xev reporting something.

You might have more luck working at a lower level than X.
 
Old 06-28-2010, 02:09 PM   #3
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
On most laptop keyboards the `Fn' key does not actually send a keypress. The actual OS does not know that it exists.
 
Old 06-28-2010, 03:13 PM   #4
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 24
I'm talking about having this be mapped from runlevel 3.

If Fn is an issue, lets say I'd remap capslock which I never ever use... where is the best place to do this from?
 
Old 06-28-2010, 10:35 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
Quote:
Originally Posted by Gavin Harper View Post
I'm talking about having this be mapped from runlevel 3.
What is runlevel 3 on your system?
 
Old 06-29-2010, 05:10 AM   #6
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 24
Default no-X
 
Old 06-29-2010, 06:52 AM   #7
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,158
Blog Entries: 29

Rep: Reputation: 129Reputation: 129
The key is to use a different keymap for runlevel 3 and make sure it is loaded at startup by making the /etc/rc.D/rc.keymap file executable.

If you need an rc.keymap file, look here.

That's Alien Bob's script, and he uses it to load the nl.map (Netherlands). I use a customized key may I call emacs3.map that makes both Alt keys a meta key and makes the Caps Lock key a Control key.

The Linux Keyboard and Console Howtohas great information on modifying keyboard behavior. Chapter 15 has information on loadkeys, the program that actually loads your keyboard map.

Regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to change permissions of rc.sysinit in run level 1 Andrew Dufresne Linux - Newbie 3 04-06-2010 04:51 AM
[SOLVED] How to change key mapping in Ubuntu 9.10 taylorkh Ubuntu 10 01-25-2010 03:06 PM
What config file do you change to change default run level McPriMa Linux - Newbie 2 08-05-2009 04:45 PM
Last process during run level change Lakki Linux - Software 10 08-04-2009 09:45 AM
change run level siva19185 Linux - Newbie 1 07-10-2008 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration