[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
Última revisiónAmbos lados, revisión siguiente
es:howtos:window_managers:keyboard_layout_in_i3 [2019/08/09 18:17 (UTC)] – [Changing the Keyboard Layout] slackwarespanoles:howtos:window_managers:keyboard_layout_in_i3 [2019/08/09 18:23 (UTC)] – [Sources] slackwarespanol
Línea 43: Línea 43:
 </note> </note>
  
-====Displaying the Active Layout in the Panel====+==== Mostrar el diseño activo en el panel ====
  
-i3status comes with a lot of built-in functionsUnfortunatelythe current keyboard layout is not one of themFor that reasonyou need to write a short script to display the layout in the panel. The default i3status invocation is as follows:+i3status viene con muchas funciones integradasDesafortunadamenteel diseño actual del teclado no es uno de ellosPor esa razóndebe escribir una secuencia de comandos corta para mostrar el diseño en el panel. La invocación predeterminada de i3status es la siguiente:
  
 <code>bar { <code>bar {
Línea 51: Línea 51:
 }</code> }</code>
  
-Here all the built-in functionality is configured in ~/.i3status.conf. We want to add some more on top of that and change it to:+Aquí toda la funcionalidad incorporada se configura en ~ / .i3status.conf. Queremos agregar algo más además de eso y cambiarlo a:
  
 <code>bar { <code>bar {
Línea 57: Línea 57:
 }</code> }</code>
  
-The contents of i3script.sh+Los contenidos de i3script.sh
  
 <code>#!/bin/bash <code>#!/bin/bash
Línea 70: Línea 70:
 done</code> done</code>
  
-The above will display the current keyboard layout before the standard i3status functionsObviously you can add much more to [[howtos:window_managers:i3wm#i3status|i3status]].+Lo anterior mostrará la distribución actual del teclado antes de que funcione el i3status estándarObviamente puedes agregar mucho más a [[howtos:window_managers:i3wm#i3status|i3status]].
  
-=== Using JSON output format (colors) === +=== Uso del formato de salida JSON (colores) === 
-The method above uses the simplest output mode (text only). Although easier to useit lacks color supportFor thatyou'll need JSON.+El método anterior usa el modo de salida más simple (solo texto). Aunque es más fácil de usarcarece de soporte de color. Para esonecesitarás JSON.
  
-Add the following property in your ''.i3status.conf''+Agregue la siguiente propiedad en su''.i3status.conf''
  
 <code>general { <code>general {
Línea 81: Línea 81:
 }</code> }</code>
  
-And replace your ''i3script.sh'' for the code belowIt displays your default language in green (in the example, ''br''and any other language in red.+Y reemplace su '' i3script.sh '' por el código a continuaciónMuestra su idioma predeterminado en verde (en el ejemplo, '' br ''y cualquier otro idioma en rojo.
  
 <code>#!/bin/bash <code>#!/bin/bash
Línea 99: Línea 99:
  
  
-===== Sources ===== +===== Fuentes ===== 
-  Originally written by [[wiki:user:sycamorex]] +   Originalmente escrito por [[wiki:user:sycamorex]] 
-  Contributions by Anonymous +   Contribuciones de Anónimo 
 +   * Traducido por:  [[wiki:user: slackwarespanol | Victor]]  2019/08/09 18:21 (UTC)
  
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 es:howtos:window_managers:keyboard_layout_in_i3 ()