ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] xmodmap и правый Alt
@ 2004-07-26  7:13 php-coder
  0 siblings, 0 replies; only message in thread
From: php-coder @ 2004-07-26  7:13 UTC (permalink / raw)
  To: community

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-26  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-26  7:13 [Comm] xmodmap и правый Alt php-coder

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