[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(switching between X11 and consoles (Re: switching games between fullscreen and window)



On Tue, May 23, 2006 at 11:37:19AM +0200, Florian Kulzer wrote:

> > avail. When I start gdm, I can switch as long as I'm not logged in,
> > but I don't use gdm and don't want to log off to switch anyway.
> 
> Check with "xev" if the Ctrl, Alt and Fn-x key generate the right key
> press/release events in X. ("Control_L", "Alt_L", "F1", etc.) Post the
> output of "xmodmap" and the keyboard section of your xorg.conf. 

Keycodes are ok --- Ctrl+Alt+Fx don't have symbols, but I'd say they
are not supposed to have some.

I just found out the hard way that the screen turns black and the comp
seems to be frozen when I start the gnome-panel and select
Desktop-->Preferences-->Keyboard. Only thing I can do then is pressing
the Reset button to reboot :(

I'm not actually using gnome, except a few apps and the panel
sometimes, with Enlightenment as WM. What's going on with these
keyboard preferences?


lee@yun:~$ xmodmap 
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x25)
control     Control_L (0x42),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_L (0x7d)
mod2        Num_Lock (0x4d)
mod3        Mode_switch (0x5d),  Mode_switch (0x71)
mod4      
mod5        Scroll_Lock (0x4e)

lee@yun:~$ 


Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "de"
        Option          "XkbOptions"    "nodeadkeys"
        Option          "XkbOptions"    "ctrl:nocaps"
EndSection


How many buttons does my keyboard have? I'm using one of the heavy,
old and indestructible IBM keyboards (German version) --- the only
decent keyboards you can get. I never counted it's keys, though.

What are valid XkbdModel options? I couldn't find anything in man
xorg.conf and nothing useful with google.


(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xorg"
(**) XKB: rules: "xorg"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(**) Option "XkbOptions" "nodeadkeys"
(**) XKB: options: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"


GH



Reply to: