No momento, estou usando o Ubuntu 24.04.1 LTS no meu Lenovo Slim 5 Light. Após a suspensão, meu teclado não recebe nenhuma entrada, o que me faz executar um desligamento forçado. O teclado funciona normalmente após uma reinicialização. Estou usando o Windows e o Ubuntu no meu laptop, mas esse problema só acontece no Ubuntu.
Tentei mudar o GRUB_CMDLINE_LINUX_DEFAULT
para "quiet splash atkbd.reset"
como algumas pessoas na Internet propuseram, mas nada muda.
Qual pode ser a causa disso? Obrigado pelo seu tempo.
Minha pergunta é bem simples. Quero digitar a ñ
letra espanhola no meu teclado alemão no Ubuntu 24.04. Como posso fazer isso?
Isso é possível? Na verdade, achei muito difícil encontrar informações sobre isso na Internet. Para digitar o ponto de interrogação espanhol, ¿
eu só uso Strg+ Alt Gr+ ?. Eu teria assumido que existe uma combinação de teclas para digitar a ñ
letra espanhola ou pelo menos algo como Alt Gr+ +→ npara isso.
Quer dizer, existe a possibilidade de usar o método de composição e digitar um caractere UTF-8. Strg+ Shift+ u→ 00F1
→ Entere então o resultado seria ter digitado a letra ñ
, mas esse método é um pouco complicado.
Preciso de um comando cli para desabilitar dispositivos de entrada (teclado e mouse), bem como um comando para habilitá-los novamente.
Para desabilitar dispositivos de entrada no Xorg é: xinput float <id#>
, e para habilitá-los é xinput reattach <id#>
, mas estou no Wayland , como fazer isso lá?
Qual é a tecla Compose padrão no Ubuntu 24.04?
Instalei o Ubuntu 24.04 em um MacBook Pro, modelo 2019 com processador Intel i5, mas o touchpad e o teclado não estão funcionando.
eu sei que
a) há inúmeras postagens sobre esse assunto
b) existe uma distribuição pronta para T2
mas quero evitar o problema de reinstalá-lo do zero.
Adicionei o repositório correspondente e executei o comando:
sudo apt install -y linux-t2-lts
No entanto, após uma reinicialização, o trackpad e o teclado continuam completamente sem resposta.
Eu realmente apreciaria qualquer feedback sobre se há um caminho a seguir a partir deste ponto.
Edição de pergunta: Vejo os seguintes kernels instalados
# dpkg --list | grep linux-image
ii linux-image-6.6.62-1-t2-noble 6.6.62-1 amd64 Linux kernel, version 6.6.62-1-t2-noble
ii linux-image-6.8.0-41-generic 6.8.0-41.41 amd64 Signed kernel image generic
rc linux-image-6.8.0-48-generic 6.8.0-48.48 amd64 Signed kernel image generic
ii linux-image-6.8.0-49-generic 6.8.0-49.49 amd64 Signed kernel image generic
ii linux-image-generic-hwe-24.04 6.8.0-49.49 amd64 Generic Linux kernel image
No entanto, apesar de eu estar executando sudo update-grub
, nunca sou solicitado a selecionar kernel durante a inicialização. Como posso instruir o Linux a usar linux-image-6.6.62-1-t2-noble
?
Então, a tecla delete do meu laptop está travada internamente. Tentei desabilitá-la usando xmod -e 'keycode 119 = 0x0000'
. Mas ainda estou detectando no xev. Às vezes, quando o editor de texto é aberto, tudo é deletado. Adicionei o comando acima no aplicativo de inicialização, mas sem sucesso.
Eu tenho um sony vaio com ubuntu 22.4 mate
if I press m it shows 0
if I press u it shows 4
e algumas outras cartas
ESTE TEXTO FOI ESCRITO COM ONBOARD,Por favor ajude
LOGITECH G915 (teclado TKL)
Então, a história é mais ou menos assim: eu estava ajustando a configuração do teclado através de programas "especiais", não o gnome, como o autokey e outros, e agora as teclas de função não estão mais funcionando...
Estou tentando redefinir a configuração do teclado, o layout, tudo...
Eu já tentei
dconf reset -f /org/gnome
edpkg-reconfigure keyboard-configuration
Agora, a única solução alternativa que tenho para fazer as teclas FN funcionarem novamente é esta:
- faça login em um segundo usuário (criado antes e intocado, usuário não utilizado) que ainda tenha as teclas FN em execução,
- Sair,
- voltar para meu usuário.
Pronto, isso é o "truque" para fazê-los funcionar novamente...
Eu executei
xev
,evtest
eshowkey
, as teclas FN nunca são detectadas, a menos que eu faça a "solução alternativa", após o que elas são detectadas novamente nos 3 programas.Já desinstalei alguns daemons e programas que precisei para personalizar um segundo teclado (keypad)...
Comparei os daemons em execução em ambos os usuários com
service --status-all
, esystemctl | grep "running"
apenas no caso de haver algum daemon modificando as coisas... mas antes e depois da solução alternativa: os processos do sistema são os mesmosEu inspecionei minha
~/.config
pasta e ela não difere do 2º usuárioTambém atualizei de
Ubuntu 20.x
paraUbuntu 22.04.5
para sem sucesso.
Pistas:
- Pode ser algo no meu usuário?, e não consigo descartá-lo,
- Pode estar relacionado ao servidor X? O gnome não parece estar mantendo a configuração ruim após a troca de usuários
- Após a reinicialização, se eu fizer login como segundo usuário, as teclas FN funcionam bem e continuam funcionando quando alterno para meu primeiro usuário... ENTÃO é apenas um defeito de configuração do meu primeiro usuário...
Tenho apenas 1 teclado: Logitek G915 TKL
, ao configurar pela linha de comando, seleciono o único teclado mais próximo na lista:Logitech G15 extra keys via G15 daemon
Computer: Asus P50N (minibox, not a laptop)
Ubuntu 22.04.5 LTS
Gnome version: 42.9
Tenho um laptop Dell (inspiron 16 5645). Além da tecla Super, ele tem outra tecla que me disseram ser a tecla copiloto do Windows. Ela parece se comportar como a tecla shift esquerda, e o xev a relata como o mesmo código de tecla, mas presumivelmente o Windows consegue distingui-la.
Posso fazer algo útil com ele? Quero mapeá-lo para o right-ctrl, que está ausente.
Editar: saída do terminal adicionada: - A janela externa é 0x800001, a janela interna é 0x800002
PropertyNotify event, serial 8, synthetic NO, window 0x800001,
atom 0x27 (WM_NAME), time 74036986, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x800001,
atom 0x22 (WM_COMMAND), time 74036986, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x800001,
atom 0x28 (WM_NORMAL_HINTS), time 74036986, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x800001,
parent 0x800001, window 0x800002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x800001,
atom 0xf9 (WM_PROTOCOLS), time 74036986, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x800001,
event 0x800001, window 0x800002, override NO
ConfigureNotify event, serial 21, synthetic NO, window 0x800001,
event 0x800001, window 0x800001, (0,0), width 178, height 178,
border_width 0, above 0x600109, override NO
PropertyNotify event, serial 28, synthetic NO, window 0x800001,
atom 0x16f (_NET_WM_ALLOWED_ACTIONS), time 74036986, state PropertyNewValue
PropertyNotify event, serial 29, synthetic NO, window 0x800001,
atom 0x153 (_MUTTER_NEEDS_FRAME), time 74036986, state PropertyNewValue
PropertyNotify event, serial 29, synthetic NO, window 0x800001,
atom 0x101 (_NET_WM_DESKTOP), time 74036986, state PropertyNewValue
PropertyNotify event, serial 31, synthetic NO, window 0x800001,
atom 0x13b (WM_STATE), time 74036987, state PropertyNewValue
PropertyNotify event, serial 31, synthetic NO, window 0x800001,
atom 0x107 (_NET_WM_STATE), time 74036987, state PropertyNewValue
PropertyNotify event, serial 31, synthetic NO, window 0x800001,
atom 0x131 (_GTK_EDGE_CONSTRAINTS), time 74036987, state PropertyNewValue
ConfigureNotify event, serial 34, synthetic NO, window 0x800001,
event 0x800001, window 0x800001, (50,32), width 178, height 178,
border_width 0, above 0x600109, override NO
PropertyNotify event, serial 34, synthetic NO, window 0x800001,
atom 0x131 (_GTK_EDGE_CONSTRAINTS), time 74036988, state PropertyNewValue
ReparentNotify event, serial 34, synthetic NO, window 0x800001,
event 0x800001, window 0x800001, parent 0xa001a0,
(0,0), override NO
PropertyNotify event, serial 34, synthetic NO, window 0x800001,
atom 0xfe (_NET_FRAME_EXTENTS), time 74037001, state PropertyNewValue
ConfigureNotify event, serial 34, synthetic NO, window 0x800001,
event 0x800001, window 0x800001, (14,49), width 178, height 178,
border_width 0, above 0xa001a1, override NO
MapNotify event, serial 35, synthetic NO, window 0x800001,
event 0x800001, window 0x800001, override NO
VisibilityNotify event, serial 35, synthetic NO, window 0x800001,
state VisibilityUnobscured
Expose event, serial 35, synthetic NO, window 0x800001,
(0,0), width 178, height 10, count 3
Expose event, serial 35, synthetic NO, window 0x800001,
(0,10), width 10, height 58, count 2
Expose event, serial 35, synthetic NO, window 0x800001,
(68,10), width 110, height 58, count 1
Expose event, serial 35, synthetic NO, window 0x800001,
(0,68), width 178, height 110, count 0
ConfigureNotify event, serial 35, synthetic YES, window 0x800001,
event 0x800001, window 0x800001, (198,217), width 178, height 178,
border_width 2, above 0x0, override NO
PropertyNotify event, serial 35, synthetic NO, window 0x800001,
atom 0x107 (_NET_WM_STATE), time 74037002, state PropertyNewValue
FocusIn event, serial 35, synthetic NO, window 0x800001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 35, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 35, synthetic NO, window 0x800001,
atom 0x107 (_NET_WM_STATE), time 74037005, state PropertyNewValue
PropertyNotify event, serial 35, synthetic NO, window 0x800001,
atom 0x107 (_NET_WM_STATE), time 74037005, state PropertyNewValue
EnterNotify event, serial 35, synthetic NO, window 0x800001,
root 0x3d1, subw 0x0, time 74037005, (155,114), root:(355,333),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 35, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 35, synthetic NO, window 0x800001,
atom 0x107 (_NET_WM_STATE), time 74037016, state PropertyNewValue
KeyRelease event, serial 35, synthetic NO, window 0x800001,
root 0x3d1, subw 0x0, time 74037112, (155,114), root:(355,333),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) "
"
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x800001,
root 0x3d1, subw 0x0, time 74043466, (155,114), root:(355,333),
state 0x40, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x800001,
root 0x3d1, subw 0x0, time 74043594, (155,114), root:(355,333),
state 0x41, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
LeaveNotify event, serial 38, synthetic NO, window 0x800001,
root 0x3d1, subw 0x0, time 74047709, (-12,-47), root:(188,172),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 0
ClientMessage event, serial 38, synthetic YES, window 0x800001,
message_type 0xf9 (WM_PROTOCOLS), format 32, message 0xf7 (WM_DELETE_WINDOW)
Semana passada eu atualizei de 22.04 para 24.04. Tive quase zero problemas, mas agora notei algo estranho.
Estou usando dois layouts de teclado e alternando entre eles usando Alt+Shift
atalhos.
Quando tento digitar qualquer coisa em um layout que não seja inglês no Google Sheets via Firefox, nada acontece. Tenho que clicar duas vezes na célula primeiro, então posso digitar .
Se eu usar o layout em inglês, não haverá problemas.
Para fins de depuração nas configurações do sistema, adicionei o terceiro layout. Surpreendentemente, quando eu alt-tab no Firefox, não consigo nem escolher esse terceiro layout. Ele não está lá! Estou falando do ícone da bandeja do sistema.
Na verdade, esse problema (layout de teclado ausente) se repete para a maioria dos softwares (Kate, Phpstorm, Slack, até mesmo Konsole). O Chromium não é afetado de alguma forma: eu posso ver, escolher e realmente digitar no Chromium usando qualquer layout de teclado adicionado.
Para esclarecer: No Firefox e outros softwares, posso usar o layout#1 e o layout#2, mas não o layout#3. No Planilhas Google especificamente, posso escolher o layout#2, mas nada acontece quando estou digitando .
Se eu for em Configurações do sistema - Dispositivos de entrada - Teclado, posso usar qualquer layout na Área de teste.
Meu sistema é
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-44-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4770 CPU @ 3.40GHz
Memory: 15,6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7850
System Version: 1.0
E posso confirmar que não tive problemas nesta máquina usando 22.04. Também não tive problemas no meu laptop com 22.04.