Menu

Ctrl_enter - sends

2006-10-27
2013-01-14
  • Daniel Andrascik

    Hello,

    in your documentation is written that is possible togle send message shortcut (enter or ctrl_enter). But in Gaim 2 this feature is missing. I still use Gaim 1.5 :-( :-( :-( :-( because Gaim 2 dont makes it possible change this shortcut. This is realy primitive problem. I had attentioned at this problem before you released Gaim2beta4. Never has been changed :-( :-( :-( :-( :-(. I am realy disgusted. It is maximal simple (realy maximal simple!!! - 30 minutes in work) to include this feature. Is possible to add this feature?

    Best Regards

     
    • Lee Roach

      Lee Roach - 2006-10-27

      It's also easy enough to read the faq before making poor assumptions. http://gaim.sourceforge.net/faq2.php#q20 should address your concern.

       
    • Anton Gavrilov

      Anton Gavrilov - 2006-10-27

      "if you find a feature, it might confuse the user, so remove it."   I see Gaim is closely following GNOME development practices.

      The first thing I did when I failed to find the Ctrl-Enter option in the new Gaim is check out the FAQ.  Wow, they anticipated the question and addressed it!  Great, sure I'll have Ctrl-Enter working it a minute!

      As if.  The instructions point you in the general direction of "gtkrc" without giving any details.   So I spend the next 15 minutes researching this gtkrc thing, to no avail.

      Should I just go straight ahead and start studying GTK source code so I can figure out what this gtkrc thing is and I can edit it?

       
      • Anton Gavrilov

        Anton Gavrilov - 2006-10-27

        Okay here's what worked for me (Ubuntu Linux 6.10):

        In your home dir, create a file named .gtkrc-2.0 with the following content:

        binding "my-message-bindings"
        {
            bind "Return" { "insert-at-cursor" ("\n") }
             bind "<ctrl>Return" { "message_send" () }
        }
         
        widget "*gaim_gtkconv_entry" binding "my-message-bindings"

        Restart GAIM and pray.

         
      • Luke Schierer

        Luke Schierer - 2006-10-27

        or you could look at the example one we link to several times in the faq.  its at gaim.sf.net/gtkrc-2.0

         
    • Anton Gavrilov

      Anton Gavrilov - 2006-10-27

      Evidently the FAQ could use some polishing up if one has to spend 15 minutes to make use of the answers.

       
      • Anton Gavrilov

        Anton Gavrilov - 2006-10-27

        Arrrgh, replying to the wrong post again, sorry.

         
      • Luke Schierer

        Luke Schierer - 2006-10-27

        I entirely agree.  I've been trying to figure out a way to clean it up without losing content.  I'm open to suggestions.

         
        • Anton Gavrilov

          Anton Gavrilov - 2006-10-27

          Just provide detailed instructions along the lines of my post above (http://sourceforge.net/forum/message.php?msg_id=3984133).

          Take look at this page: http://portableapps.com/node/3116.   Two intelligent people tried hard but couldn't figure out how to edit the "gtkrc" file and where this file is to be found.   The fact that "~/.gtkrc-2.0" is mentioned right in the next FAQ entry doesn't help;  people fail to see information perceived as irrelevant (and no, something titled as "When I click the status selector, I see blank space and have to scroll" doesn't sound like it has anything to do with message sending).

          Also, it's not easy to make the required edits to gtkrc for someone unfamiliar with Unix config files.  In the above example, Jakanden confuses the comment, "# enter inserts a newline", for an actual config setting and changes it to "# ctrl-enter inserts a newline" :-)

           
          • Luke Schierer

            Luke Schierer - 2006-10-27

            that's great as far as it goes, but it doesn't go far enough.  I get questions about control-enter and shift-enter to send.  I get questions about a variety of keystrokes to close.  I do not want to write individualized instructions for each possibility, I need something that will provide enough information for a reasonably inteligent person to figure out how to do whatever with the keystrokes.

             
            • Anton Gavrilov

              Anton Gavrilov - 2006-10-27

              Ctrl-Enter deserves special treatment since it's the most likely candidate to be used by someone who prefers multiline input fields.  Many people do.  I believe the original ICQ used Ctrl-Enter, and it was the default in several alternative clients until recent times.  My friends who used ICQ for more than a couple of years all use Ctrl-Enter.

              And Ctrl-Enter is what you press in web browsers and many Windows program to submit a form with a multiline text control.

              As for Shift-Enter, it is IMHO a poor choice of a shortcut as it's likely to be pressed unintentionally if the last characters entered were in uppercase.  Note how no one ever binds anything to Shift-Space.

              So I believe it's okay to require an extra effort for Shift-Enter and other exotic combinations.  But Ctrl-Enter is too common to be ignored.

               
              • Luke Schierer

                Luke Schierer - 2006-10-28

                what an ego-centric statement.  Have you done an exhaustive survey of the over 100 thousand gaim users to determine that control-enter is more popular than shift-enter?  Or any kind of scientific sampling?  Controling for geography? 

                No. you are just guessing because you and your friends happen to like it.

                Yes, ICQ used to use it.  but ICQ has not been popular in YEARS in most of the world, it was NEVER popular in some of the world.

                 
                • Anton Gavrilov

                  Anton Gavrilov - 2006-10-28

                  My bad, I did no survey :(

                  But wait, we can fix that!  What about a poll on GAIM website's front page?

                   
              • Luke Schierer

                Luke Schierer - 2006-10-28

                This statement is really no different than the Europeans who tell me that iso-8859-1 deserves special treatment, ignoring the entire continent of Asia.

                 
              • Ka-Hing Cheung

                Ka-Hing Cheung - 2006-10-28

                When I used the official icq client, I never used Ctrl-Enter, I've always used alt-s.