Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No me funciona la configuracion de teclado con kde5 plasma
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Carlos227
n00b
n00b


Joined: 31 Jul 2020
Posts: 25

PostPosted: Sat Aug 15, 2020 11:14 pm    Post subject: No me funciona la configuracion de teclado con kde5 plasma Reply with quote

Tengo configurado el teclado en español con el archivo
Code:
/etc/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "es"
        Option "XkbRules" "xorg"
EndSection

El problema de esto es que ignora cualquier cambio que haga con kde5 en la configuración del teclado, incluso si borro el archivo me queda por defecto un teclado en ingles.
¿Como puedo hacer para que funcione desde las preferencias del sistema de kde5? así se puede tener diferente configuración por usuario.
Back to top
View user's profile Send private message
chrootman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2020
Posts: 95

PostPosted: Fri Aug 21, 2020 9:07 pm    Post subject: Reply with quote

Siempre hago esto:
Me voy a System Settings > Input Device > Keyboard > Configure Layouts: Add

o

kcmshell5 keyboard

Agrego un Language y lo subo al primero.

Otro comando que siempre me ha sido útil es 'setxkbmap es' o 'loadkeys es', también se puede agregar a un #!/bin/sh.

https://wiki.gentoo.org/wiki/Keyboard_layout_switching
https://wiki.archlinux.org/index.php/Xorg_(Espa%C3%B1ol)/Keyboard_configuration_(Espa%C3%B1ol)
https://wiki.archlinux.org/index.php/Xorg_(Espa%C3%B1ol)
https://wiki.gentoo.org/wiki/Localization/Guide/es
https://packages.gentoo.org/packages/x11-apps/setxkbmap
https://forums.gentoo.org/viewtopic-t-1105274-start-0.html

En xorg tengo algo como eso.
Code:
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "es"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Code:
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "es"
        MatchIsKeyboard "on"
EndSection

Tambien agregarlo a .xinitrc.

También agregar keymap="ES" a /etc/conf.d/keymaps

# rm /lib/rc/console/keymap; rc-update add keymaps boot; reboot
Back to top
View user's profile Send private message
Carlos227
n00b
n00b


Joined: 31 Jul 2020
Posts: 25

PostPosted: Fri Aug 21, 2020 11:20 pm    Post subject: Reply with quote

No me funciona esto, no importa que elija, se queda como esta en la configuración de xorg
Code:
kcmshell5 keyboard
Couldn't load plugin "kcms/kcm_keyboard" : "The shared library was not found."  -- falling back to old-style loading from desktop file


Este comando también falla, me dice
Code:
setxkbmap es
Error loading new keyboard description


y este otro tambien,
Code:
loadkeys en
Couldn't get a file descriptor referring to the console


Lo demas ya lo tengo configurado, pero tengo una pregunta, ¿que hace esta linea?
Code:
MatchIsKeyboard "on"
Back to top
View user's profile Send private message
chrootman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2020
Posts: 95

PostPosted: Sat Aug 22, 2020 5:26 am    Post subject: Reply with quote

Carlos227 wrote:
No me funciona esto, no importa que elija, se queda como esta en la configuración de xorg
Code:
kcmshell5 keyboard
Couldn't load plugin "kcms/kcm_keyboard" : "The shared library was not found."  -- falling back to old-style loading from desktop file


Este comando también falla, me dice
Code:
setxkbmap es
Error loading new keyboard description


y este otro tambien,
Code:
loadkeys en
Couldn't get a file descriptor referring to the console


Lo demas ya lo tengo configurado, pero tengo una pregunta, ¿que hace esta linea?
Code:
MatchIsKeyboard "on"


https://bbs.archlinux.org/viewtopic.php?id=243986
https://bbs.archlinux.org/viewtopic.php?id=128533
https://forums.gentoo.org/viewtopic-p-6952670.html

Parece que es un problema con la versión de x11-misc/xkeyboard-config, podrías intentar hacer un downgrade a la versión posterior a la que tienes, enmascarando esa o aplicar un patch creando un overlay local.

https://wiki.gentoo.org/wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package

https://wiki.gentoo.org/wiki/Patches
https://wiki.gentoo.org/wiki/Custom_repository

Es una opción por defecto de gentoo en vmware para habilitar el teclado y la otra es de archlinux. No estoy en gentoo en este momento.
Back to top
View user's profile Send private message
Luciernaga
Guru
Guru


Joined: 05 Apr 2006
Posts: 524
Location: LANDETE (Cuenca)

PostPosted: Sun Aug 23, 2020 9:44 am    Post subject: Reply with quote

En mi caso tengo puesto lo siguiente y funciona:
/etc/portage/make.conf
....
L10N=es es-ES"
/etc/locale.gen
es_ES ISO-8859-15
es_ES@euro ISO-8859-15
es_ES.UTF-8 UTF-8
C.UTF-8 UTF-8
/etc/portage/package.use/package.use
app-text/aspell l10n_es l10n_es_ES
/home/<user>/.xinitrc
#!/bin/sh
setxkbmap -model pc105 -layout es
exec dbus-launch --exit-with-session startplasma-x11


..... y NO FALLA nunca.
Saludetes :)
_________________
Soy como una diminuta luciérnaga, perdido en la inmensa oscuridad del universo.
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Wed Aug 26, 2020 5:21 pm    Post subject: Reply with quote

Hola:
Si usas KDE5 probablemente tengas systemd; no olvides cargar el keymap que necesites:

Code:
localectl list-keymaps
localectl set-keymap es


https://wiki.gentoo.org/wiki/Localization/Guide/es
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Sat Sep 05, 2020 7:18 pm    Post subject: Reply with quote

Carlos227 wrote:
...
Este comando también falla, me dice
Code:
setxkbmap es
Error loading new keyboard description

...

Prueba a reinstalar xkeyboard-config.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum