Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

pidgin: howto make ctrl+enter send messages [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
chrbecke
Guru
Guru
User avatar
Posts: 598
Joined: Mon Jul 12, 2004 4:25 pm
Location: Berlin - Germany

pidgin: howto make ctrl+enter send messages [SOLVED]

  • Quote

Post by chrbecke » Wed May 09, 2007 10:33 pm

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: Select all

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: Select all

widget "*pidgin_conv_entry" binding "pidgin-bindings"
Top
berg
n00b
n00b
User avatar
Posts: 37
Joined: Mon Feb 02, 2004 8:28 pm

  • Quote

Post by berg » Thu May 10, 2007 7:20 pm

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!
Top
KillMinusNine
n00b
n00b
Posts: 44
Joined: Tue Dec 27, 2005 7:44 am
Location: Washington

  • Quote

Post by KillMinusNine » Fri May 11, 2007 5:13 pm

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.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic