LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2021, 06:13 AM   #1
mythcat
Member
 
Registered: Dec 2007
Location: Fălticeni, Romania
Distribution: Debian;Fedora
Posts: 77
Blog Entries: 1

Rep: Reputation: 15
Fedora: want to map my Fn key to work on LXDE environment.


The Fn key is the wakeup key when the machine is suspended.
If anyone wants to map it to other functions, then that's okay.

I want to map the Fn key on Fedora 33 LXDE.
My keyboard hardware come with an Fn key , see:
https://i.imgur.com/HJlpSEt.jpg
These are the infos about my Linux and hardware:
Code:
$xmodmap -pke | grep "=$"
keycode   8 =
keycode  93 =
keycode  97 =
keycode 103 =
keycode 120 =
keycode 132 =
keycode 149 =
keycode 154 =
keycode 168 =
keycode 178 =
keycode 183 =
keycode 184 =
keycode 197 =
keycode 202 =
keycode 217 =
keycode 219 =
keycode 222 =
keycode 230 =
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 252 =
keycode 253 =
The Fn key is disable because I don't have a response from xev command:
Code:
$ xev
The GRUB starts with:
Code:
$ cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet splash acpi_osi=Linux selinux=1 enforcing=1
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
 
Old 02-14-2021, 07:29 AM   #2
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,467

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
On most keyboards Fn does not produce a scan code of its own and therefore cannot be mapped. If xev and showkey don't detect it, you are out of luck.
 
  


Reply

Tags
fedora, key, keyboard xmodmap, linux


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] I think my key map file is messed up and I want to replace it. Don Littlefield Linux - Hardware 14 12-19-2020 02:01 PM
Opensuse 11.2 lxde or PclinuxOs 2009.4 lxde damipereira Linux - Distributions 1 02-16-2010 02:51 AM
"Enter Key" not working, how to map "Enter Key" functionality to "F9" Key srinihi Linux - Newbie 1 04-03-2009 02:46 PM
How can I map the control key to the caps lock key in Linux? tate1615 Linux - General 4 07-14-2008 01:20 PM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:39 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