View previous topic :: View next topic |
Author |
Message |
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed May 09, 2007 10:33 pm Post subject: pidgin: howto make ctrl+enter send messages [SOLVED] |
|
|
Hi,
back in the lucky days when pidgin was still known as gaim, I had the following in my ~/.gtkrc-2.0 and <enter> inserted a newline into my messages and <ctrl>+<enter> sent them.
Code: | gtk-can-change-accels = 1
binding "gaim-bindings"
{
# enter inserts newline
bind "Return" { "insert-at-cursor" ("\n") }
# <ctrl>-enter sends message
bind "<ctrl>Return" { "message-send" () }
}
widget "*gaim_gtkconv_entry" binding "gaim-bindings" |
Now gaim became pidgin and it doesn't work anymore. Simply replacing "gaim" with "pidgin" or "purple" in the above doesn't help.
Google only brought up dead links.
Does anyone know how I can make <ctrl>+<enter> send messages and <enter> insert newlines again?
Thanks,
Chris
Edit:
Got it. Should have googled a bit more...
According to the example gtkrc-2.0, it has to be
Code: | widget "*pidgin_conv_entry" binding "pidgin-bindings" |
|
|
Back to top |
|
|
berg n00b
Joined: 02 Feb 2004 Posts: 37
|
Posted: Thu May 10, 2007 7:20 pm Post subject: |
|
|
Is it possible to use the traditional <alt>+<s> key combination to send messages in pidgin? In the german version this combination opens the "Senden an" ("Send to"?) menu in a message window. Can this behavior be changed?
Thanks in advance! |
|
Back to top |
|
|
KillMinusNine n00b
Joined: 27 Dec 2005 Posts: 44 Location: Washington
|
Posted: Fri May 11, 2007 5:13 pm Post subject: |
|
|
berg wrote: | Is it possible to use the traditional <alt>+<s> key combination to send messages in pidgin? In the german version this combination opens the "Senden an" ("Send to"?) menu in a message window. Can this behavior be changed?
Thanks in advance! |
In the source, edit de.po to have the _ in a different location than immediately before the S, then recompile. Then the .gtkrc file will allow it the same way as the above poster showed, except you'd need to use <alt>S instead of <ctrl>Return. |
|
Back to top |
|
|
|