LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices


Reply
  Search this Thread
Old 07-08-2008, 10:03 AM   #1
ThiagoMZ
LQ Newbie
 
Registered: Oct 2002
Location: Brazil
Distribution: Debian, Ubuntu, Red Hat
Posts: 9

Rep: Reputation: 0
Acer 4520 Euro Key


Hi there !

I have a Acer Aspire 4520 with brazilian keyboard layout (ABNT2) that works fine... but for me access my slash key '/' I need to press "Alt Gr" + S, that is sux, to work with my linux, that keyboard has a EURO key (http://www.tech2.com/media/images/20...ire_5920_7.jpg) <-- Almost like that.

How can I identify the key code and remap it to use slash ?
 
Old 07-08-2008, 11:47 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
In a terminal enter
xev
Then press the € key, you will see its keycode in the terminal
<CTRL>-c to exit xev (or just close the terminal)

[Edit] To remap the € key you can use xmodmap
For example, I hate the "CapsLock" on my laptop, so I have changed it to "Shift" by having an executable file called FixCapsLock in /home/tred/.kde/Autostart
Code:
#!/bin/bash
# Disable the stupid "Caps Lock" key, and make it "Shift":
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "add Shift = Caps_Lock"
Please see man xmodmap for more details.
[/Edit]

Last edited by tredegar; 07-08-2008 at 01:02 PM.
 
Old 07-08-2008, 07:26 PM   #3
ThiagoMZ
LQ Newbie
 
Registered: Oct 2002
Location: Brazil
Distribution: Debian, Ubuntu, Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
tredegar,

I tried use xev, but the Euro key € don´t generated any signal... I used that regex to capture only the signal's

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'

I got signal to other keys, but for Euro and Dollar key nothing.

any idea ?

I found that for windows XP http://emtek.net.nz/blog/category/acer4520/

I tried the codes, but didn't work too.
 
Old 07-09-2008, 04:02 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Strange.
Maybe there is a setting in the BIOS that controls what those keys do?
Maybe upgrade your BIOS?
 
Old 07-13-2008, 09:06 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
That seems to be normal behaviour for ACERs not generate any key codes fro that € and $ keys. I am installing a 5315 and have the same issue, so do other users.

BTW your image link doesn't work.

jlinkels
 
Old 07-14-2008, 06:07 AM   #6
ThiagoMZ
LQ Newbie
 
Registered: Oct 2002
Location: Brazil
Distribution: Debian, Ubuntu, Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlinkels View Post
That seems to be normal behaviour for ACERs not generate any key codes fro that € and $ keys. I am installing a 5315 and have the same issue, so do other users.

BTW your image link doesn't work.

jlinkels
I resolved my problem, look at your /var/log/messages and you will see the code.

I´m not now with my laptop, ASAP i will update this post with the solution and the shortcuts to all special keys.

PS.: Strange here the image link works.

Last edited by ThiagoMZ; 07-14-2008 at 06:09 AM.
 
  


Reply



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
Problems with Acer aspire 4520 amitabhishek SUSE / openSUSE 17 04-13-2009 12:39 AM
acer 4520 wifi and Slacware 12.1 glore2002 Slackware 1 07-01-2008 01:17 PM
acer aspire 4520 riple Linux - Laptop and Netbook 2 06-26-2008 09:59 AM
Acer Aspire 4520-501G16Mi(064) who i am Linux - Laptop and Netbook 1 02-22-2008 06:47 PM
acer aspire 4520 riple Linux - Laptop and Netbook 1 10-15-2007 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:44 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
Open Source Consulting | Domain Registration