Hi
I want my Fedora 22 box to run at a video resolution of 1680x1050.
I added and selected that resolution by doing:
$ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync $ xrandr --addmode VGA-0 1680x1050_60.00 $ xrandr --output VGA-0 --mode 1680x1050_60.00
That worked, but when I reboot the resolution reverts to 1280x1024.
I tried creating file:
/etc/X11/xorg.conf.d/40-monitor.conf
and putting in it:
Section "Monitor" Identifier "VGA-0" Option "PreferredMode" "1680x1050_60.00" EndSection
but that had no effect (perhaps because the resolution was not found after the reboot).
How can I set the resolution to 1680x1050 permanently?
Best regards
David
Back in the day, the following script resided in my ~/.config/autostart: #!/bin/bash
# add a new mode using xrandr # works with Lubuntu 14.04 on Pyrope
screen=$(xrandr | grep \ connected | awk '{print $1}') xrandr --newmode 1680x1050 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync xrandr --addmode $screen 1680x1050 xrandr --output $screen --mode 1680x1050
On Tue, Jun 14, 2016 at 4:26 AM, David Aldrich David.Aldrich@emea.nec.com wrote:
Hi
I want my Fedora 22 box to run at a video resolution of 1680x1050.
I added and selected that resolution by doing:
$ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync $ xrandr --addmode VGA-0 1680x1050_60.00 $ xrandr --output VGA-0 --mode 1680x1050_60.00
That worked, but when I reboot the resolution reverts to 1280x1024.
I tried creating file:
/etc/X11/xorg.conf.d/40-monitor.conf
and putting in it:
Section "Monitor" Identifier "VGA-0" Option "PreferredMode" "1680x1050_60.00" EndSection
but that had no effect (perhaps because the resolution was not found after the reboot).
How can I set the resolution to 1680x1050 permanently?
Best regards
David
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On Wed, 15 Jun 2016 06:18:26 -0500 Steven Usdansky wrote:
Back in the day, the following script resided in my ~/.config/autostart:
That won't take effect till you login though, right?
I think I have a virtual machine at home I could never get resolution to stick on, and I put the xrandr call in a script under /etc/X11/xinit/xinitrc.d/ (if I'm remembering correctly). I believe those get invoked when X starts, so the resolution will be correct in the login screen as well (or if that isn't the place, there is some place where scripts get invoked at X start time :-).