Change screen resolution to a unsupported mode
Hello
I just installed Opensuse 11.4 (gnome) in a new desktop but the screen resolution is 1360x768 60hz and this is not listed in monitor settings, so the monitor keeps displaying "not optimized mode" message. In order to use the correct resolution, I used these two commands: xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync xrandr --addmode VGA1 "1360x768_60.00" it worked, but every time the computer is restarted, I must run this command again. So I think "I just have to create a script in the initialization!". It works, every time the computer is started, there is no need to run the commands again. But when program enters in full screen, the resolution is "lost" and the monitor message is displayed again. The question is: Is there another way to change the resolution or perhaps a way to save these settings? |
Quote:
I had much the same problem after installing Fedora 11 (old I know, yes, but it does what I want and its Linux, so no forced upgrading). What I did was to edit my xorg.conf file in Code:
/etc/X11/xorg.conf Code:
Section "Screen" Code:
Section "ServerLayout" Code:
xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync E. g. the idea is to have ONLY your desired mode listed in the xorg.conf, thus forcing the X-Server to set that mode only whenever it is started up... at least that is the reasoning I used to set my display to my desired resolution without using automatically-executed startup scripts each time I boot my system. |
But there is no Xorg.conf file, instead, there is a folder called "/etc/X11/xorg.conf.d".
Inside that folder there are those files: 10-evdev.conf 11-mouse.conf 50-device.conf 50-monitor.conf 50-screen.conf 50-synaptics.conf 50-vmmouse.conf 50-wacom.conf 60-vboxmouse.conf 90-keytable.conf How this structure works? |
Very strange, that folder you found is not what you want.
Note the file is Code:
xorg.conf Code:
Xorg.conf Have you tried, as root, to find the xorg.conf file? As root, in a terminal, type Code:
find / -name xorg.conf I'm not sure if you can even start an X server WITHOUT an xorg.conf file, as far as I know you can't so I'm guessing you -must- have an xorg.conf hanging around somewhere. Alternatively, if it IS possible to start an X server WITHOUT an xorg.conf to configure it at startup, that might be why you have such widely varying resolutions available - e. g. maybe the X server starts, but -because- you do not configure it (no xorg.conf, if that's true) it tries to offer you as wide a range of options as possible? |
According to this page (https://fedoraproject.org/wiki/Input...on#xorg.conf.d), the X server now can use the xorg.conf.d folder that contains "parts" of xorg.conf contents and its files are parsed before xorg.conf.
I will try editing those files and/or creating a xorg.conf file (there is no xorg.conf) |
Quote:
|
After several attempts to solve this issue, I decided to make a script for the initialization (inside init.d):
Code:
#!/bin/bash But if I run "/etc/init.d/myscript" from command line it works... |
Forgot to set the runlevel for the script, it is running now...
too bad it was not done the "right" way... |
All times are GMT -5. The time now is 07:10 AM. |