i tried to do that, and xmodmap returns me this

xmodmap:  .xmodmap:4:  bad keysym name 'Control' in keysym list
xmodmap:  1 error encountered, aborting.

i've used xev to know the windowskey code inside xorg, and it returns me
158.

On 29/06/07, Charles Mauch <[EMAIL PROTECTED]> wrote:

Greetings from Tacoma, WA, USA, hometown of Lee Boyd Malvo, ponto!
On Friday, June 29, in the 2007th year of our Lord, you wrote:

> my control is broken, so i decided to replace it with the windows key.
> i've added  keycode 125 = control to
/usr/share/kbd/keymaps/i386/qwerty/pt-
> latin1.map.gz and the windows key started to work as the control key.
>
> but, inside Xorg it doesn't work, i've tried xmodmap -e "keycode 158 =
> Control_L", and it does not to do want i want : x
> what should i do?

This is only a guess, but I think X needs to be made aware keycode 125 is
a
control key with a mask of its own.

Try something like this in your .xmodmap file.

! Removes Control_L from the keymap
remove Control = Control_L
! Assign 125 to the Control Mod Key
keycode 125 = Control
! Map new Control "Mod Key" to the Control
add Control = Control_L

The xmodmap manpage is actually a pretty good resource for this kind of
thing.

--
Take it easy, Charles

FSF Apologist, WikiNut, Concrete Analyst, etc.
JABBER: [EMAIL PROTECTED] GIZMO: charlesmauch AIM: cmauch5
Please send personal email to [EMAIL PROTECTED]

:: Playing "Right Here, Right Now" by Fatboy Slim (You've Come A Long Way,
...)

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to