LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X Console Switching (https://www.linuxquestions.org/questions/slackware-14/x-console-switching-594487/)

Karimo 10-25-2007 08:13 AM

X Console Switching
 
Hi to you all.
Since I have updated from Slackware 12 to Slackware-current (upgrading all the X-related packages either) I'm experiencing a very annoying problem:
Console switching with ALT+CTRL+Fn (where Fn is a function key from 1 to 6) doesn't work anymore.

Here is my xorg.conf:

Code:

root@localhost:~# grep -v "^\#" /etc/X11/xorg.conf | grep ".\+"

Section "Module"
    Load        "dbe"          # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection
    Load        "freetype"
    Load      "glx"
    Load      "dri"
EndSection
Section "Files"
    FontPath  "/usr/share/fonts/TTF"
    FontPath  "/usr/share/fonts/OTF"
    FontPath  "/usr/share/fonts/Type1"
    FontPath  "/usr/share/fonts/misc"
    FontPath  "/usr/share/fonts/75dpi/:unscaled"
    FontPath  "/usr/lib/X11/fonts/misc/"
    FontPath  "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath  "/usr/lib/X11/fonts/Speedo/"
    FontPath  "/usr/lib/X11/fonts/Type1/"
    FontPath  "/usr/lib/X11/fonts/TTF/"
    FontPath  "/usr/lib/X11/fonts/OTF/"
    FontPath  "/usr/lib/X11/fonts/cyrillic/"
    FontPath  "/usr/lib/X11/fonts/75dpi/"
    FontPath  "/usr/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
    Option "DontVTSwitch" "false"
EndSection
Section "InputDevice"
    Identifier        "Keyboard1"
    Driver        "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"        "xorg"
    Option "XkbModel"        "pc104"
    Option "XkbLayout"        "it"
EndSection
Section "InputDevice"
    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "ExplorerPS/2"        # Explorer PS/2
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"  "4 5 6 7"
EndSection
Section "Monitor"
    Identifier  "My Monitor"
    HorizSync  31.5 - 57.0
    VertRefresh 50-90
EndSection
Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"
    Driver    "vga"
EndSection
Section "Device"
    Identifier  "** ATI Radeon (generic)              [radeon]"
    Driver      "radeon"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)              [radeon]"
    Monitor    "My Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
 Section "DRI"
    Mode 0666
EndSection

root@localhost:~#

I tried to put the old one: no result; so I tried to create a new one with xorgconfig and messing with some keyboard-related options: no results.
Any suggestions?

Thank you in advance.

gnashley 10-25-2007 09:12 AM

This is probably a bug in xorg. There have been some major changes to the code. It could be related to one of the missing packages which would no longer compile (see the ChangeLog for details).

pdw_hu 10-25-2007 10:15 AM

No this isn't a bug, it's caused by not having a package called kbd. That solved the exact same problem I had some time ago, when I tried removing some X packages for fun and havoc :D

The needed program btw. is deallocvt.

Speek 10-25-2007 10:46 AM

Check /var/log/Xorg.0.log. It could be that xkbcomp is missing (and maybe libxkbfile).

TNWestTex 10-25-2007 11:44 AM

Quote:

Originally Posted by Karimo (Post 2936334)
Hi to you all.
Since I have updated from Slackware 12 to Slackware-current (upgrading all the X-related packages either) I'm experiencing a very annoying problem:
Console switching with ALT+CTRL+Fn (where Fn is a function key from 1 to 6) doesn't work anymore.

Had the problem, although things seem to be working now. Found a work around that by switching to an inactive graphical VT, Fn 8-11 would then allow the switch to the lower command line VT's. Go figure.

Robert McBroom


All times are GMT -5. The time now is 10:09 AM.