2008/05/02

리눅스 키값 찾고 바꾸기

xmodmap - utility for modifying keymaps and pointer button mappings in X


X윈도우 시스템에서 xmodmap 클라이언트는 사용자가 어떤 동작을 할 때 서버에서는 이벤트라는 정보 패킷을 클라이언트로 보낸다. 이 이벤트는 클라이언트에서 알맞은 동작으로 해석이 되는데 xmodmap 유틸리티를 이용하면 클라이언트에 보고된 이벤트를 효과적으로 변경을 할수있습니다.

자신의 시스템에서 사용중인 키코드 값들을 살펴보려면 다음의 명령을 실행하면 됩니다.

$xmodmap -pk

xmodmap을 이용해서 keycode값을 변경하려면 keysym과 xev를 이용하면 가능합니다.
keysym은 키보드에 있는 각 키를 나타내는 기호이며 xev는 모든 이벤트를 표준 출력으로 표시를 해주게됩니다.
키코드값을 변경하고자 할때 우선 xev로 해당 키의 키코드값을 알아내야합니다.

$xev

를 실행하시면 작은 윈도우 창이 나타나며 자신이 변경하고자 하는 키를 누르게되면 터미널에
자세한 정보가 표시가 됩니다.
그 정보들중에서 keycode 27 이런식으로 보이는 값을 알아내신뒤에 변경할때 사용하시면 되겠습니다. ㅎ


xmodmap을 이용하여 키값을 변경시키는 방법으로

$xmodmap -e "keysym Delete = BackSpace"

이렇게 하면 Delete 키가 BackSpace로 작동하게 됩니다.


이렇게 변경한 키코드값을 계속 유지하고자 한다면 ~/.Xmodmap 파일에다가 지정해놓으시면
되겠습니다.

예)
keycode 54 = Shift
keycode 58 = Control

숫자는 사용자의 시스템마다 값이 다르기때문에 xev를 통해 알아내셔서 수정해야하는 값입니다.





ps. xmodmap은 gdm이나 kdm을 사용하는 사용자의 경우 로그인시 ~/.Xmodmap같은 경우는 무시되는 경향이 있습니다.
그래서 저 같은 경우는 gnome 세션에서 xmodmap /home/khmirage/.Xmodmap 이런식으로 로그인시에 자동을 실행되도록 추가를 해줬습니다.

ps. 이 xmodmap을 이용해서 커널 컴파일을 하지 않고서도 한/영 키를 사용이 가능하게 할수 있습니다.
다음 링크를 참고해주세요~
http://blog.naver.com/khmirage/140007769705

[출처] [command] Xmodmap|작성자 환상경

댓글 324개:

«처음   ‹이전   201 – 324 / 324
익명 :

soma online pharmacy soma compound more drug_side_effects - soma medication buy online

익명 :

cialis online cialis 5mg tablets price - buy cialis online in south africa

익명 :

cheap viagra 100mg viagra 30 day free trial - viagra online canadian pharmacy paypal

익명 :

cialis pharmacy cialis online pharmacy reviews - cialis mail order

익명 :

cheap viagra online buy viagra malaysia - generic viagra accept paypal

익명 :

buy generic viagra viagra online uk cheapest - buy quality viagra online

익명 :

cialis online buy cialis online uk - buy cialis eu

익명 :

buy generic tramadol no prescription tramadol discount card - tramadol over the counter

익명 :

cialis sale cialis price without insurance - cialis price malaysia

익명 :

where to buy tramadol buy tramadol ultram ultracet online - buy tramadol online in usa

익명 :

buy tramadol india tramadol for dogs bluelight - tramadol hcl dosage

익명 :

buy viagra toronto generic viagra best place to buy - kamagra generic viagra reviews

익명 :

buy tramadol online no prescription overnight tramadol 75 mg tablets - tramadol dosage small dogs

익명 :

cheap tramadol online legal buy tramadol online - prevent tramadol addiction

익명 :

cialis online cialis online secure - generic cialis no prescription needed

익명 :

buy viagra online viagra online doctor - order cheapest viagra

익명 :

tramadol online cheap tramadol dogs - where to buy tramadol forum

익명 :

purchase tramadol buy tramadol online in usa - take tramadol 50 mg get high

익명 :

buy viagra generic viagra to canada - order cheap viagra online uk

익명 :

buy tramadol online tramadol for dogs with cancer - after effects tramadol overdose

익명 :

cialis cost generic cialis yahoo answers - generic cialis dosage

익명 :

buy tramadol online no prescription cod tramadol 50 mg bula - buy tramadol online usa

익명 :

cialis drug cialis online american express - cialis online reputable

익명 :

buy generic tramadol online tramadol 50 mg headache - tramadol wiki

익명 :

tramadol online cod 100mg of tramadol safe - buy tramadol online yahoo

익명 :

buy tramadol order tramadol online uk - buy tramadol forum

익명 :

tramadol online tramadol dosage effects - tramadol normon 50 mg para que sirve

익명 :

tramadol 50mg buy tramadol online prescription - what is tramadol 50mg tablets

익명 :

buy tramadol online tramadol hcl er 200 mg side effects - tramadol hcl for pain

익명 :

tramadol online overnight tramadol 50mg better than vicodin - tramadol high get

익명 :

buy generic tramadol buy tramadol 50mg - tramadol 50 mg long does last

익명 :

buy tramadol online buy tramadol online no prescription next day delivery - what dosage tramadol for dogs

익명 :

tramadol online can you buy tramadol online legally - tramadol hcl xl 150 mg

익명 :

tramadol 50mg tramadol for dogs dose - tramadol 50 mg normal dosage

익명 :

tramadol 50mg tramadol withdrawal two weeks - the tramadol high

익명 :

buy discount tramadol much tramadol ultram - order tramadol online visa

익명 :

tramadol online buy tramadol online in florida - can you buy tramadol over counter usa

익명 :

buy tramadol online taking tramadol for dogs - buy tramadol online pharmacy

익명 :

buy tramadol buy tramadol without a script - tramadol hcl dosage for dogs

익명 :

tramadol 50mg buy tramadol hong kong - tramadol hcl 50 mg generic

익명 :

tramadol 50 mg tramadol online buy - tramadol online order

익명 :

buy tramadol without a script purchase tramadol com - tramadol hcl 50 mg snort

익명 :

tramadol 50mg tramadol online no prescription overnight cod - tramadol 50 mg injection

익명 :

tramadol 50 mg tramadol hcl obat - tramadol dosage adults

익명 :

buy tramadol tramadol online in canada - generic tramadol online

익명 :

buy tramadol online much tramadol overdose dog - ultram tramadol hci

익명 :

tramadol online tramadol no prescription cheap - tramadol buy usa

익명 :

generic tramadol tramadol order online no prescription - tramadol ultram same

익명 :

order tramadol online overnight tramadol hcl and codeine - tramadol addiction management

익명 :

buy tramadol online tramadol 650 dosage - tramadol hcl no prescription

익명 :

tramadol no prescription buy tramadol 100mg - tramadol hcl hcl

익명 :

buy tramadol 180 tramadol 100mg - tramadol hcl for dogs

익명 :

tramadol 50 mg tramadol no prescription usa - buy tramadol overnight shipping

익명 :

buy tramadol online tramadol dosage humans weight - order tramadol next day

익명 :

buy tramadol online tramadol hcl snorting - purchase tramadol cod shipping

익명 :

buy tramadol order tramadol cheap - buy tramadol online in florida

익명 :

tramadol no prescription tramadol vs oxycodone - best place buy tramadol online reviews

익명 :

tramadol online tramadol withdrawal nhs - tramadol withdrawal symptoms depression

익명 :

buy tramadol india tramadol withdrawal ease - can you buy tramadol over counter usa

익명 :

tramadol 50 mg tramadol hcl headache - overdose of tramadol hydrochloride

익명 :

buy tramadol online order tramadol online legally - tramadol hcl how to take it

익명 :

tramadol 50 mg legal buy tramadol online usa - order tramadol medication

익명 :

tramadol online pharmacy buy 180 tramadol online - cheap tramadol for sale

익명 :

tramadol online is tramadol legal to buy online - order tramadol no prescription overnight

익명 :

tramadol 50mg tramadol dosage 12 pound dog - where to purchase tramadol

익명 :

buy tramadol buy tramadol online safe - buy tramadol overnight with mastercard

익명 :

order tramadol online cod order tramadol online cod - buy tramadol online usa

익명 :

cheap tramadol buy tramadol cod shipping - tramadol 50 mg maximum dosage

익명 :

buy tramadol buy cheap tramadol online uk - buy tramadol online saturday delivery

익명 :

buy tramadol order tramadol no prescription - tramadol online illegal

익명 :

tramadol online order tramadol no rx - tramadol ratiopharm 100mg nebenwirkungen

익명 :

buy tramadol cod buy tramadol money order - tramadol 20 cream

익명 :

buy tramadol tramadol 600mg - tramadol online pharmacy no prescription needed

익명 :

buy tramadol tramadol 50mg side effects for dogs - tramadol online to florida

익명 :

buy generic nolvadex online buy nolvadex online in australia - buy tamoxifen online us

익명 :

cialis online cialis usa - buy cialis online forum

익명 :

order tamoxifen no prescription tamoxifen 5 mg - nolvadex pct for gyno

익명 :

cialis online buy cialis generic - cialis 70 ans

익명 :

buy nolvadex online usa nolvadex post cycle - tamoxifen lung cancer

익명 :

buy nolvadex purchase tamoxifen online - 3 weeks nolvadex enough

익명 :

cialis tadalafil buy cialis online canadian pharmacy - cialis online canadian pharmacy

익명 :

buy tramadol online tramadol 180 - tramadol hcl tab

익명 :

buy soma soma pills for pain - order soma overnight cod

익명 :

buy cialis online cialis daily basis - brand cialis online

익명 :

generic soma soma order online no prescription - buy soma echeck

익명 :

buy cialis online price of cialis 20mg - buy cialis jelly

익명 :

buy tramadol online buy tramadol online with cod - tramadol to buy with no prescription

익명 :

buy soma soma drug vault - j.e.m.s conference

익명 :

buy cialis cialis vs viagra price - cialis from usa online pharmacy

익명 :

buy soma online buy somatropin tablets - soma online legal

익명 :

buy soma generic muscle relaxer better than soma - buy discount soma online

익명 :

buy tramadol tramadol online missouri - buy tramadol topix

익명 :

buy soma what is soma 350 mg prescribed for - 2 350 mg soma

익명 :

buy tramadol online tramadol 50 mg vs percocet 5mg - tramadol dose pediatric

익명 :

buy cialis online cialis price comparison us - buy generic cialis online usa

익명 :

soma price soma generic - soma pills drug test

익명 :

generic tadalafil cialis mechanism of action - cialis when to take

익명 :

buy tramadol online what is tramadol 50mg tablets for - there generic tramadol

익명 :

buy cialis online buy cialis online usa pharmacy - cialis usa

익명 :

buy soma soma drug real - soma bra discount code

익명 :

buy cialis online cialis e20 review - generic cialis canadian

익명 :

buy soma online drugstore+soma - deadly soma online movie

익명 :

buy tadalafil online generic cialis shipped to usa - should buy cialis online

익명 :

buy soma soma online pharmacy - generic soma online

익명 :

buy soma order soma legally online - ver argento soma online

익명 :

buy soma cost of generic soma - order somatropin online

익명 :

buy cialis online cheap buy cialis online mastercard - cialis online discover card

익명 :

buy soma soma front closure bras - soma muscle relaxer and ibuprofen

익명 :

buy soma 350mg soma san diego map - soma online legal

익명 :

buy soma buy soma from usa - buy somatropin europe

익명 :

soma pharmacy cheap furniture soma - soma medication buy online

익명 :

buy soma soma muscle relaxer 350 - soma drug huxley

익명 :

soma online soma medication schedule - jogo de soma online

익명 :

buy soma online soma online no prescription overnight delivery - buy somatropin europe

익명 :

soma online soma bay online - buy soma panties

익명 :

soma online generic soma drug - buy soma online cheap

익명 :

cheap generic soma cheap motels soma - buy soma fedex overnight

익명 :

buy soma online soma nervous system - soma san diego directions

익명 :

buy soma online buy hgh - somatropin online - soma yoga newport ri

익명 :

order soma online fail drug test soma - soma medication reviews

익명 :

buy tramadol online tramadol 750 - zytram xl tramadol hcl

익명 :

buy tramadol online buy tramadol american express - tramadol 50mg prescription

익명 :

Wonderful, what a website it is! This weblog provides valuable data to us, keep
it up.

My page - akribos xxiv

익명 :

Your current аrtіcle hаs cοnfirmeԁ uѕeful to mе peгsonally.
It’ѕ vегу еԁucаtional
аnd yοu're clearly really well-informed in this region. You have got opened my own eyes in order to different opinion of this kind of topic along with interesting and reliable content.

Also visit my site: buy Cialis

«처음 ‹이전   201 – 324 / 324   다음› 끝»