public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Redefining a single key in Xorg 6.8?
@ 2006-02-02 17:39 Michael Kjorling
  2006-02-02 18:49 ` [gentoo-user] " Harm Geerts
  2006-02-02 18:51 ` [gentoo-user] " Benno Schulenberg
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Kjorling @ 2006-02-02 17:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

I run x11-base/xorg-x11-6.8.2-r6 and would like to redefine a single
key on the keyboard. I found a number of tutorials on how to create a
completely custom keyboard layout, but this seems like overkill.

How do I change this one key without creating a whole new layout,
preferably only for my own account?

-- 
Michael Kjörling, michael@kjorling.com - http://michael.kjorling.com/
* ..... No bird soars too high if he soars with his own wings ..... *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* [gentoo-user] Re: Redefining a single key in Xorg 6.8?
  2006-02-02 17:39 [gentoo-user] Redefining a single key in Xorg 6.8? Michael Kjorling
@ 2006-02-02 18:49 ` Harm Geerts
  2006-02-02 18:51 ` [gentoo-user] " Benno Schulenberg
  1 sibling, 0 replies; 4+ messages in thread
From: Harm Geerts @ 2006-02-02 18:49 UTC (permalink / raw
  To: gentoo-user

On Thursday 02 February 2006 18:39, Michael Kjorling wrote:
> I run x11-base/xorg-x11-6.8.2-r6 and would like to redefine a single
> key on the keyboard. I found a number of tutorials on how to create a
> completely custom keyboard layout, but this seems like overkill.
>
> How do I change this one key without creating a whole new layout,
> preferably only for my own account?
Have a look at xmodmap, it allows you to (re)map keys.
The manpage should provide you with enough information and examples.
# man xmodmap
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Redefining a single key in Xorg 6.8?
  2006-02-02 17:39 [gentoo-user] Redefining a single key in Xorg 6.8? Michael Kjorling
  2006-02-02 18:49 ` [gentoo-user] " Harm Geerts
@ 2006-02-02 18:51 ` Benno Schulenberg
  2006-02-02 19:14   ` SOLVED: " Michael Kjorling
  1 sibling, 1 reply; 4+ messages in thread
From: Benno Schulenberg @ 2006-02-02 18:51 UTC (permalink / raw
  To: gentoo-user

Michael Kjorling wrote:
> How do I change this one key without creating a whole new layout,
> preferably only for my own account?

See 'man xmodmap', the examples near the end, things like:

  xmodmap -e "keycode 240 = a A space Return"

Put the required xmodmap command in your .bashrc.

Benno
-- 
gentoo-user@gentoo.org mailing list



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

* SOLVED: [gentoo-user] Redefining a single key in Xorg 6.8?
  2006-02-02 18:51 ` [gentoo-user] " Benno Schulenberg
@ 2006-02-02 19:14   ` Michael Kjorling
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kjorling @ 2006-02-02 19:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

On 2006-02-02 19:51 +0100, benno.schulenberg@gmail.com wrote:
> See 'man xmodmap', the examples near the end, things like:
> 
>   xmodmap -e "keycode 240 = a A space Return"

Great, thanks! I thought xmodmap was what I was looking for but missed
the part on the -e switch.
 
-- 
Michael Kjörling, michael@kjorling.com - http://michael.kjorling.com/
* ..... No bird soars too high if he soars with his own wings ..... *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2006-02-02 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 17:39 [gentoo-user] Redefining a single key in Xorg 6.8? Michael Kjorling
2006-02-02 18:49 ` [gentoo-user] " Harm Geerts
2006-02-02 18:51 ` [gentoo-user] " Benno Schulenberg
2006-02-02 19:14   ` SOLVED: " Michael Kjorling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox