You are here

Pidgin: Ctrl+Enter to send message on 2.0?

5 posts / 0 new
Last post
Jakanden
Offline
Last seen: 16 years 4 weeks ago
Joined: 2006-09-23 06:57
Pidgin: Ctrl+Enter to send message on 2.0?

Hello all,

I am trying to use Gaim 2.0 and I noticed they disabled the ability to check "Ctrl + Enter sends message".

I read on the Gaim FAQ (http://gaim.sourceforge.net/faq2.php#q20) about editing your gtkrc file but I have tried editing everyone of them I can find and I cannot get this option turned on.

Any help would be appreciated!

Jakanden
Offline
Last seen: 16 years 4 weeks ago
Joined: 2006-09-23 06:57
Sorry to post again but this

Sorry to post again but this is really driving me nuts. I cannot use MSN with 1.5 and I have edited every single file with the name gtkrc in it with no success.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
It should be

GaimPortable\App\GTK\etc\gtk-2.0\gtkrc
Unless you have a copy of GTK installed on your computer as well, in which case you must edit the installed copy as well.
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

Jakanden
Offline
Last seen: 16 years 4 weeks ago
Joined: 2006-09-23 06:57
Thanks for the reply - I

Thanks for the reply - I tried editing it to the following:

# ctrl-enter inserts a newline
bind "Return" { "insert-at-cursor" ("\n") }
# ctrl-s sends message
bind "s" { "message_send" () }
# shift-f1 toggles bold
bind "F1" { "format_function_toggle" (1) }
# alt-f2 toggles italic
bind "F2" { "format_function_toggle" (2) }
# Ctrl-alt-shift-f3 toggles underline
bind "F3" { "format_function_toggle" (4) }
# Ctrl-f1 resets the formatting
bind "F1" { "format_function_clear" () }
}

widget "*gaim_gtkconv_entry" binding "my-bindings"

and it isnt working. The default was:

# enter inserts a newline
bind "Return" { "insert-at-cursor" ("\n") }

Sorry to be such a pain. I do not know anything about Linux and how these commands work heh.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Have you tried

copying the example and using all of this:

#to let you edit your gaim key bindings
gtk-can-change-accels = 1
# In Gaim 2.0.0 and later, you can set custom keybindings in your theme.  Here
# is an example to follow
binding "my-bindings"
{
# enter inserts a newline
	bind "Return" { "insert-at-cursor" ("\n") }
# ctrl-s sends message
 	bind "s" { "message_send" () }
# shift-f1 toggles bold
	bind "F1" { "format_function_toggle" (1) }
# alt-f2 toggles italic
	bind "F2" { "format_function_toggle" (2) }
# Ctrl-alt-shift-f3 toggles underline
	bind "F3" { "format_function_toggle" (4) }
# Ctrl-f1 resets the formatting
	bind "F1" { "format_function_clear" () }
}  
widget "*gaim_gtkconv_entry" binding "my-bindings"

BTW, use <pre> not <code>
----
R McCue
PortaBlog Home and My Website
People who didn't need people needed people around to know that they were
the kind of people who didn't need people.
(Maskerade)

"If you're not part of the solution, you're part of the precipitate."

Topic locked