Remapeamento de tecla [RESOLVIDO]

1. Remapeamento de tecla [RESOLVIDO]

Fabio
FabioDM

(usa Ubuntu)

Enviado em 29/08/2015 - 21:10h

Boa noite galera, tudo bem?

Preciso de um auxilio da comunidade, a tecla Enter do notebook deu problema e parou de funcionar.
Gostaria de trocar a função dela para a tecla end, home,print, qualquer uma destas.

Pesquisei e verifiquei que existe a função xev, mas não entendi bem como funciona, poderiam me auxiliar?
Abaixo está os códigos que apareceu ao digitar xev no terminal.


uter window is 0x3800001, inner window is 0x3800002

PropertyNotify event, serial 8, synthetic NO, window 0x3800001,
atom 0x27 (WM_NAME), time 1706223, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x3800001,
atom 0x22 (WM_COMMAND), time 1706223, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x3800001,
atom 0x28 (WM_NORMAL_HINTS), time 1706223, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x3800001,
parent 0x3800001, window 0x3800002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x3800001,
atom 0x145 (WM_PROTOCOLS), time 1706224, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x3800001,
event 0x3800001, window 0x3800002, override NO

PropertyNotify event, serial 21, synthetic NO, window 0x3800001,
atom 0x1c2 (_NET_WM_ALLOWED_ACTIONS), time 1706226, state PropertyNewValue

ConfigureNotify event, serial 23, synthetic NO, window 0x3800001,
event 0x3800001, window 0x3800001, (0,0), width 178, height 178,
border_width 0, above 0x3600007, override NO

ReparentNotify event, serial 23, synthetic NO, window 0x3800001,
event 0x3800001, window 0x3800001, parent 0xc0904e,
(0,0), override NO

ConfigureNotify event, serial 24, synthetic YES, window 0x3800001,
event 0x3800001, window 0x3800001, (787,24), width 178, height 178,
border_width 0, above 0x0, override NO

ConfigureNotify event, serial 24, synthetic YES, window 0x3800001,
event 0x3800001, window 0x3800001, (787,24), width 178, height 178,
border_width 0, above 0x0, override NO

MapNotify event, serial 24, synthetic NO, window 0x3800001,
event 0x3800001, window 0x3800001, override NO

VisibilityNotify event, serial 24, synthetic NO, window 0x3800001,
state VisibilityUnobscured

Expose event, serial 24, synthetic NO, window 0x3800001,
(0,0), width 178, height 10, count 3

Expose event, serial 24, synthetic NO, window 0x3800001,
(0,10), width 10, height 58, count 2

Expose event, serial 24, synthetic NO, window 0x3800001,
(68,10), width 110, height 58, count 1

Expose event, serial 24, synthetic NO, window 0x3800001,
(0,68), width 178, height 110, count 0

PropertyNotify event, serial 24, synthetic NO, window 0x3800001,
atom 0x153 (_NET_WM_STATE), time 1706227, state PropertyNewValue

FocusIn event, serial 24, synthetic NO, window 0x3800001,
mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 4294967226 0 0 0 16 0 0 0 0 0 2 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

PropertyNotify event, serial 24, synthetic NO, window 0x3800001,
atom 0x14d (_NET_WM_DESKTOP), time 1706227, state PropertyNewValue

PropertyNotify event, serial 26, synthetic NO, window 0x3800001,
atom 0x17d (WM_STATE), time 1706228, state PropertyNewValue

VisibilityNotify event, serial 26, synthetic NO, window 0x3800001,
state VisibilityPartiallyObscured

ConfigureNotify event, serial 26, synthetic YES, window 0x3800001,
event 0x3800001, window 0x3800001, (787,52), width 178, height 178,
border_width 0, above 0x0, override NO

VisibilityNotify event, serial 27, synthetic NO, window 0x3800001,
state VisibilityUnobscured

Expose event, serial 27, synthetic NO, window 0x3800001,
(168,0), width 10, height 140, count 1

Expose event, serial 27, synthetic NO, window 0x3800001,
(0,140), width 178, height 38, count 0

PropertyNotify event, serial 27, synthetic NO, window 0x3800001,
atom 0x1c2 (_NET_WM_ALLOWED_ACTIONS), time 1706229, state PropertyNewValue

PropertyNotify event, serial 27, synthetic NO, window 0x3800001,
atom 0x14a (_NET_FRAME_EXTENTS), time 1706229, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x3800001,
atom 0x153 (_NET_WM_STATE), time 1706232, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x3800001,
atom 0x153 (_NET_WM_STATE), time 1706237, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x3800001,
atom 0x1c5 (_NET_WM_ICON_GEOMETRY), time 1706272, state PropertyNewValue

KeyRelease event, serial 34, synthetic NO, window 0x3800001,
root 0x7e, subw 0x0, time 1706299, (-672,247), root:(115,299),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

PropertyNotify event, serial 37, synthetic NO, window 0x3800001,
atom 0x1c5 (_NET_WM_ICON_GEOMETRY), time 1706878, state PropertyNewValue

FocusOut event, serial 37, synthetic NO, window 0x3800001,
mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 37, synthetic NO, window 0x3800001,
atom 0x153 (_NET_WM_STATE), time 1710022, state PropertyNewValue




  


2. Re: Remapeamento de tecla [RESOLVIDO]

CASSIO FERRAZ
cassio88

(usa Ubuntu)

Enviado em 30/08/2015 - 03:32h

já olhou o link abaixo?
http://askubuntu.com/questions/292019/how-to-map-my-enter-key-to-a-different-key


3. Agradecimento

Fabio
FabioDM

(usa Ubuntu)

Enviado em 30/08/2015 - 19:27h

Obrigado meu velho!

Demorei um pouco para entender, mas deu certo.
Agora é se acostumar com outra tecla para dar enter..kkk

Obrigadão.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts