[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:30250] Xmodmap?
- From: TSUCHIYA Masatoshi <tsuchiya@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: [debian-users:30250] Xmodmap?
- Date: Wed, 17 Oct 2001 11:48:19 +0900
- X-cite-me: 土
- X-dispatcher: impost version 0.99i-ssh (Nov. 24, 1999)
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 3.0pl#17]; post only (only members can post)
- Message-id: <20011017114813N.1000@xxxxxxxxxxxxxxxxxxxxxxx>
- X-mail-count: 30250
- User-agent: T-gnus/6.15.4 (based on Oort Gnus v0.04) (revision 08) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryòmae) APEL/10.3 Emacs/21.0.106 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
woody 環境ã§ã€/etc/X11/Xmodmap ã«
keycode 49 = Escape
ã¨ã„ã†æŒ‡å®šã‚’è¿½åŠ ã—ã¦ã€ã€Œå…¨è§’/åŠè§’ã€ã‚ー㌠Esc ã‚ーã¨ã—ã¦è§£é‡ˆã•ã‚Œã‚‹ã‚ˆã†
ã«ã™ã‚‹ã«ã—ã¦ä½¿ã£ã¦ã„ã¾ã—ãŸã€‚
ã—ã‹ã—ã€apt-get upgrade ã—ã¦ã€xfree86-common_4.1.0-7 を使ã†ã‚ˆã†ã«ã™ã‚‹
ã¨ã€/etc/X11/Xmodmap ãŒèªã¿è¾¼ã¾ã‚Œãªããªã£ãŸã‚ˆã†ã§ã™ã€‚
è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ãŒç´°ã‹ã分割ã•ã‚Œã¦ã„ã‚‹ã®ã§ã€ä¾å˜é–¢ä¿‚を追ã„掛ã‘ã‚‹ã®ãŒé›£å„€ãª
ã®ã§ã™ãŒã€xmodmap 自体を呼ã³å‡ºã—ã¦ã„ã‚‹ã®ã¯ã€
/etc/X11/Xsession.d/40xfree86-common_xmodmap.xfree86-common-old ã§ã€è©²
当部分ã¯ä»¥ä¸‹ã®ã‚ˆã†ã«ãªã£ã¦ã„ã¾ã™ã€‚
if [ -x /usr/bin/X11/xmodmap ]; then
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
fi
ã—ã‹ã—ã€/etc/X11/Xsession ã«ã¯æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã•ã‚Œã¦ã„ã¾ã™ã€‚
$ grep -i xmodmap /etc/X11/Xsession
SYSMODMAP=/etc/X11/Xmodmap
USRMODMAP=$HOME/.Xmodmap
ã¤ã¾ã‚Šã€ã‚·ã‚§ãƒ«å¤‰æ•°ã®å¤§æ–‡å—・å°æ–‡å—ãŒç•°ãªã£ã¦ã„ã‚‹ã®ã§ã€
40xfree86-common_xmodmap.xfree86-common-old ã§å®Ÿéš›ã« xmodmap を呼ã³å‡º
ã™ã¨ãã«æŒ‡å®šãŒæœ‰åŠ¹ã«ãªã£ã¦ã„ãªã„ã€ã¨è§£é‡ˆã§ãã¾ã™ã€‚
ã§ã€å¤§ä½“ã®åŽŸå› ã¯åˆ†ã‹ã£ãŸã®ã§ã™ãŒã€ã“ã®å•é¡Œã‚’ã©ã®ã‚ˆã†ã«è§£æ±ºã™ã‚‹ã¹ããªã®
ã‹ã€ã§æ‚©ã‚“ã§ã„ã¾ã™ã€‚
(1) 変数åã® typo ãªã®ã§ã€40xfree86-common_xmodmap.xfree86-common-old
ã‚’ä¿®æ£ã™ã‚‹ã¹ãã§ã‚る。
(2) 40xfree86-common_xmodmap.xfree86-common-old ã¨ã„ã†ãƒ•ã‚¡ã‚¤ãƒ«åã‹ã‚‰ã‚‚
分ã‹ã‚‹ã‚ˆã†ã«ã€ã“ã‚Œã¯å¾Œæ–¹äº’æ›æ€§ã‚’ä¿ã¤ãŸã‚ã«æ®‹ã•ã‚Œã¦ã„ã‚‹ã«éŽãŽãªã„。
æ–°ã—ã„方法ã§è¨å®šã‚’書ãç›´ã™ã¹ãã§ã‚る。
(2.a) /etc/X11/XF86Config-4 ã«æ›¸ã方法ãŒã‚る。
(2.b) 別ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸ã方法ãŒã‚る。
事情をã”å˜ã˜ã®æ–¹ã¯ã„らã£ã—ゃらãªã„ã§ã—ょã†ã‹?
--
土屋 雅稔 ( TSUCHIYA Masatoshi )