[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:window_managers:keyboard_layout_in_i3 [2019/08/09 17:05 (UTC)] – [i3 Window Manager] slackwarespanoles:howtos:window_managers:keyboard_layout_in_i3 [2019/08/09 18:17 (UTC)] – [Changing the Keyboard Layout] slackwarespanol
Línea 5: Línea 5:
 ==== i3 Window Manager ==== ==== i3 Window Manager ====
  
-[[howtos: window_managers: i3wm | i3wm]] no viene con stock Slackware. Si desea instalar este administrador de ventanas extremadamente configurable, visite [[http://slackbuilds.org/repository/13.37/desktop/i3/|SlackBuilds]]. Asegúrese de instalar también [[http://slackbuilds.org/repository/13.37/desktop/i3status/|i3status]], que le permitirá mostrar todo tipo de información útil en un panel. +[[howtos: window_managers: i3wm | i3wm]] no viene con stock Slackware. Si desea instalar este administrador de ventanas de mosaico extremadamente configurable, visite [[http://slackbuilds.org/repository/13.37/desktop/i3/|SlackBuilds]]. Asegúrese de instalar también [[http://slackbuilds.org/repository/13.37/desktop/i3status/|i3status]], que le permitirá mostrar todo tipo de información útil en un panel. 
-====Setting the Keyboard Layout====+==== Configuración de la distribución del teclado ====
  
-i3 does not come with any built-in keyboard setting mechanismThe ''setxkbmap'' commandhoweverdoes the job wellIf you've set the keyboard layout system-wide and do not need to switch between layoutsyou do not need to do anythingIf you'd like to set the layout just for i3, you can edit its ''.xinitrc'' fileIf you change a graphical environment often and you do not want the keymap to be overwrittenyou need to modify ''/etc/X11/xinit/xinitrc.i3''.+i3 no viene con ningún mecanismo de configuración de teclado incorporadoEl comando '' setxkbmap '', sin embargofunciona bienSi ha configurado el diseño del teclado en todo el sistema y no necesita cambiar entre diseñosno necesita hacer nadaSi desea configurar el diseño solo para i3, puede editar su archivo '' .xinitrc ''Si cambia un entorno gráfico con frecuencia y no desea que se sobrescriba el mapa de teclasdebe modificar '' /etc/X11/xinit/xinitrc.i3 ''.
  
 <code># nano /etc/X11/xinit/xinitrc.i3</code> <code># nano /etc/X11/xinit/xinitrc.i3</code>
  
-Just before the ''Start i3'' section you can specify the desired keymap (eg. gb):+Justo antes de la sección '' Iniciar i3 '' puede especificar el mapa de teclas deseado (por ejemplo, gb):
  
 <code>setxkbmap gb</code> <code>setxkbmap gb</code>
  
-Save the file and run (as a standard user) xwmconfig and choose i3 to copy the ''xinitrc'' file to your home directoryIf you are in X, you might need to restart it.+Guarde el archivo y ejecute (como usuario estándar) xwmconfig y elija i3 para copiar el archivo '' xinitrc '' en su directorio de inicioSi está en X, es posible que deba reiniciarlo.
  
 +==== Cambiar la distribución del teclado ====
  
-====Changing the Keyboard Layout====+Si necesita cambiar entre diferentes diseños, puede asignar algunas combinaciones de teclas para realizar esas funciones.
  
-If you need to switch between different layouts, you can map some keybindings to perform those functions. +1. Abra el archivo de configuración i3
- +
-1. Open the i3 config file+
  
 <code>nano ~/.i3/config</code> <code>nano ~/.i3/config</code>
  
-2. Add the following (it's just an example):+2. Agregue lo siguiente (es solo un ejemplo):
  
-Assign ''Mod4'' to the Microsoft key (I use the Microsoft key a lot to avoid clashes with default i3 keybindings):+Asigne '' Mod4 '' a la clave de Microsoft (utilizo mucho la clave de Microsoft para evitar conflictos con las combinaciones de teclas i3 predeterminadas):
  
 <code>set $ms Mod4</code> <code>set $ms Mod4</code>
Línea 36: Línea 35:
 bindsym $ms+g exec setxkbmap gb</code> bindsym $ms+g exec setxkbmap gb</code>
  
-Now <key>MS+d</key> and <key>MS+g</key> let me switch between the UK and German keyboard layouts.+Ahora <key> MS + d </key> <key> MS + g </key> me permiten cambiar entre los diseños de teclado del Reino Unido y el alemán.
  
-<note>If you usually switch between two keyboard layouts and you don't need to display the current layout in the status baryou might also place the following code in your ''~/.i3/config'' file:+<note>Si normalmente cambia entre dos diseños de teclado y no necesita mostrar el diseño actual en la barra de estadotambién puede colocar el siguiente código en su archivo '' ~ / .i3 / config '':
   setxkbmap -layout de,gb   setxkbmap -layout de,gb
   setxkbmap -option 'grp:ctrl_alt_toggle'   setxkbmap -option 'grp:ctrl_alt_toggle'
-This will let you toggle between the two layouts using <key>Ctrl</key>+<key>Alt</key>.+Esto le permitirá alternar entre los dos diseños usando <key> Ctrl </key> + <key> Alt </key>.
 </note> </note>
  
 es:howtos:window_managers:keyboard_layout_in_i3 ()