Topic: [Solved] One shortcut key, two commands

So, when in a browser, I use Ctrl+F to bring up the find command, but for some reason when I hit this command, I get a terminal window, as it somehow takes priority over the browser find.

Last edited by Neikron (2010-07-30 22:41:17)

Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds, announcing Linux v2.0

Re: [Solved] One shortcut key, two commands

Edit your rc.xml so that ctrl+f doesn't open up the terminal.

Re: [Solved] One shortcut key, two commands

gareim wrote:

Edit your rc.xml so that ctrl+f doesn't open up the terminal.

rc.xml only shows W-t as expected. I have two binds to the terminal, and I don't know why it changed all of a sudden. I can't see an update changing my keybindings. Thanks, though, but unfortunately my problem is not in there.

Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds, announcing Linux v2.0

Re: [Solved] One shortcut key, two commands

first have you set up anything else to do keybindings apart from openbox and rc.xml.

second have you checked your bindings in your browser, its possible that ctrl f has been assigned to two bindings in there.

third, launch the terminal, start htop, press t (for tree view) and find the terminal process, that should tell you what started it, which should at least point you in the right direction.

im not sure its an openbox problem, my understanding is that it intercepts any keybindings before passing it to an app, if it was openbox, find wouldn't be working at all.

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: [Solved] One shortcut key, two commands

Thanks.  Your first point reminded me that I had previously installed xbindkeys to setup bindings for hardware buttons on my laptop.  Apparently xbindkeys installs with a sample config that includes a mapping of ctrl+f to xterm.  There's more detail in the reply I posted to the thread where I reported my problem.

http://crunchbanglinux.org/forums/post/79773/#p79773

Re: [Solved] One shortcut key, two commands

Weird. I checked rc.xml again, in case I missed something, and also got rid of xbindkeys until I can figure this out, and it's still launching xterm. So I can't figure out what the heck is launching xterm, because it's neither xterm, nor the now non-existent (wow, that was quite the alliteration) xbindkeys. I'm at a loss for any more ideas.

Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds, announcing Linux v2.0

Re: [Solved] One shortcut key, two commands

Have you tried restarting?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [Solved] One shortcut key, two commands

anonymous wrote:

Have you tried restarting?

Haha, thanks. That did the trick. Still wondering why it happened in the first place, when nothing in xbindkeys was set to ctrl-f.

Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds, announcing Linux v2.0