Ty's Weblog

Things about my life.

Using Control-Enter After Upgrade to Pidgen

by @ 9:49 am on May 10, 2007. Filed under Internet/Tech, PC

I’m upgraded from Gaim today to Pidgen. My only complaint was all the work I had to do fix it so that control-enter sent messages and enter entered a newline.

I found this blog entry about the problem, but it links to a 404 currently, so it wasn’t much help. After a lot of searching, I was able to find this ticket which helped me create a .gtkrc-2.0 file (which goes in your %USERPROFILE% directory in Windows). So I’m reproducing what I finally got to work for others to find and use.

binding "pidgin-bindings"
{
# enter inserts a newline
bind "Return" { "insert-at-cursor" ("\n") }
# ctrl-Enter sends message
bind "<ctrl>Return" { "message_send" () }
}
widget "*pidgin_conv_entry" binding "pidgin-bindings"

The URI to TrackBack this entry is: http://www.tycage.net/wp/tycage/2007/05/10/using-control-enter-after-upgrade-to-pidgen/trackback/

2 Responses to “Using Control-Enter After Upgrade to Pidgen”

  1. Dan says:

    You have an extra \ in the key-bindings.

    bind “Return” { “insert-at-cursor” (”\\n”) }

    Remove the extra \ to avoid having it enter “\n” instead of a carriage return

  2. tycage says:

    Yep, you’re right. Thanks for the catch. All fixed now.

Leave a Reply

[Ty’s Weblog is proudly powered by WordPress.]