Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 05-27-2010, 12:03 PM   #1
Gavin Harper
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
Acer Aspire One 532H Keyboard with missing < | > keys

While in the USA, I picked up an AAO 532H which is an excellent little netbook besides one issue.

I live in Finland and thus use a Swe/Fin key layout. As a result of this, my < | > key no longer exists.

My current solution is to set up a UK layout that triggers only when right ctrl is held.. it's not a bad solution but obviously only works in a Window manager.

I need to be able to use < | > in Runlevel 3

What is the best way to either assign these characters to one of the more useless (to me) keys on the keyboard so that it affects RL3 and RL5.

Any advice or better solutions are extremely welcome!

Old 06-15-2010, 11:29 PM   #2
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 72

Rep: Reputation: 18
In runlevel 3 (non graphic) you can redefine any key. To do so requires that you can actually enter the key on the keyboard or cut and paste it from the web.

Use the following:


press the key you want to redefine to get it's keycode

wait for the prompt to return

create a new file (name it anything you wish) and put the following in it (replace $$$ with the keycode)

edit filename

# redefine unused key as bar key
keycode $$$ = bar brokenbar

# My F11 key can be redefined by
# keycode 87 = bar brokenbar
# keycode 87 = < > # this would create F11 as < and Shift-F11 as >
# Some keys need to be defined as follows
# string F100 = "<"
# string F101 = ">"
# keycode 87 = F100 F101 # results in the same as keycode 87 = < >

After saving the file and exiting the editor test it by typing

loadkeys filename

Immediately after the prompt returns press the newly defined key (in my case F11) or shift + key to see the results.

This needs to be loaded at each terminal session.

To make this happen automatically edit your .bashrc file and add the command

/usr/bin/loadkeys filename

to the end of the file. (You may need to use "which loadkeys" to find out where loadkeys is located on your system.

To make this change effective for all users put your keymap change in a location outside your home directory and change /etc/bash.bashrc instead of .bashrc

Hope this helps.

Last edited by rdgreenlaw; 06-15-2010 at 11:38 PM. Reason: Clarification of code


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
Enabling Visual Effects on Acer AspireOne 532h-2254 Netbook Frenchy94 Linux - Laptop and Netbook 3 05-10-2010 03:01 PM
Deactivating F7/function keys in Xubuntu on Acer Aspire One drTronic Linux - General 4 12-26-2009 12:51 PM
Fn keys not working on Acer Aspire One with Ubuntu Intrepid esteeven Linux - Laptop and Netbook 2 03-13-2009 11:38 AM
How to make extra keys work on acer aspire 9113? They don't have scancodes! gkiagia Linux - Laptop and Netbook 4 10-20-2006 01:48 PM
Acer hot keys? (aspire 1500 series) : works partially vmicho Linux - Laptop and Netbook 1 03-20-2005 09:58 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:15 PM.

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