This could be connected to Bug #16382. After booting and starting KDM, <Ctrl>-<Alt>-<FKey> and <Ctrl>-<Alt>-<KP+/-> work correctly, but after starting a KDE session they are inoperative. Same if I stop xdm and start a KDE session from the console. Works OK using xfree-4.2.1. $ emerge info Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-xfs_pre6 i686 AMD Athlon(tm) XP 1900+ GENTOO_MIRRORS="ftp://ftp.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config /usr/share/texmf/tex/platex/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi cups encode gif jpeg mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde opengl mozilla snmp cdr scanner acpi doc dvd fbcon innodb maildir mbox nocardbus odbc samba slp sse tiff usb wmf -crypt -gnome -libg++ -motif -gdbm -libwww" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow " CXXFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow " ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I have this problem, too, but all the time. Those keys just don't work any more anywhere!
Same here, since when I upgraded xfree to 4.3.0 I lost Ctrl-Alt-Fx and Ctrl-Alt-Bs (and I miss them), only when running KDE (3.1).
Did massive updates to my system- found this problem too. I fixed it by adding Option "HandleSpecialKeys" "Always" to the ServerFlags section of XF86Config. Not sure if this has any other impact, but everything works fine for me.
I am glad to confirm that the solution posted by David Wolpoff above (adding Option "HandleSpecialKeys" "Always" to XF86Config) works fine. Thanks!
I agree: adding Option "HandleSpecialKeys" "Always" to XF86Config does the trick.
just curious if y'all could test 4.3.0-r2 with and without that option in XF86Config and report.
Gentlemen, still an issue with xfree-4.3.0-r2?
Sorry, I didn't test because I've reverted to 4.2.1-r2 (I must have wine), but see my comment #5
xfree 4.3.0-r2 is not in my portage yet (just updated); should it be? I have "~x86" as a keyword. The cvs page is not accessible ATM, so I can't check. The day I can upgrade to r2, I'll do it and post results here.
xenon, it is in your portage tree. it is masked in the package.mask so, try this: emerge /usr/portage/x11-base/xfree/xfree-4.3.0-r2.ebuild
i just compiled 4.3.0-r2 most of the special keystrokes work (switching terminals, killing x server) but alt-ctrl-minus and alt-ctrl-plus doesn't work at all i've put the HandleSpecialKeys option in the config but that din't help at all..
Please post your XF86Config and the output of :- xdpyinfo -ext XFree86-VidModeExtension and the output of :- xrandr
additonal info: two CRT monitors driven by GeForce 4400 Ti. XF86Config-4 : Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:-1" EndSection Section "ServerFlags" AllowMouseOpenFail Option "HandleSpecialKeys" "Always" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/usbmouse" Option "ZAxisMapping" "4 5" EndSection Section "Module" Load "dbe" Load "v4l" Load "glx" SubSection "extmod" #Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" EndSection Section "Monitor" Identifier "Princeton|Princeton Ultra 92" VendorName "Princeton" ModelName "Unknown" HorizSync 30-96 VertRefresh 50-160 ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "NVIDIA GeForce 4400 Ti" VendorName "nvidia" Driver "nvidia" Option "DPMS" "on" # sample twinview setup Option "TwinView" # be sure to replace the HorizSync and VertRefresh with correct values # for your monitor! Option "SecondMonitorHorizSync" "30-96" Option "SecondMonitorVertRefresh" "50-160" Option "TwinViewOrientation" "LeftOf" Option "MetaModes" "1152x864,1152x864; 1152x864,NULL; NULL, 1152x864" # Option "MetaModes" "1280x1024,1280x1024; 1280x1024,NULL; NULL, 1280x1024" Option "ConnectedMonitor" "crt,crt" Option "CursorShadow" EndSection Section "Screen" Identifier "screen1" Device "NVIDIA GeForce 4400 Ti" Monitor "Princeton|Princeton Ultra 92" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1152x864" "1024x768" "800x600" "640x480" "1280x1024 ViewPort 0 0 EndSubsection Subsection "Display" Depth 32 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" Screen "screen1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection ------------------------------------------ xdpyinfo -ext XFree86-VidModeExtension name of display: :0.0 version number: 11.0 vendor string: Gentoo Linux (XFree86 4.3.0, revision r2) vendor release number: 40300000 XFree86 version: 4.3.0 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x1600004, revert to Parent number of extensions: 31 BIG-REQUESTS DOUBLE-BUFFER DPMS Extended-Visual-Information FontCache GLX LBX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD NV-CONTROL NV-GLX NVIDIA-GLX RANDR RENDER SECURITY SHAPE SYNC TOG-CUP X-Resource XC-APPGROUP XC-MISC XFree86-Bigfont XFree86-DGA XFree86-Misc XFree86-VidModeExtension XINERAMA XInputExtension XKEYBOARD XTEST XVideo default screen number: 0 number of screens: 1 screen #0: dimensions: 2304x864 pixels (741x281 millimeters) resolution: 79x78 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0xae depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 64x64 current input event mask: 0x5a60bd KeyPressMask ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask PointerMotionHintMask ButtonMotionMask KeymapStateMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask number of visuals: 40 default visual id: 0x21 visual: visual id: 0x21 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x22 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x23 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x24 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x25 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x26 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x27 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x28 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x29 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2a class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2b class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2c class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2d class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2e class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2f class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x30 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x31 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x32 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x33 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x34 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x35 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x36 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x37 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x38 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x39 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3a class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3b class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3c class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3d class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3e class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3f class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x40 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x41 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x42 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x43 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x44 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x45 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x46 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x47 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x48 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits XFree86-VidModeExtension version 2.2 opcode: 136, base error: 143 Monitor Information: Vendor: Princeton, Model: Unknown Num hsync: 1, Num vsync: 1 hsync range 0: 30.00 - 96.00 vsync range 0: 50.00 - 160.00 Available Video Mode Settings: Clock Hdsp Hbeg Hend Httl Vdsp Vbeg Vend Vttl Flags 108.00 2304 1216 1344 1600 864 865 868 900 108.00 1152 1216 1344 1600 864 865 868 900 108.00 1152 1216 1344 1600 864 865 868 900 Current Video Mode Setting: 108.00 2304 1216 1344 1600 864 865 868 900 ----------------------------------------- xrandr SZ: Pixels Physical Refresh *0 2304 x 864 ( 741mm x 281mm ) *75 1 1152 x 864 ( 741mm x 281mm ) 75 Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none
It doesn't look like the vid mode extension sees any modes for it to switch too, i.e not a keyboard thing. Vid mode extention lists 2. Xrandr shows 2. But both are really the same mode, one twice the width because of the twinview stuff I assume. The new xrandr now adds all the available modes and refresh rates irrespective of your XF86Config settings (/var/log/XFree.0.log should show this process and which modes it is using and the reason others are rejected) However, VidMode Extension zoom keys only switch to modes defined in XF86Config but though I note you have a few defined, they aren't appearing in the output. I suspect this is either some problem validating the modes or possibly xrandr's new stuff clashing with twinview in some way? You could try Section "ServerFlags" Option "RandR" "false" EndSection (But this may need a recent patch to revert functionality if RandR is disabled) (Lastly, I don't think this is relevant because I tried the same here to see if it caused problems - your "modes" line for depth 24 seems to be missing a trailing quote ("), if that's not a cut and paste glitch, try adding that if not to see if it is confusing X)
This worked with with the same config on the previous version of xfree some comments: the standard X modes listed in the config are (were) ignored by X, instead "MetaModes" listed under twinview setup worked and those were the ones that i could switch between using alt-ctrl-plus/minus 3 of them are listed in the config (two monitors, one monitor-left, one monitor-right) setting Option "RandR" "false" disables randr (it shows in log as disabled) but doesn't help (still can't switch modes) now, the funny part (and the reason why missing those keystrokes is such a pain) is that running fullscreen game (rtcw or enemy theritory) switches to one of those listed modes (ie. virtual 2304 x 864,real 1152 x 864 with one monitor blank) automatically upon start but if it crashes after that i can't switch back to the previous mode.. i am stuck in it unles si kill x server and relogin on the other hand calling xrandr 1 will switch the resolution to real 1152 x 864 without virtual scrollable desktop and will mess up window manager/gnome panel. in short.. those modes are still there i just can't switch to them manually anymore. after updating the xfree i also recompiled nvidia-glx and nvidia-kernel but it still shows up in x log as : (II) Module nvidia: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.4349 Module class: XFree86 Video Driver so maybe i should wait until nvidia comes up with a version specifically designed for 4.3 and randr ? ut oh, i've never noticed that missing quote in config but it is in the "unused" modes listing and i've never had a problem with it...
Try adding "2304 x 864" to the "unused" modes part.
seems like nvidia driver problem after all... just installed the newest one (still masked in portage) and all is back to normal.. i've updated X and nvidia driver at the same time before and that lead to misjudging where the problem lies..
closing, as this was an nvidia driver issue.