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
#!/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@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
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
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx 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