Mike Spencer
2023-03-12 06:20:18 UTC
I'm unable to make X switch between display modes with CTRL ALT KP+
and CTRL ALT KP-. I have an /etc/X11/xorg.conf.d/xorg.conf file
(details below) with a Screen section and 4 modes in a Display
SubSection.
Following startx, the display comes up in the first mode listed in
that file so it's verified that the monitor, video card and X are able
to interpret and render all of the desired resolutions.
But the CTRL ALT KPx key chords don't work. Only the first mode in
the list becomes available.
I wondered if extensive key reassignment in xmodmap might be a source
of the problem but xvidtune(1) next and prev commands also have no
effect, do not switch modes.
I never got the mode switching to work in 14.{1,2} but it didn't
matter as 1024x768 was perfect for my IBM 19" CRT. Now I need to
be able to do it.
Any pointers welcome. I dread having to revert to hacking xorg,conf a
la 1990s -- surely not?
TIA,
- Mike
Details:
/etc/X11/xorg.conf.d/xorg.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
# Modes "1280x720" "1920x1080" "1600x900" "1024x768"
Modes "1920x1080" "1280x720" "1600x900" "1024x768"
EndSubSection
EndSection
The monitor's native res is 1920x1080. It nags with popups when
other resolutions are in effect but each of the the 16:9 modes works
if it's the first listed in the Modes line.
The 1024x768 mode is to accommodate a different CRT monitor sometimes
substituted for the 16:9 flatscreen. It also works on the 16:9
monitor if it's the first in the list but, predictably, with distorted
rendering.
and CTRL ALT KP-. I have an /etc/X11/xorg.conf.d/xorg.conf file
(details below) with a Screen section and 4 modes in a Display
SubSection.
Following startx, the display comes up in the first mode listed in
that file so it's verified that the monitor, video card and X are able
to interpret and render all of the desired resolutions.
But the CTRL ALT KPx key chords don't work. Only the first mode in
the list becomes available.
I wondered if extensive key reassignment in xmodmap might be a source
of the problem but xvidtune(1) next and prev commands also have no
effect, do not switch modes.
I never got the mode switching to work in 14.{1,2} but it didn't
matter as 1024x768 was perfect for my IBM 19" CRT. Now I need to
be able to do it.
Any pointers welcome. I dread having to revert to hacking xorg,conf a
la 1990s -- surely not?
TIA,
- Mike
Details:
/etc/X11/xorg.conf.d/xorg.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
# Modes "1280x720" "1920x1080" "1600x900" "1024x768"
Modes "1920x1080" "1280x720" "1600x900" "1024x768"
EndSubSection
EndSection
The monitor's native res is 1920x1080. It nags with popups when
other resolutions are in effect but each of the the 16:9 modes works
if it's the first listed in the Modes line.
The 1024x768 mode is to accommodate a different CRT monitor sometimes
substituted for the 16:9 flatscreen. It also works on the 16:9
monitor if it's the first in the list but, predictably, with distorted
rendering.