Add an FAQ on using Emacs keybindings instead of the default GTK+ style.
This commit is contained in:
		
							parent
							
								
									a2dc940c5e
								
							
						
					
					
						commit
						e8bead98d7
					
				
				
				Notes:
				
					svn2git
				
				2020-12-08 03:00:23 +00:00 
				
			
			svn path=/www/; revision=25678
					 1 changed files with 33 additions and 2 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [ | ||||
| <!ENTITY base CDATA "../.."> | ||||
| <!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.96 2005/08/17 05:16:53 marcus Exp $"> | ||||
| <!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.97 2005/08/19 05:58:26 marcus Exp $"> | ||||
| <!ENTITY title "FreeBSD GNOME Project: GNOME &gnomever; FAQ"> | ||||
| <!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes; | ||||
| <!ENTITY % includes SYSTEM "../../includes.sgml"> %includes; | ||||
|  | @ -56,6 +56,8 @@ | |||
| 	      the full GNOME &gnomever; desktop?</a> | ||||
| 	    <li> <a href="#q25">How do I use D-BUS from within the | ||||
| 	      GNOME Desktop?</a> | ||||
| 	    <li> <a href="#q26">How do I enable Emacs-style | ||||
| 	      keybindings in GTK+ applications?</a> | ||||
|           </ol> | ||||
|         <h2>Full Text </h2> | ||||
| 
 | ||||
|  | @ -678,7 +680,8 @@ Type=Application | |||
| 	      default icons for "Computer," "Home," and "Trash," you can | ||||
| 	      disable any or all of them.  To | ||||
| 	      do this, launch <b>Applications > System Tools > | ||||
|               Configuration Editor</b>, and go to the | ||||
|               Configuration Editor</b> (<tt>gconf-editor</tt> from the | ||||
| 	      command line), and go to the | ||||
| 	      <tt>/apps/nautilus/desktop</tt> key.  From here, you can | ||||
| 	      enable or disable the icons, and even rename "Home" and | ||||
| 	      "Trash."</p> | ||||
|  | @ -1059,6 +1062,34 @@ Type=Application | |||
| 	    <p>Call this new GDM session | ||||
| 	      <tt>gnome-dbus.desktop</tt>.</p> | ||||
| 	  </li> | ||||
| <!-- Q26 --> | ||||
| 	  <li style="padding-bottom: 0.5em"><a name="q26"></a> | ||||
| 	    <p><b>How do I enable Emacs-style keybindings in GTK+ | ||||
| 	      applications?</b></p> | ||||
| <!-- A26 --> | ||||
| 	    <p>By default, GTK+ uses Windows-like keyboard shortcuts | ||||
| 	      for command line editing.  Many UNIX users are more | ||||
| 	      familiar or more comfortable with Emacs-style shortcuts. | ||||
| 	      For example, GTK+ uses Control+A to mean, "select all," | ||||
| 	      where as Emacs uses Control+A to mean, "put cursor at | ||||
| 	      the beginning of line."</p> | ||||
| 
 | ||||
| 	    <p>In order to use Emacs-style keybindings in GTK+ | ||||
| 	      applications, edit <tt>~/.gtkrc-2.0</tt>, and add the | ||||
| 	      following:</p> | ||||
| 
 | ||||
| 	    <pre> | ||||
| gtk-key-theme-name = "Emacs" | ||||
| 	    </pre> | ||||
| 
 | ||||
| 	    <p>If you are using the GNOME Desktop, however, this is | ||||
| 	      not sufficient.  You must also change the GConf key | ||||
| 	      <tt>/desktop/gnome/interface/gtk_key_theme</tt> to | ||||
| 	      "Emacs" using <b>Applications | ||||
| 	      > System Tools > Configuration Editor</b> | ||||
| 	      (<tt>gconf-editor</tt> from the command line).</p> | ||||
| 	  </li> | ||||
| 
 | ||||
|         </ol> | ||||
|   &footer; | ||||
| </body> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue