ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@ngs.ru>
To: community@altlinux.ru
Subject: [Comm] xmodmap и правый Alt
Date: Mon, 26 Jul 2004 14:13:13 +0700
Message-ID: <1961972744.20040726141313@ngs.ru> (raw)

0000100101011110100100101::26.07.2004::0110001001001000100111100100010

  Привет, Linuxоиды!
  
  Я некоторое время назад задавал этот вопрос, но недавно, почти случайно,
  как мне кажется, продвинулся к правильному ответу, но что-то не
  получается и поэтому вынужден просить у вас помомщи.

  Задача: заставить работать правый Alt также как и левый, на который
  навешено управление xmms'ом и громкостью. Решение, как я понял где-то
  в xmodmap. Что я делал? Запустил xev и вот, что получил:

  Левый Alt:

  KeyRelease event, serial 28, synthetic NO, window 0x1200001,
      root 0x8a, subw 0x0, time 4038723682, (-285,361), root:(512,384),
      state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 characters:  ""

  Правый Alt:

  KeyPress event, serial 28, synthetic NO, window 0x1200001,
      root 0x8a, subw 0x0, time 4038725546, (-285,361), root:(512,384),
      state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
      XLookupString gives 0 characters:  ""

  Далее попытался заставить правый Alt генерировать при нажатии не
  Mode_switch, а Alt_L:
  $ xmodmap -e "keycode 113 = Alt_L"

  После этого правый Alt выдает:

  KeyRelease event, serial 28, synthetic NO, window 0x1c00001,
      root 0x8a, subw 0x0, time 4038911690, (326,338), root:(425,459),
      state 0x20, keycode 113 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 characters:  ""

  Но все равно эффекта нет! :(( Чувствую, что ответ лежит где-то совсем
  рядом... Помогите, пожалуйста...

-- 
  С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru)
  Registered Linux User #327594
  ALT Linux Master 2.2

010010010010010001010101100::Linux RuleZz!::10001001000100010001000111



                 reply	other threads:[~2004-07-26  7:13 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=1961972744.20040726141313@ngs.ru \
    --to=php-coder@ngs.ru \
    --cc=community@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