* [Comm] Q: setxkbmap vs. xmodmap
@ 2004-06-03 10:11 Alexey I. Froloff
0 siblings, 0 replies; only message in thread
From: Alexey I. Froloff @ 2004-06-03 10:11 UTC (permalink / raw)
To: ALT Linux Sisyphus, ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
У меня два вопроса, один в sisyphus@, второй в community@, но
тема одна...
Попалась мне в руки клавиатура "Logitech Office Internet
Keyboard", xkb про неё не знает, но есть xev и...
С этим самым "и" всё сложно. С одной стороны коды клавиш можно
определить через xmodmap, с другой стороны есть файл
/etc/X11/xinit/fixkeyboard, где написано следующее:
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap
...
if xdpyinfo | grep XKEYBOARD > /dev/null 2>&1; then
XKB_IN_USE=yes
fi
...
if [ -n "$XKB_IN_USE" -a -r $userxkbmap ]; then
setxkbmap `cat $userxkbmap`
fi
...
# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
...
if [ -r $usermodmap ]; then
xmodmap $usermodmap
fi
fi
Вопрос к sisyphus@ - это так и надо (don't play nice together)?
Вопрос к community@ - как пользоваться setxkbmap в этом случае?
Вдумчивое чтение man setxkbmap не помогает...
--
Regards, Sir Raorn.
-------------------
Я уже придумал способ изготовления Манны Небесной на время этого перехода.
Как только hasher-0.9.5-alt1 будет выложен, я расскажу подробнее.
-- ldv in sisyphus@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-03 10:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-03 10:11 [Comm] Q: setxkbmap vs. xmodmap Alexey I. Froloff
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git