ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux Sisyphus <sisyphus@altlinux.ru>,
	ALT Linux Community <community@altlinux.ru>
Subject: [Comm] Q: setxkbmap vs. xmodmap
Date: Thu, 3 Jun 2004 14:11:59 +0400
Message-ID: <20040603101158.GD25166@immo.ru> (raw)

[-- 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 --]

                 reply	other threads:[~2004-06-03 10:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040603101158.GD25166@immo.ru \
    --to=raorn@immo.ru \
    --cc=community@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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