1280x1024 Monitor Resolution Problem in Mint 12 Gnome

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
stdio

1280x1024 Monitor Resolution Problem in Mint 12 Gnome

Post by stdio »

I am using Mint 12 and I have a Dell 1280x1024 and it Mint wont detect the resolution
when I run inxi -G I get this result

Code: Select all

Graphics:  Card: Intel 82945G/GZ Integrated Graphics Controller 
           X.Org 1.10.4 drivers intel unloaded: fbdev,vesa Resolution 1024x768@60.0hz 
           GLX Renderer Mesa DRI Intel 945G x86/MMX/SSE2 GLX Version 1.4 Mesa 7.11
and when I run this xrandr

Code: Select all

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
I even trying adding the resolution using xrandr -addmode and it worked for a time being but when I restart the computer it shows some error and return to 1024x768 .

Is there any way to fix it?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Lord_Eager

Re: 1280x1024 Monitor Resolution Problem in Mint 12 Gnome

Post by Lord_Eager »

if the resolution you wanted works with xrandr then in order to set it permanently do this, open a terminal and type:
sudo nano /usr/share/X11/xorg.conf.d/10-monitor.conf
paste this inside (copy&paste:

Code: Select all

Section "Monitor"

    Identifier "Monitor0" 

    UseModes "custom"

EndSection 

Section "Screen"

    Identifier "Screen0" 

    Device "VGA1" 
   
    Monitor "Monitor0"

    DefaultDepth 24

        SubSection "Display"
            
             Depth 24 

        EndSubSection 

EndSection 

Section "Modes"

    Identifier "custom" 

# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync

EndSection
Save it with Ctrl + O then Enter.
Exit with Ctrl + X .

Press Ctrl + Alt + F2, Log in with your username and password and type:
sudo service lightdm restart
Or change lightdm with your current Display Manager (mdm possible).

If all went fine you should have the new resolution available in your monitor settings.

I generated a modline for a 60 Hz refresh (standard) monitor, probably yours natively supports 70 Hz or more, so feel free to change the modline with your custom one, you can do it just by typing in terminal:
gtf xres yres refresh
And copying the result in the file above created in the section "Modes" .
Locked

Return to “Beginner Questions”