Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use pidgin to chat... At the moment Alt-S launches Smiles, does anyone know how to change it to send the message?

share|improve this question
add comment

2 Answers 2

I tried my best but I failed at assigning Alt +S to send the messages. But, what I did manage to do is to get Ctrl + S to send the message. Hope that is enough of a compromise.

Before you edit, please ensure that you have closed all the current instances of Pidgin.

cd .purple/
nano gtkrc-2.0

Paste the following content in it:

binding "my-bindings"
{    
    bind "<ctrl>s" { "message_send" () }
}
widget "*pidgin_conv_entry" binding "my-bindings"

After pasting it, save the file. If you are not sure how to use Nano, follow this question:

Now, Ctrl + S will send the messages in Pidgin.

Reference:

share|improve this answer
add comment

Thanks jokerdino.

I wanted to add a little bit for those like me bent on Alt-S to send.
I've loaded Pidgin 2.10.# in both Ubuntu 12 and Windows OSs, and the following works on both.

In Version 2.10 at least, you can go to the preferences -> conversations settings.
You will see an example toolbar for font settings and smileys, etc. This example is the default chat window toolbar arrangement for all chats. You can change from grouped to ungrouped icons by right clicking on the example toolbar and selecting "ungroup." This change will make the menu a little more unruly, but the change will also remove the smiley button that has alt-s hot-keyed to open smileys up. From here, you can do the same coding in the gtk files as jokerdino submits, but instead use:

binding "my-bindings"
{   
    bind "<alt>s" { "message_send" () }  
}
widget "*pidgin_conv_entry" binding "my-bindings"

The combination will make it so you can do Alt-S to send. I recommend using the 2nd reference link that jokerdino posts to also create a return/enter key-bind for CRLF.

BTW, for Win users, the gtk file is called gtkrc in the path you installed Pidgin:

Pidgin\Gtk\share\themes\MS-Windows\gtk-2.0\

(for me)

Sorry for digging up a year old thread, but this shows at the top of the list, and I thought it was the best place to answer. Plus, I've yet to submit something here since using Ubuntu!

Another link that eventually gets to the same conclusion that I found as I was typing this up: Official Pidgin Enhancement Request

share|improve this answer
1  
This also works using a gtkrc-2.0 file in the .purple directory. –  speakr Dec 24 '13 at 13:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.