Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ctrl+Alt+Fx works now without Ctrl - need help
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
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Sat Jan 29, 2011 5:02 pm    Post subject: Ctrl+Alt+Fx works now without Ctrl - need help Reply with quote

Hi guys, after today's package update terminal switching (assuming this is what it's called) it working with just Alt + Fx. Few packages were updated, openrc among them, don't remember the rest. What did I just break? ;)

EDIT: Oh, and Alt + Left/Right arrow switches the terminal as well... how can I bring back old settings?
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2038
Location: United Kingdom

PostPosted: Sat Jan 29, 2011 6:44 pm    Post subject: Re: Ctrl+Alt+Fx works now without Ctrl - need help Reply with quote

Maf wrote:
EDIT: Oh, and Alt + Left/Right arrow switches the terminal as well... how can I bring back old settings?


Sounds like a keymaps problem. Have a look in the defkeymap.map file?
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 29, 2011 7:10 pm    Post subject: Reply with quote

You probably have incorrect entries in your xorg.conf.
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Sat Jan 29, 2011 8:42 pm    Post subject: Reply with quote

VoidMage wrote:
You probably have incorrect entries in your xorg.conf.

Since when is this configured by xorg.conf? By the way, this file was not updated by this update.

Fitzcarraldo wrote:
Maf wrote:
EDIT: Oh, and Alt + Left/Right arrow switches the terminal as well... how can I bring back old settings?


Sounds like a keymaps problem. Have a look in the defkeymap.map file?


Do you mean '/usr/share/keymaps/i386/qwerty/defkeymap.map.gz' ?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 29, 2011 9:57 pm    Post subject: Reply with quote

Maf wrote:
VoidMage wrote:
You probably have incorrect entries in your xorg.conf.

Since when is this configured by xorg.conf? By the way, this file was not updated by this update.

The file probably wasn't, but that's the point - you should have updated it.
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Sat Jan 29, 2011 10:26 pm    Post subject: Reply with quote

VoidMage wrote:
The file probably wasn't, but that's the point - you should have updated it.

Well, I did update all the files using 'etc-update' already.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jan 30, 2011 12:51 am    Post subject: Reply with quote

:roll: Do you need it verbatim ? Just pastebin your **** xorg.conf.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 30, 2011 1:20 am    Post subject: Reply with quote

Just to make it clear, Alt+Fx has been always switching terminals. Same goes for Alt+Arrow. Only from Xorg you needed to add Ctrl.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Sun Jan 30, 2011 11:36 am    Post subject: Reply with quote

VoidMage wrote:
:roll: Do you need it verbatim ? Just pastebin your **** xorg.conf.


Here you go:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Fri Apr 17 00:40:10 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"                                                                                                                                                                           
    Identifier     "Monitor0"                                                                                                                                                               
    VendorName     "Unknown"                                                                                                                                                                 
    ModelName      "Unknown"                                                                                                                                                                 
    HorizSync       30.0 - 83.0                                                                                                                                                             
    VertRefresh     56.0 - 75.0                                                                                                                                                             
         Gamma                   0.85 0.85 0.85                                                                                                                                             
    Option         "DPMS"                                                                                                                                                                   
EndSection                                                                                                                                                                                   
                                                                                                                                                                                             
Section "Device"                                                                                                                                                                             
    Identifier     "Device0"                                                                                                                                                                 
    Driver         "nvidia"                                                                                                                                                                 
    VendorName     "NVIDIA Corporation"                                                                                                                                                     
EndSection                                                                                                                                                                                   
                                                                                                                                                                                             
Section "Screen"                                                                                                                                                                             
    Identifier     "Screen0"                                                                                                                                                                 
    Device         "Device0"                                                                                                                                                                 
    Monitor        "Monitor0"                                                                                                                                                               
    DefaultDepth    24                                                                                                                                                                       
    SubSection     "Display"                                                                                                                                                                 
        Depth       24                                                                                                                                                                       
    EndSubSection                                                                                                                                                                           
EndSection


I'm just surprised xorg has anything to do with it, I've been using Gentoo for almost 6 years and never got into any hotkeys <-> xorg dependencies.
Oh, and it's ok for me to use Alt+Fx for switching when I'm not under KDE (it's always been like this), but under KDE I'd like to have it the old way - with Ctrl.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jan 30, 2011 1:21 pm    Post subject: Reply with quote

Would be nice to see your xorg log too, but assuming you didn't tweak much on your own (by that I mean stuff like .Xmodmap),
you should:
- remove InputDevice sections and correct ServerLayout afterwards
- in KDE keyboard applet, set it to "Evdev controlled" (or a similar name - I don't use KDE)
Back to top
View user's profile Send private message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sun Jan 30, 2011 6:57 pm    Post subject: Reply with quote

Yes , I can use Alt+F7 instead of Ctrl+Alt+F7 when I in Ctrl+Alt+F1.
But when I in gnome (Ctrl+Alt+F7) , I must use Ctrl+Alt+F1 to go to the first terminal . ( At that time Alt+F1 does not work )
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Sun Jan 30, 2011 9:08 pm    Post subject: Reply with quote

waterloo2005 wrote:
Yes , I can use Alt+F7 instead of Ctrl+Alt+F7 when I in Ctrl+Alt+F1.
But when I in gnome (Ctrl+Alt+F7) , I must use Ctrl+Alt+F1 to go to the first terminal . ( At that time Alt+F1 does not work )

Exactly, and I want to restore this behaviour.

VoidMage:
Could you edit my xorg.conf so that it works ok? And what is this keyboard applet thing in KDE?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jan 30, 2011 10:23 pm    Post subject: Reply with quote

Maf wrote:
Could you edit my xorg.conf so that it works ok?

Well, if your system is correctly configured, following should work:
Code:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "Monitor"                                                                                                                                                                           
    Identifier     "Monitor0"                                                                                                                                                               
    VendorName     "Unknown"                                                                                                                                                                 
    ModelName      "Unknown"                                                                                                                                                                 
    HorizSync       30.0 - 83.0                                                                                                                                                             
    VertRefresh     56.0 - 75.0                                                                                                                                                             
         Gamma                   0.85 0.85 0.85                                                                                                                                             
    Option         "DPMS"                                                                                                                                                                   
EndSection                                                                                                                                                                                   
                                                                                                                                                                                             
Section "Device"                                                                                                                                                                             
    Identifier     "Device0"                                                                                                                                                                 
    Driver         "nvidia"                                                                                                                                                                 
    VendorName     "NVIDIA Corporation"                                                                                                                                                     
EndSection                                                                                                                                                                                   
                                                                                                                                                                                             
Section "Screen"                                                                                                                                                                             
    Identifier     "Screen0"                                                                                                                                                                 
    Device         "Device0"                                                                                                                                                                 
    Monitor        "Monitor0"                                                                                                                                                               
    DefaultDepth    24                                                                                                                                                                       
    SubSection     "Display"                                                                                                                                                                 
        Depth       24                                                                                                                                                                       
    EndSubSection                                                                                                                                                                           
EndSection

Well, that's all that I said above.
Maf wrote:
And what is this keyboard applet thing in KDE

How should I know - I don't use KDE, I simply recall, that all those months ago people using KDE said that setting keyboard there to "Evdev managed" helped.

Your xorg log may provide additional info.
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