Fixed screen display resolution default setting 1024x800

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

Fixed screen display resolution default setting 1024x800

Postby mactece on Sat Dec 01, 2012 5:46 am

This is how I fixed my screen resolution (default display) problem in Mint 14

Background: When I installed Mint 14 (Nadia) it could not detect my monitor and defaulted to 1024x800 (4:3). It would not detect my 1600x900 dell monitor with vga connector (the only wire provided).

Solution: I followed the instructions in this post on Ubuntu Geek: http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html with the modifications in the notes, below. Please do read the post carefully and try out the instructions in the way they describe before making permanent changes.

Notes: Mint 14 uses MDM (Mint Display Manager), not gdm or kdm, so to make the changes persist the file to edit is /etc/mdm/Init/Default. An easy way to do this is to navigate to the file using Nemo (the MInt file manager), then right-click on the file and select open as root. Now when you double-click on the file it will open for editing in gedit. Add the lines as described in the Ubuntu Geek post, save and reboot.

When the computer restarts you should notice the splash screen is at the correct resolution but when you login you will have the old setting. To fix this, go to prefences, displays and you should now be able to select your prefered resolution. This should now persist whenever you login. Other users will need to change their resoltion, when they next login. (If anyone can improve on this, please post below.)

If you use these instructions successfully it would be nice if you posted to let me know that they work. Thanks.

Enjoy :)
Last edited by mactece on Sun Dec 30, 2012 5:26 pm, edited 1 time in total.
mactece
Level 1
Level 1
 
Posts: 4
Joined: Sat Dec 01, 2012 5:27 am

Linux Mint is funded by ads and donations.
 

Re: Fixed screen display resolution default setting 1024x800

Postby AbnerC on Wed Dec 26, 2012 3:29 am

I followed all this to the letter and now both panels have reset to a lower white panel. I tried going into Cinnamon Settings but it is on Classic panel layout, even if I change it the changes can't be seen. I tried inputting ALT+F2 to restart cinnamon and now I get the Run Application instead of the screen going black. Any help on this? Is there any way to rollback what I had?
User avatar
AbnerC
Level 1
Level 1
 
Posts: 6
Joined: Fri Dec 21, 2012 11:43 pm

Re: Fixed screen display resolution default setting 1024x800

Postby cwsnyder on Wed Dec 26, 2012 10:22 am

AbnerC wrote:I followed all this to the letter and now both panels have reset to a lower white panel. I tried going into Cinnamon Settings but it is on Classic panel layout, even if I change it the changes can't be seen. I tried inputting ALT+F2 to restart cinnamon and now I get the Run Application instead of the screen going black. Any help on this? Is there any way to rollback what I had?
Which Cinnamon are you using? LM13, LM14, LMDE Cinnamon? 32-bit or 64-bit? nVidia, ATI, Intel graphics, or other? Proprietary or Open-source driver?

Yes, you can roll back to what you had before, but it would involve knowing what you had before, and I doubt you made notes. The alternative is to backup your /home folder and re-install Mint. This is why you don't make the changes to MDM until after you have tested the changes to make sure that you get your desktop set in the manner you wish.

You say that "now both panels have reset to a lower white panel". Are you talking about a single monitor? Dual-monitors? Default Cinnamon has a single lower screen panel with menu, not two panels.

Have you tried one of your alternate DE settings from your MDM login screen, or is it the MDM login screen which has changed?
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1064
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Fixed screen display resolution default setting 1024x800

Postby mactece on Wed Dec 26, 2012 5:45 pm

It would be good if you could post some information about your system and what happened when you followed the test commands as described in the ubuntugeek article, so that we can help you. e.g. What os, what session you are using, what did the login screen look like, etc. Also post the contents of your mdm file.
mactece
Level 1
Level 1
 
Posts: 4
Joined: Sat Dec 01, 2012 5:27 am

Re: Fixed screen display resolution default setting 1024x800

Postby AbnerC on Thu Dec 27, 2012 7:43 pm

No worries guys, I switched to XFCE and had to re-install everything (way more suitable for my computer than Cinnamon). From now on I'm being extra careful with terminal and taking notes.
User avatar
AbnerC
Level 1
Level 1
 
Posts: 6
Joined: Fri Dec 21, 2012 11:43 pm

Re: Fixed screen display resolution default setting 1024x800

Postby igor83 on Fri Dec 28, 2012 1:29 pm

mactece wrote:This is how I fixed my screen resolution (default display) problem in Mint 14

Background: When I installed Mint 14 (Nadia) it could not detect my monitor and defaulted to 1024x800 (4:3). It would not detect my 1600x900 dell monitor with vga connector (the only wire provided).

Solution: I followed the instructions in this post on Ubuntu Geek: http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html with the modifications in the notes, below.

Notes: Mint 14 uses MDM (Mint Display Manager), not gdm or kdm, so to make the changes persist the file to edit is /etc/mdm/Init/Default. An easy way to do this is to navigate to the file using Nemo (the MInt file manager), then right-click on the file and select open as root. Now when you double-click on the file it will open for editing in gedit. Add the lines as described in the Ubuntu Geek post, save and reboot.

When the computer restarts you should notice the splash screen is at the correct resolution but when you login you will have the old setting. To fix this, go to prefences, displays and you should now be able to select your prefered resolution. This should now persist whenever you login. Other users will need to change their resoltion, when they next login. (If anyone can improve on this, please post below.)

Enjoy :)


So, that implies that in Nadia, changing xorg.conf will not fix the display resolution by itself, but you have to modify that mdm file as well, or instead of xorg.conf? Is that what I'm reading? I was wondering because I noticed the other day that my htpc booted into 800x600, which is correct and in accord with xorg.conf, but the refresh rate was off--65hz, when it should be 85hz. I think the higher hertz allows more vibrant colors, does it not? I know the latest plasmas boast about their 120hz or in some cases 250hz, as if this means something. Brightness?
My desktop runs 64-bit Kubuntu 13.04, my htpc runs 64-bit Linux Mint Nadia Xfce, my answering machine runs 64-bit windows 7, and my laptop runs 64-bit Linux Mint Nadia KDE. Each seems suited to its purpose.
Image
User avatar
igor83
Level 4
Level 4
 
Posts: 317
Joined: Wed Aug 08, 2012 8:23 pm

Re: Fixed screen display resolution default setting 1024x800

Postby cwsnyder on Fri Dec 28, 2012 2:39 pm

@igor83: When X was overhauled to deprecate the /etc/X11/xorg.conf file (I don't remember precisely, but it seemed to be about 2010-2011), the resolution settings in my xorg.conf file which had worked since Ubuntu 7.10 Gutsy crashed and burned, and haven't been re-instated. Multiple monitor settings, input settings and others have come back, but resolution settings have simply not worked, and I don't know why. I have tested this in many Ubuntu and Debian derived systems, including Ubuntu and Debian. Maybe some of the RPM based distros still can use xorg.conf to set resolutions, but the few I have tested also seem to rely on xrandr to set resolutions and refresh rates.

In the few computer/video systems which can't be set by xrandr (usually because of an error about not reading the gamma of the display correctly), I haven't found any resolution other than changing the display driver to one which does read the display gamma correctly. /etc/X11/xorg.conf doesn't work in them either to set the resolution, gamma, or refresh rate. And I have been watching posts on the Ubuntu forums and here since the problem occurred on my system. Ubuntu 9.10 was about the last Ubuntu standard desktop which would work on my (then present) desktop. I had had problems with the upgrades from 7.10 to 8.04 when Pulse Audio was introduced getting my sound back, the upgrade to 8.10 was relatively painless, but 9.04 had an X upgrade and it took me a while to fix the video system using the xorg.conf file to work properly (change in syntax), similar problems with 9.10, then 10.04 stopped recognizing my PS/2 keyboard and other problems kept me from using that release at all on my desktop and none of the intervening releases up to 12.04 would even boot the Live CD to a desktop on my desktop computer.

In January 2012, I changed desktop computers to a DIY with a BioStar N68S3B motherboard, 8G RAM, AMD Athlon II x3 processor, nVidia Geforce 7025 on-board graphics. Xubuntu 11.10 would boot, but I had already switched over to LMDE as my main system, Debian Squeeze as a secondary system. Debian 5.0 Lenny would work with /etc/X11/xorg.conf, Debian 6.0 Squeeze would not. Debian Wheezy does not.
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1064
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Fixed screen display resolution default setting 1024x800

Postby mactece on Sun Dec 30, 2012 5:23 pm

The method I posted at the top is all about screen resolution. It does not use nor need an xorg.conf file. The mdm reference makes sense when you read the Ubuntu Geek post, which definitely needs to be read and understood before making permanent changes. You will see it describes a way to try out the changes before making them permanent.

BTW, my understanding is that the X system should detect all the necessary settings automatically, so there is no xorg.conf file anymore. However you can generate one and if it exists then your system will use it. If you search for xorg you will get plenty of useful links. It is beyond my understanding how you would use this to solve a resolution problem so if you find a way, I'd be interested to know what it is.

atb
mactece
Level 1
Level 1
 
Posts: 4
Joined: Sat Dec 01, 2012 5:27 am

Re: Fixed screen display resolution default setting 1024x800

Postby cwsnyder on Sun Dec 30, 2012 5:47 pm

Prior to 2011, X used to read /etc/X11/xorg.conf to get your monitor settings if they were not correctly read from the EDID. After 2011, xrandr was introduced and is referred to by https://wiki.ubuntu.com/X/Config/Resolution as well as your reference to http://www.ubuntugeek.com/how-change-di ... randr.html , which is where I originally got my information.

I have run into a case where the xrandr did not work as shown in the two tutorials: Running xrandr on a line by itself, the output shows:
Code: Select all
Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.0*
800x600 61.0
Note the error on reading the size of the gamma and the default connected lines. You could not use xrandr --output default --mode 1280x1024, even if you had properly defined the 1280x1024@60Hz mode. Reading man xrandr, I noted a 'new' option to set the --gamma for the display. What worked in two VirtualBox machines and a Live DVD which had this problem (after defining the mode 1280x1024) was to change the line to:
Code: Select all
xrandr --output default --gamma 1:1:1 --mode 1280x1024
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1064
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Fixed screen display resolution default setting 1024x800

Postby derekdickerson on Wed Jan 02, 2013 9:43 pm

Followed the same steps:

Ubuntu Geek: http://www.ubuntugeek.com/how-change-di ... randr.html with the modifications in the notes, below.
Notes: Mint 14 uses MDM (Mint Display Manager), not gdm or kdm, so to make the changes persist the file to edit is /etc/mdm/Init/Default.

but the UI (Cinnamon) doesn't follow Refer to the (Screenshot)
This is a zbox with Intel 3000 graphics card and a samsung syncMaster 730B
Screenshot:
http://imgur.com/q5uvY
derekdickerson
Level 1
Level 1
 
Posts: 22
Joined: Wed Jan 02, 2013 9:37 pm

Re: Fixed screen display resolution default setting 1024x800

Postby derekdickerson on Wed Jan 02, 2013 9:57 pm

Where is the xinitrc.common so that the UI updates?
derekdickerson
Level 1
Level 1
 
Posts: 22
Joined: Wed Jan 02, 2013 9:37 pm

Re: Fixed screen display resolution default setting 1024x800

Postby cwsnyder on Wed Jan 02, 2013 10:16 pm

The file you want to change is /etc/X11/xinit/xinitrc not xinitrc.common in LMDE and may be true for LM main edition as well.

There is also a file called ~/.xinitrc(indicating it is in your /home/<username>/ folder), or ~/.xprofile which is also a script file to which my default script was changed during an upgrade process.
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1064
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Fixed screen display resolution default setting 1024x800

Postby derekdickerson on Thu Jan 03, 2013 12:23 am

thank you for the fast response and I am sorry if I am misunderstanding but I placed the information in the xinitrc file and no change
No .xprofile but there is a .profile file when adding that file seems to not allow the UI to load.

Second Screenshot Http://imgur.com/wOiQ0



I have restarted cinnamon no change

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)

xrandr -display :0.0 -q
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.0*+ 75.0
1280x960 60.0
1280x800 74.9 59.8
1152x864 75.0
1280x768 74.9 59.9
1024x768 75.1 70.1 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 72.8 75.0 66.7 60.0
720x400 70.1
derekdickerson
Level 1
Level 1
 
Posts: 22
Joined: Wed Jan 02, 2013 9:37 pm

Re: Fixed screen display resolution default setting 1024x800

Postby cwsnyder on Sun Jan 06, 2013 5:58 am

~/.xprofile was created for me during one of my updates, which copied information which I had put in lightdm during an update to mdm to this file in my personal directory.

You should be able to create and use either ~/.xprofile or ~/.xinitrc to see if either would work. Just remember the system expects that they are shell scripts using shell (bash) commands, and that you will probably have to use chmod +x ~/.xprofile or chmod +x ~/.xinitrc after creating the files to make sure that they will execute properly.
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1064
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Fixed screen display resolution default setting 1024x800

Postby AngeloGomes on Wed Mar 13, 2013 7:53 am

Hi everybody.

First of all: I am a newbie to Linux and yesterday I installed Mint 14 (MATE)

I have a problem here that is related to the 1920x1080 @ 60Hz. I followed the steps outlined in this post and now I can set that resolution to the full hd resolution. My monitor is a Samsung syncmaster 2233SW+, so its native resolution is 1920x1080 @ 60 Hz.

However I noticed that it is cropping the right side of the screen on MInt, maybe about 100-200 pixels. I did check the monitor on a Windows Xp and everything is correct on this resolution. The problem is on Mint.


Does anyone know how to fix this ?
AngeloGomes
Level 1
Level 1
 
Posts: 26
Joined: Wed Mar 13, 2013 7:43 am

Re: Fixed screen display resolution default setting 1024x800

Postby randiroo76073 on Sun Jun 09, 2013 5:30 am

Thanks for the tut Mactece, cured my problems :) Running Mint Mate 15
randiroo76073
Level 1
Level 1
 
Posts: 19
Joined: Sun Sep 02, 2012 11:18 am

Re: Fixed screen display resolution default setting 1024x800

Postby EsteBandido2010 on Sun Jun 09, 2013 2:38 pm

Helps to solve my issue in LM 15 Olivia. Thanks to all for your valuable comments.
EsteBandido2010
Level 1
Level 1
 
Posts: 1
Joined: Sun Apr 07, 2013 11:43 pm

Re: Fixed screen display resolution default setting 1024x800

Postby 0rd on Tue Oct 22, 2013 6:10 am

To edit the relevant file in MDM, you can just type the following in a Terminal,

sudo gedit /etc/mdm/Init/Default

In my case, the newly added resolution (and refresh rate) became the default in all of the user accounts. There was no need to select it in the Display Settings.

If you want a particular refresh rate, add the desired refresh rate at the end of the cvt command. For example,

cvt 1280 960 70

will generate the data for a resolution of 1280 x 960 at a refresh rate of 70Hz. I find that flickering is quite noticeable at 60Hz and much prefer a higher refresh rate.

However, please be sure that your monitor can cope with the higher resolutions and refresh rate as overdriving your monitor can burn it out. Check you monitor manual or user guide before using the higher resolutions and refresh rate.

Thanks to mactece for the initial tip. It worked just fine.


FYI: I am using Linux Mint 15 with Cinnamon.
0rd
Level 1
Level 1
 
Posts: 1
Joined: Tue Oct 22, 2013 5:48 am

Re: Fixed screen display resolution default setting 1024x800

Postby peileppe on Wed Mar 05, 2014 7:50 am

I have similar issue detailed here viewtopic.php?f=59&t=161415 - but this tweak http://www.ubuntugeek.com/how-change-di ... randr.html didn't help
also would like to mention to be careful not to copy and paste the following line from the ubuntu article because the second apostrophe is a backward one and the config file will get corrupted

Here's the correct lines with normal apostrophe :
Code: Select all
    xrandr --newmode "1024×768" 70.00 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
    xrandr --addmode VGA1 1024x768_60.00
    xrandr --output VGA1 --mode 1024×768


Having said that, there was no improvement in the issue of garbled lines in my case. :(
Last edited by peileppe on Sat Mar 22, 2014 6:05 pm, edited 1 time in total.
User avatar
peileppe
Level 1
Level 1
 
Posts: 20
Joined: Thu Nov 11, 2010 7:29 am

Re: Fixed screen display resolution default setting 1024x800

Postby kcaldwel on Wed Mar 12, 2014 1:45 pm

This basically worked for me in Linus Mint 16 XFCE, with a slight change to the way to edit the default file. I used the file manager to navigate to the folder where the default file is:

/etc/mdm/Init/

I then right clicked in the window folder and opened the folder as root. I then opened the default file with the text editor, and modified the file per the instructions linked on ubuntugeek. I used the outputs in my terminal window since I was doing a different resolution anyway, and from the above I guess there are mistakes in the lines on ubuntugeek.

Pretty basic, but this is my first week on Linux Mint after two decades on Windows. Every successful step is a great. Thanks for the help mactece!

Fixed screen display resolution default setting 1024x800

Postby mactece on Sat Dec 01, 2012 5:46 am
This is how I fixed my screen resolution (default display) problem in Mint 14

Background: When I installed Mint 14 (Nadia) it could not detect my monitor and defaulted to 1024x800 (4:3). It would not detect my 1600x900 dell monitor with vga connector (the only wire provided).

Solution: I followed the instructions in this post on Ubuntu Geek: http://www.ubuntugeek.com/how-change-di ... randr.html with the modifications in the notes, below. Please do read the post carefully and try out the instructions in the way they describe before making permanent changes.

Notes: Mint 14 uses MDM (Mint Display Manager), not gdm or kdm, so to make the changes persist the file to edit is /etc/mdm/Init/Default. An easy way to do this is to navigate to the file using Nemo (the MInt file manager), then right-click on the file and select open as root. Now when you double-click on the file it will open for editing in gedit. Add the lines as described in the Ubuntu Geek post, save and reboot.

When the computer restarts you should notice the splash screen is at the correct resolution but when you login you will have the old setting. To fix this, go to prefences, displays and you should now be able to select your prefered resolution. This should now persist whenever you login. Other users will need to change their resoltion, when they next login. (If anyone can improve on this, please post below.)

If you use these instructions successfully it would be nice if you posted to let me know that they work. Thanks.

Enjoy :)
kcaldwel
Level 1
Level 1
 
Posts: 20
Joined: Sat Mar 08, 2014 6:16 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Hardware Support

Who is online

Users browsing this forum: Bing [Bot] and 15 guests