DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd November 2010
newbsdied newbsdied is offline
Port Guard
 
Join Date: Sep 2010
Posts: 11
Thanked 0 Times in 0 Posts
Default How to change keyboard key?

i am obviously not an expert at unix. can someone please tell me how to change the function of a key on my openbsd setup. The key to increase the backlight turns off the backlight completely. It should be in x11, right? This just happened.
Reply With Quote
  #2   (View Single Post)  
Old 6th November 2010
tehsean tehsean is offline
Custom User
 
Join Date: Aug 2010
Posts: 22
Thanked 1 Time in 1 Post
Default

Start from the FAQ:

7.1 - How do I remap the keyboard? (wscons)
Reply With Quote
  #3   (View Single Post)  
Old 6th November 2010
newbsdied newbsdied is offline
Port Guard
 
Join Date: Sep 2010
Posts: 11
Thanked 0 Times in 0 Posts
Default

To change the fn + f8 key to increase brightness, wouldn't that be fn_f8=fn_f8? since thats the key on my keyboard? i am confused. What would the proper reference be for that function key and the operation i want it to perform?
Reply With Quote
  #4   (View Single Post)  
Old 6th November 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

The Fn key is typically handled specially by the EC (Embedded controller) in laptops, by itself it usually doesn't generate a keyboard scancode that is detectable by the OS.. but some combinations might.

Brightness control is often done transparently, but if your particular laptop generates a scancode that is usually interpreted by a driver/app running Microsoft Windows you might be able to find a way to simulate the effect using xgamma(1), or perhaps a 3rd party wrapper.. xbrightness.

You can run xev to see if the Fn+F8 key generates anything, if it doesn't, it may be handled by special ACPI events.. which perhaps may be unsupported for your laptop.
Reply With Quote
  #5   (View Single Post)  
Old 7th November 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,070
Thanked 198 Times in 156 Posts
Default

Xorg comes with xbacklight.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #6   (View Single Post)  
Old 7th November 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Indeed, that doesn't appear to work on every system through.. not entirely sure what it depends on, for my ATI radeon based laptop it simply prints "No outputs have backlight property".

Maybe it only works for intel graphics at the moment?
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD keyboard layouts psycho OpenBSD General 6 15th March 2010 03:04 AM
Windows keyboard shortcuts rex Other OS 1 4th March 2009 05:44 PM
Can not change keyboard layout with SHIFT and Alt after VNCviewer connect mfaridi OpenBSD General 1 13th December 2008 03:14 PM
Keyboard Layout mfaridi FreeBSD General 6 26th June 2008 07:13 PM
Keyboard delboy FreeBSD Installation and Upgrading 2 23rd May 2008 05:55 PM


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick