Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
winkey's puzzle
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jackphil
n00b
n00b


Joined: 25 Feb 2004
Posts: 7

PostPosted: Thu Jul 15, 2004 5:59 am    Post subject: winkey's puzzle Reply with quote

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
View user's profile Send private message
hollywoodb
Apprentice
Apprentice


Joined: 05 Nov 2003
Posts: 259
Location: MN, U.S.A.

PostPosted: Thu Jul 15, 2004 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
jackphil
n00b
n00b


Joined: 25 Feb 2004
Posts: 7

PostPosted: Sat Jul 17, 2004 12:11 am    Post subject: Reply with quote

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
View user's profile Send private message
hollywoodb
Apprentice
Apprentice


Joined: 05 Nov 2003
Posts: 259
Location: MN, U.S.A.

PostPosted: Sat Jul 17, 2004 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum