Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pidgin: howto make ctrl+enter send messages [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
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed May 09, 2007 10:33 pm    Post subject: pidgin: howto make ctrl+enter send messages [SOLVED] Reply with quote

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
View user's profile Send private message
berg
n00b
n00b


Joined: 02 Feb 2004
Posts: 37

PostPosted: Thu May 10, 2007 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
KillMinusNine
n00b
n00b


Joined: 27 Dec 2005
Posts: 44
Location: Washington

PostPosted: Fri May 11, 2007 5:13 pm    Post subject: Reply with quote

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
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