Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keybindings in gnome 2.6 [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Tue May 18, 2004 8:39 am    Post subject: Keybindings in gnome 2.6 [Solved] Reply with quote

Hi

I need some custom keybindings for my laptop keyboard which I earlier used xmodmap for. But in gnome 2.6 this doesn't seem to work, and the keyboard configuration menu doesn't have any options that help.

How does one make custom keybindings in gnome 2.6?

/Martin


Last edited by d99ma on Thu May 20, 2004 10:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
gakk
n00b
n00b


Joined: 03 Jan 2003
Posts: 3
Location: Bergen - Norway

PostPosted: Tue May 18, 2004 12:16 pm    Post subject: Re: Keybindings in gnome 2.6 Reply with quote

If you use gconf-editor (should be in the menu Applications -> System Tools -> Configuration Editor):

Click Apps -> Metacity -> Keybinding_commands
Then edit command_n (where n is in the range 1-12)
For value: enter the path to the program you want to start (with switches if you like)
Then choose Global_keybindings, and edit run_command_n
For the key combination, just follow the syntax in the other bindings.

And there you have it :)

I myself usually have <control><shift>F7 and <control><shift>F8 bound to xmms -r and -f :)

Of course you could also choose another WM...

Edit: hmm.. it's possible I misread your post :?
Back to top
View user's profile Send private message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Tue May 18, 2004 1:48 pm    Post subject: Reply with quote

You probably did, or perhaps my question was unclear.

I'm looking for the possibility to change e.g. shift - A, so that when i type <shift> A i get a small c for example.
Back to top
View user's profile Send private message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Thu May 20, 2004 9:11 pm    Post subject: Reply with quote

A friendly bump for my problem.

It must be possible to change keybindings in gnome!
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 20, 2004 9:53 pm    Post subject: Reply with quote

xmodmap is the right tool to use. How are you invoking it?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Thu May 20, 2004 10:00 pm    Post subject: Reply with quote

Ha ha, that solved it!

I have a .Xmodmap in my ~ directory which was "automatically" used in gnome 2.4 but in 2.6 that doesn't seem to be the case, but after running xmodmap .Xmodmap everything works.

Thanks
/Martin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum