Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

View Poll Results: What do ytou think ?
Helpful 2 100.00%
Not Helpful 0 0%
Voters: 2. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th February 2005, 08:45 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
keybindings In FC3 & Gnome

Any of you use keyboard short cuts? I do

So this is a easy way to find out what key is which, and assign it to a run-command in metacity.

Tools required for this exercise:
* terminal
* Configuration Editor
* Your Fingers

Step 1
We'll use the left Windows Key for this exercise (Nothing like mocking Winows with Linux )
Open the terminal ( my shortcut is the "Windows Key" )

type in the following:
Code:
xev | grep keycode --line-buffered


you should see this.....


Next hit the key that you want to use as a short cut twice. For this exercise, we'll use the left side "Windows Key"

and the output in the Terminal window should be this...
Code:
[jim@JimsNotebook ~]$ xev | grep keycode --line-buffered
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
What you want to look for is the "Super_L" in the output line. Cool we have the hard part done

Step 2

Open the Configuration Editor
Applications--> System Tools--> Configuration Editor

and drill down to /apps/metacity/global_keybindings


Choose for this exercise run_command_4

right click the area wheree it says "disabled" and typr in the Super_L

next in the left side click the keybinding_commands

look for command_4 and type in gnome-terminal

Exit the Configuration Editor and pres the Left "Windows Key" and the terminal should open up !

Other key-bindings if you havea note book that has those extra keys for launching email, web browser, excetra, follow the same steps and in the command_X (X being the command number) make sure you know the applications terminal command

Some common terminal commands to launch application

* firefox (web browser)
* mozilla (web browser) if installed
* evolution ( mail client)
* nautilus ( file browser) My favorite
* gimp ( image editing tool)

Comming Soon... browse the file system in nautilus as root
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?

Last edited by fedorajim; 10th February 2005 at 10:16 PM. Reason: Change PATH to mages
Reply With Quote
  #2  
Old 10th February 2005, 08:56 PM
awdac Offline
Registered User
 
Join Date: Feb 2005
Location: Athens, GA
Posts: 352
Thanks Jim. I really appreciate people taking the time to right good tip articles (and I hit you up on the reputation as well ).
__________________
Registered Linux User #240607
2001-11-02 03:17:23
Reply With Quote
  #3  
Old 10th February 2005, 10:04 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
This is cool. Thanks. I won't forget to click the reputation.

By the way, these bindings shouldn't disappear with kernel updates right? I'm thinking it shouldn't cos metacity has nothing to do with kernel. Right? Right.
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #4  
Old 10th February 2005, 10:18 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
shouldn't be bothered by kernel updates
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #5  
Old 21st February 2005, 05:52 PM
woosting Offline
Registered User
 
Join Date: Jan 2005
Location: Eindhoven - Netherlands
Age: 36
Posts: 47
Fedorajim (and others who understand the workings of key-bindings) I have a problem with binding the keypad keys! Please take a look at (I dont want to make a dual-thread here):
http://www.fedoraforum.org/forum/sho...232#post205232

Thank you in advance!
Reply With Quote
  #6  
Old 22nd February 2005, 08:43 AM
foolish's Avatar
foolish Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Aalesund, Norway
Age: 26
Posts: 1,888
Great guide.

It is quite similar to my own: http://foolish.fedorausers.org/gnome...uts/index.html
__________________
Sindre Pedersen Bjørdal || http://www.fedorasolved.org || Hardware Profile
- Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #7  
Old 10th March 2005, 08:31 AM
SDNick484 Offline
Registered User
 
Join Date: Sep 2004
Posts: 17
Does anyone know how to assign shortcuts to keys which are not mapped?

eg.
[neandrad@stewie ~]$ xev | grep keycode --line-buffered
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,

The volume buttons on my laptop (Dell D610) are not functional (and it seems i8k isn't available for 2.6), however I was hoping I could somehow bind the keys to a command which would tell aumix to turn up or down the volume.

[edit]
I found out I may map the keys with xbindkeys, now I just need to figure out which commands to pass to allow it to control volume. I found this site where they attempt to do what I want (however he uses kmix, I need to use aumix). It so happens his three volume buttons are the same (174 for down, 176 for up, 160 for mute).

[edit 2]
Well I seemed to have it figured out for the most part, here is my .xbindkeysrc
"aumix -v -5"
m:0x0 + c:174
"aumix -v +5"
m:0x0 + c:176

I don't know of a good way to set the mute button (I can obviously make it turn the sound off, but getting the sound back is the tricky part). Any suggestions would be appreciated.

Last edited by SDNick484; 10th March 2005 at 08:56 AM.
Reply With Quote
  #8  
Old 2nd September 2005, 08:33 PM
ja4 Offline
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks for the great advice. I have an inspiron 8600 and I couldn't get i8kbuttons to work. I made the following .xbindkeysrc to set both the master and headphone volume levels simultaneously.

"amixer set Master 1+; amixer set Headphone 1+"
m:0x0 + c:176
"amixer set Master 1-; amixer set Headphone 1-"
m:0x0 + c:174
"amixer set Master toggle; amixer set Headphone toggle"
m:0x0 + c:160
Reply With Quote
  #9  
Old 16th February 2007, 04:36 AM
Stian1979 Offline
Registered User
 
Join Date: Dec 2006
Location: Taipei Taiwan
Age: 34
Posts: 401
xev is not able to find the Fn key. Would it with other drivers? It's a Asus so I suspect someone else here should have tryed this one out befour.
Reply With Quote
Reply

Tags
fc3, gnome, keybindings

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Gnome command keybindings not working MuadNu Using Fedora 0 10th August 2009 11:38 PM
Keybindings SiriusStarr Hardware & Laptops 1 14th May 2008 07:52 AM
FC4 terminal keybindings Xananna Using Fedora 0 9th September 2005 02:46 PM
Gnome Keybindings ironuckles Using Fedora 2 16th June 2005 03:39 AM


Current GMT-time: 16:15 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat