LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-18-2017, 04:38 AM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026

Quote:
Originally Posted by Paulo2 View Post
Just I see those characters in my notebook when I press <fn> key + F7 to diminish
brightness during the boot process. Maybe you have some key stuck.

You know you can fix that with a custom keymap?
Code:
#!/usr/bin/loadkeys 
#
#   This file will be processed by loadkeys, invoked by
#   /etc/rc.d/rc.keymap during system initialisation.
#   

# Include the standard British layout qwerty PC keymap:
include "/usr/share/kbd/keymaps/i386/qwerty/uk.map"

# Add the European currency 'euro' symbol to AltGr-4:
altgr keycode  5 = euro

# Add the cent symbol to AltGr-c:
altgr keycode  46 = cent

# Prevent the backlight brightness up/down function keys generating
# characters (acpi will handle them):
keycode 224 = VoidSymbol
keycode 225 = VoidSymbol
keycode 239 = VoidSymbol
# Prevent the mute, volumedown, volumeup function keys generating
# characters (acpi will handle them):
keycode 113 = VoidSymbol
keycode 114 = VoidSymbol
keycode 115 = VoidSymbol
You'll need to run showkey on the console to find the correct keycode values for your machine.
 
2 members found this post helpful.
Old 11-18-2017, 05:59 AM   #17
ahlr
Member
 
Registered: Jun 2012
Distribution: Slackware-Current
Posts: 44

Rep: Reputation: Disabled
Excelent! TKS!
 
Old 11-19-2017, 01:26 PM   #18
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 932

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Quote:
Originally Posted by GazL View Post
You know you can fix that with a custom keymap?
Code:
#!/usr/bin/loadkeys 
#
#   This file will be processed by loadkeys, invoked by
#   /etc/rc.d/rc.keymap during system initialisation.
#   

# Include the standard British layout qwerty PC keymap:
include "/usr/share/kbd/keymaps/i386/qwerty/uk.map"

# Add the European currency 'euro' symbol to AltGr-4:
altgr keycode  5 = euro

# Add the cent symbol to AltGr-c:
altgr keycode  46 = cent

# Prevent the backlight brightness up/down function keys generating
# characters (acpi will handle them):
keycode 224 = VoidSymbol
keycode 225 = VoidSymbol
keycode 239 = VoidSymbol
# Prevent the mute, volumedown, volumeup function keys generating
# characters (acpi will handle them):
keycode 113 = VoidSymbol
keycode 114 = VoidSymbol
keycode 115 = VoidSymbol
You'll need to run showkey on the console to find the correct keycode values for your machine.
Thanks, it worked. The keycodes for brightness up/down are the same 224/225.
 
Old 11-19-2017, 05:49 PM   #19
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493
There's a patch for this in 4.14.1-rc1 which should be released around the middle of this week.
 
1 members found this post helpful.
  


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
gfdisk should be added to Slackware? mlpa Slackware 1 02-03-2013 05:09 PM
Question about old added kernel modules when compiling a new kernel Alpha90 Linux - Kernel 6 09-13-2012 03:03 PM
Exit KDE 4.6.5 to Console and Character Set Becomes Symbol(?) tronayne Slackware 3 01-19-2012 06:41 PM
How to print a message from kernel module to terminal console or tty console yogesh_bansal Linux - Newbie 2 02-27-2009 09:10 AM

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

All times are GMT -5. The time now is 11:45 AM.

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