View previous topic :: View next topic |
Author |
Message |
ville.aakko Tux's lil' helper
Joined: 06 Aug 2006 Posts: 113 Location: Oulu, Finland
|
Posted: Sat Aug 12, 2006 10:02 am Post subject: Can't use X shorcut keys to change resolution [SOLVED] |
|
|
Hi,
I must be missing something obvious, but on my quite new Gentoo installation the CTRL+ATL+Keybad plus / minus shortcut keys are not working for some reason. Is this a bug, has this feature been removed, or what? I am able to change my resolution by running xvidtune, just the shorcut keys aren't working
EDIT: the problem has solved itself as mysteriously as it appeared
I'm using xorg-x11-7.0-r1 and ATI fglrx drivers (8.27.10-r1). I've tried:
- the Open Source 'radeon' drivers,
- older fglrx drivers
- running 'xvidtune -unlock'
- Adding entries to ServerFlags in xorg.conf
But none of these had no effect
Here's my corg.conf, in case anyone spots anything I didn't. Note that originally I did not have the Option "DisableVidModeExtension" "false", Option "DontZoom" "false" or Section "ServerFlags" at all for that matter, I added them when trying to enable this feature:
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
# Load "speedo"
# Load "xtt"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Option "AutoRepeat" "500 30"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc102"
# Option "XkbLayout" "fi"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 400 300 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 115.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "MergedDPI" # [<str>]
#Option "MergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "MergedNonRectangular" # [<bool>]
#Option "MergedMouseRestriction" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "BIOSHotkeys" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
Identifier "Card0"
# Driver "vesa"
# Driver "vga"
# Driver "ati"
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"
Driver "fglrx"
# Driver "radeon"
Option "UseInternalAGPGART" "no"
# Option "ForceMonitors" "notv"
VendorName "ATI Technologies Inc"
BoardName "RV280 [Radeon 9200]"
BusID "PCI:1:0:0"
EndSection
Section "dri"
Mode 0666
EndSection
Section "ServerFlags"
Option "DontZap" "false"
Option "DontZoom" "false"
Option "DisableVidModeExtension" "false"
Option "AllowDeactivateGrabs"
Option "AllowClosedownGrabs"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
|
Also, for some reason xev isn't outputting anything when I press CTRL+ALT+kpad minus/plus for the minus / plus key, but that's just because xorg server is trapping that keypress as it should - it just isn't changing the resolution - right? Here's the output of xev when I press CTRL+ATL+kpab - / +:
Code: |
KeyPress event, serial 23, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30333593, (242,79), root:(245,108),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30334530, (242,79), root:(245,108),
state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30336099, (242,79), root:(245,108),
state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30336153, (242,79), root:(245,108),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30338606, (242,79), root:(245,108),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30339263, (242,79), root:(245,108),
state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30340705, (242,79), root:(245,108),
state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x2a00001,
root 0x45, subw 0x0, time 30340726, (242,79), root:(245,108),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
|
I can also post my Xorg log, but I haven't found any clues there
Any help would be appreciated, as there are situations when I miss this feature! _________________ - Ville
Last edited by ville.aakko on Tue Oct 03, 2006 6:12 pm; edited 1 time in total |
|
Back to top |
|
|
ville.aakko Tux's lil' helper
Joined: 06 Aug 2006 Posts: 113 Location: Oulu, Finland
|
Posted: Mon Aug 28, 2006 7:04 am Post subject: |
|
|
bumb'eing, and...
I was able to "fix" this by adding entries to 'xvidtune -next' and 'xvidtune -prev' into KDE menu, and adding KDE shortcut keys to those (CTRL+SHIFT+"+"/"-"). Still, I think there should be a real fix somewhere... am I really the only one using this feature, or the only one experiencing this problem?
Also, despite changing Option "DontZoom" to "true", xev didn't get the event of CTRL+ALT+"+" or CTRL+ALT+"-", that's why I needed to use a different shortcut. _________________ - Ville |
|
Back to top |
|
|
shazza n00b
Joined: 18 Oct 2003 Posts: 71 Location: Marburg, Germany
|
Posted: Mon Aug 28, 2006 5:12 pm Post subject: |
|
|
You're not the only one.
My setup is somewhat different though: I'm using Xorg 7.1 and the proprietary Nvidia drivers, also my keyboard is configured as an evdev device. Strange! |
|
Back to top |
|
|
ville.aakko Tux's lil' helper
Joined: 06 Aug 2006 Posts: 113 Location: Oulu, Finland
|
Posted: Tue Oct 03, 2006 6:11 pm Post subject: Can't use X shorcut keys to change resolution [SOLVED] |
|
|
At some point, probably during some upgrade, the shortcut keys started to work again, as mysteriously as they stopped.
There's still some slight weirdiness - at first I needed to use ALT_GR (normal ALT didn't work), but now it's the opposite - ALT_GR doesn't work (I think both ALTs are supposed to work). But it's quite OK functionally this way _________________ - Ville |
|
Back to top |
|
|
|
|
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
|
|