Incase you just installed xbindkeys and experience whenever you press ctrl + F Xterm opens instead of a search box normally in firefox or whatever then you are not alone.This can be really annoying especially if your used to opening the search tab using Ctrl + F.So if you want to remove that.Here's what you need to do

Step 1:Go to the terminal(Applications->Accessories->Terminal) and type gedit $HOME/.xbindkeysrc.scm
Step 2:The .xbindkeysrc.scm file should have opened.Now search for the word "xterm" .You would normally find 4 instances of it in the whole file
The lines which have xterm are
(xbindkey '("m:0x4" "c:41") "xterm")
(xbindkey '(control "b:2") "xterm")
(xbindkey '(shift mod2 alt s) "xterm -geom 50x20+20+20")
(xbindkey '(alt "m:4" mod2 "c:0x29") "xterm")

Step 3:Now make sure you comment these lines. You can do so by adding a ; in the beginning of these lines.So the lines would become
;(xbindkey '("m:0x4" "c:41") "xterm")
;(xbindkey '(control "b:2") "xterm")
;(xbindkey '(shift mod2 alt s) "xterm -geom 50x20+20+20")
;(xbindkey '(alt "m:4" mod2 "c:0x29") "xterm")

Step 4:Save the file and close it.
Step 5:Back in the terminal type killall -HUP xbindkeys . This will reload the xbindkeys configuration file and you shouldnt have that problem again!!

1 comments

Anonymous said... @ February 27, 2013 at 4:52 AM

THANK YOU!
By the way, my file was located at: ~/.xbindkeysrc

Post a Comment