ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Q: setxkbmap vs. xmodmap
@ 2004-06-03 10:11 Alexey I. Froloff
  2004-06-03 10:54 ` Peter V. Saveliev
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [sisyphus] Q: setxkbmap vs. xmodmap
  2004-06-03 10:11 [sisyphus] Q: setxkbmap vs. xmodmap Alexey I. Froloff
@ 2004-06-03 10:54 ` Peter V. Saveliev
  0 siblings, 0 replies; 2+ messages in thread
From: Peter V. Saveliev @ 2004-06-03 10:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Thu, 3 Jun 2004 14:11:59 +0400
"Alexey I. Froloff" <raorn@immo.ru> wrote:

<skip />
> # 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)?
> 
<skip />

Может быть и не надо, но факт -- lineakd после xmodmap не заводится. Или
так, или этак. Впрочем, вариант с lineakd мне понравился больше.

-- 

<signature />


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-03 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-03 10:11 [sisyphus] Q: setxkbmap vs. xmodmap Alexey I. Froloff
2004-06-03 10:54 ` Peter V. Saveliev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git