View previous topic :: View next topic |
Author |
Message |
jackphil n00b
Joined: 25 Feb 2004 Posts: 7
|
Posted: Thu Jul 15, 2004 5:59 am Post subject: winkey's puzzle |
|
|
i want define keys in emacs under X using <M-x global-set-key>,for example <Winkey>-<left>.
Butwhen i startx as user,the WinKey is disabled!Emacs just display the <left>.
And if i startx as root,it's OK!Emacs show <s-left>
i have modified the /etc/rc.conf:
Code: | SET_WINDOWKEYS="yes" |
my XF86Config like this:
Code: | Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
|
And Why?HOw? |
|
Back to top |
|
|
hollywoodb Apprentice
Joined: 05 Nov 2003 Posts: 259 Location: MN, U.S.A.
|
Posted: Thu Jul 15, 2004 2:52 pm Post subject: |
|
|
my window-keys work with this for both xfree & xorg:
X config:
Code: |
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
|
rc.conf:
Code: |
KEYMAP="us"
SET_WINDOWKEYS="yes"
EXTENDED_KEYMAPS=
|
xev reports them as Super_L and Super_R _________________ Those who would trade freedom for security deserve neither. |
|
Back to top |
|
|
jackphil n00b
Joined: 25 Feb 2004 Posts: 7
|
Posted: Sat Jul 17, 2004 12:11 am Post subject: |
|
|
Option "XkbModel" "pc101" ??
it can't work with me! they say "pc104" is the recommend for the kbd wiht winkeys.
my problem is that the Winkey only work for root! non-root can't use the winkey! i don't know where to config it. |
|
Back to top |
|
|
hollywoodb Apprentice
Joined: 05 Nov 2003 Posts: 259 Location: MN, U.S.A.
|
Posted: Sat Jul 17, 2004 5:14 am Post subject: |
|
|
I've been using pc101 since day 1 and never had an issue with any windows key, numpad key, F-key, etc etc....
works like a charm here. regular windows keyboard (sic) _________________ Those who would trade freedom for security deserve neither. |
|
Back to top |
|
|
|