LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2004, 10:16 PM   #1
MDesigner
Member
 
Registered: Jun 2004
Distribution: openSUSE 10.2
Posts: 69

Rep: Reputation: 15
How to bind Windows key combos and laptop Fn key


I was wondering how to bind the Windows key (+ another key) to an action.. e.g.:

Windows+R = Run
Windows+T = Terminal
etc.

And also, xev does not pick up the "Fn" key on the Dell laptops.. I'd like to get the Fn+PageUp (volume up) and Fn+PageDown (volume down) keys working, but I've had no such luck.

Thanks..
 
Old 07-11-2004, 10:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Not sure about your Dell's Fn-key, maybe search on
freshmeat (I found tpb for my Thinkpad there).

As for the Win-Key: that would depend on the
Window-Manager / Desktop-Environment you're
using ...


Cheers,
Tink
 
Old 07-11-2004, 10:56 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
no, there are programs out there that can listen and respond to key combos, I'm not sure if they recognize the windows key, or if its another programs responsibility to do that ..
 
Old 07-11-2004, 10:56 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
If you are using GNOME you should be able to go to Start Here, then under preferences look for keyboard shortcuts, then you high light the volume up, down or mute, press your Fn+PgUp, Fn+PgDn, Fn+End and this should set up your keyboard shortcuts.

I am running Fedora, but I believe GNOME should have this functionality in Slackware.

HTH
 
Old 07-11-2004, 11:47 PM   #5
MDesigner
Member
 
Registered: Jun 2004
Distribution: openSUSE 10.2
Posts: 69

Original Poster
Rep: Reputation: 15
I'm using GNOME 2.6.2.

Nope, Gnome does not pick up Fn+anything.

I can assign Super_L (windows key) to anything I want, but what I want to do is assign Super_L+F, Super_L+X, etc... a two-key combo. How do I do that?
 
Old 07-12-2004, 12:10 AM   #6
tumana
Member
 
Registered: Mar 2004
Posts: 102

Rep: Reputation: 15
Regarding the Fn keys, have you checked to see if all of your hardware was detected properly? I'm not familiar with Slackware, but I'm sure you can check to see if Linux detected the proper hardware.

Many times without the specific platform drivers installed, generic drivers are used. This would cause several things from Linux not knowing how to use your chipset (which doesn't seem to be your problem) or small proprietary things like the Fn keys to not work. Myself, I don't own a laptop, but I never got some of the multimedia keys on my keyboard to work. But then again, I never used them anyways.

If this happens to be your case, check Dell's website and download Linux drivers for your specific hardware platform. However, you might have more success on Google.

Who knows...
Ian
 
Old 07-12-2004, 12:02 PM   #7
MDesigner
Member
 
Registered: Jun 2004
Distribution: openSUSE 10.2
Posts: 69

Original Poster
Rep: Reputation: 15
Hm, couldn't find anything useful on Dell's site.. then again, they mostly support Windows on their laptops, not Linux. No surprise there.
 
Old 07-12-2004, 02:22 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Maybe you should google some more, mate ...
You didn't mention which Model you have, but
apparently on SOME Dell machines the volume
control can be made co-operating with Linux ...
the top entry in the search result set did ... this
web is a fantastic source of information! :}


Cheers,
Tink
 
Old 07-12-2004, 10:59 PM   #9
MDesigner
Member
 
Registered: Jun 2004
Distribution: openSUSE 10.2
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks for the link. I tried the i8k module thing (Slackware 10.0 also includes that module)
So I slapped i8k into my initrd.gz, ran lilo, booted.. I found this in my /var/log/messages:

Jul 12 22:47:03 toeunit kernel: i8k: unable to get SMM Dell signature
Jul 12 22:47:03 toeunit kernel: i8k: unable to get SMM BIOS version

Any ideas? It's a Dell Inspiron 4000, so maybe that's why it doesn't work.. it's kind of an old laptop (from 2000 or so).
 
Old 07-15-2004, 11:55 PM   #10
tumana
Member
 
Registered: Mar 2004
Posts: 102

Rep: Reputation: 15
I suggest to Google a little more, but here are some interesting links:

(This is another "Linux Questions" thread, even though it not a Inspiron 4000)
http://www.linuxquestions.org/questi...Dell+signature

(These two are just the results of my search in Google)
http://www.google.com/search?hl=en&l...22&btnG=Search
http://www.google.com/search?hl=en&i...=Google+Search

That's all I have,
ian
 
Old 07-18-2004, 06:50 PM   #11
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
When you are creating the key shortcut you want, hold both keys Super L+X or whatever, this will assign it together for a shortcut. Do this while in the box for the shortcut you want.
 
Old 07-18-2004, 09:32 PM   #12
MDesigner
Member
 
Registered: Jun 2004
Distribution: openSUSE 10.2
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by JayCnrs
When you are creating the key shortcut you want, hold both keys Super L+X or whatever, this will assign it together for a shortcut. Do this while in the box for the shortcut you want.
For the Keyboard Shortcuts in GNOME, Super_L registers as one key only.. it will not let you choose combos like Super_L+PageUp.

However, via gconf-editor, I can bind Super_L+PageUp to any shell command I want.. but I'm not sure if there's an actual shell command that will lower/raise/mute volume.
 
Old 08-15-2004, 03:08 AM   #13
jhermans
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
I just spent a day or two, simply trying to figure out how to solve this problem. And now I feel really dumb about it, but there's some really good info out there.

First of all, there is a really good guide to customizing hotkeys to launch a program/script/whatever on fedorausers.org. Check it out.

http://foolish.fedorausers.org/gnome...ard_shortcuts/

Secondly, do this: type xmodmap in the terminal, and look to see what modifier Super_L belongs to. Mine is mod4. Now, in gnome-config, use the modifier <Mod4> in your hotkey string.

Hope this helps.
 
  


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
Fluxbox - bind one key to a key combo dracolich Linux - General 0 09-01-2005 03:53 PM
Bind one key to one command Ephracis Linux - Software 1 03-20-2005 09:11 AM
Bind Power Down Keyboard Key to Shutdown... jpsrm Linux - General 1 01-07-2003 12:05 AM
intellimouse key bind? spooge Linux - General 2 08-30-2002 08:08 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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