LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-16-2017, 11:49 AM   #31
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Put it in your login script once verified


Quote:
Originally Posted by kraziekris View Post
I thought it was light DM changing this. I am using Linux Mint and Lightdm has no settings.

There are a lot of screen resolutions in the Nvidia GUI.... Nearly all resolutions, the only native is 4k, the rest say scaled.

The only places I have edited Resolutions is the Nvidia GUI, nvidia commands, xorg.conf and also the native linux mint display gui which only have 4k as a choice.

I cant find anywhere in my distro other than nvidia and native display app.

I do appriciate all your attempts to help me. Its so frustrating.

I guess I could write a script like xrandr --output DVI-D-0 --mode 1920x1080 to run after login if I have to.

Or maybe check some logs but dont know which ones.

Yes my hardware supports 1080p.
I think that if you create a script you'll be ahead of this.

My suggestion would be initially to write the script and execute it and see if it's capable of persistently maintaining the display qualities you're seeking. Then after you are certain it's working, put it in your login (initialization) script - that would be .profile in your home directory for any shell with Bourne Shell conventions: sh, sh5, ksh, bash, zsh. IF you use a C shell variation (csh and tcsh are two I know of), use .cshrc instead of .profile to provide the initial shell configuration details.
 
Old 02-17-2017, 02:18 AM   #32
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by kraziekris View Post
Hi, no there is nothing in there for disabling it. I am happy to move away from cinnamon desktop as long as i can be sure it will work...
bummer, But the good news is that we now know WHY the bloody thing keeps going back to 4k.

The bad news...

I have no other ideas as to how you can force it to use xorg.conf

The way I see it is, you can ether try what masinick has suggested to you (in which case, I'll turn it over to him) or what you yourself have suggested.

I can't say that your current distro will not do the same thing in terms of say for example KDE (or any other DE) but it's a very viable option for ya nevertheless.

Here's some links for ya to look at in that case;

https://www.engadget.com/2012/11/30/...ment-in-linux/
http://www.everydaylinuxuser.com/201...nt-should.html
http://www.techradar.com/news/softwa...or-you-1194516
https://www.linux.com/news/best-linu...ironments-2016

I was hoping that we would have solved this for ya at least 5 - 10 posts ago. Shame we have not been able to actually solve your problem for ya.

The real breakthrough moments for me, were;

Quote:
Originally Posted by kraziekris View Post
Hi, yes, even with that file being generated it still put my screen at 4k, it also messed up the positioning of my screens so I had to delete /etc/X11/xorg.conf file.
Quote:
Originally Posted by kraziekris View Post
Also I think that this may have something to do with it? If i go to the normal Display settings in Linux, it will only give me 4k as a resolution, there are no other resolutions here. Maybe this is overriding it initially?
Quote:
Originally Posted by kraziekris View Post
Not sure if it makes any difference or helps us solve this but it seems to load the correct resolution up to the login box, then I type my password and a few seconds later I see the resolution change to 4k.
Quote:
Originally Posted by kraziekris View Post
The only places I have edited Resolutions is the Nvidia GUI, nvidia commands, xorg.conf and also the native linux mint display gui which only have 4k as a choice.
This told me that xorg.conf was being looked at and therefore what I was suspecting in terms of your DE changing screen res back was on the right track (and key to the whole problem your having).

I must say that, you helped me as much as I may have helped you and it therefore was a TEAM effort! And I think this is (or at least should be) what LQ is about. So thank YOU as well!

I must also say that I have enjoyed the ride with all the twists and turns along the way (I DO honestly mean that)

I wish you the best of luck which ever way ya go from here!
 
Old 02-17-2017, 04:16 AM   #33
kraziekris
LQ Newbie
 
Registered: Jan 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hey man, thanks so much, you are a real credit to this forum and a great human being.

Taking your time to help me, try to figure out a way to fix my issues and not stopping at any hurdle.

I have decided to stick with the native resolution and use HiDpi setting which actually looks really good on the 4k screen, for the other 2 1080p screens I will maybe use xrandr to lower the DPi.

Other than that I feel 2 new 4k screens may have to be purchased.

I like linux to much to move back now.

Thanks again. Hopefully we can collaborate again some time. Ill pm you my contact details.
 
Old 02-17-2017, 05:08 AM   #34
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by kraziekris View Post
Hey man, thanks so much, you are a real credit to this forum and a great human being.

Taking your time to help me, try to figure out a way to fix my issues and not stopping at any hurdle.

I have decided to stick with the native resolution and use HiDpi setting which actually looks really good on the 4k screen, for the other 2 1080p screens I will maybe use xrandr to lower the DPi.

Other than that I feel 2 new 4k screens may have to be purchased.

I like linux to much to move back now.

Thanks again. Hopefully we can collaborate again some time. Ill pm you my contact details.
While I would say "I'm glad you have solved your problem", I'm glad you at least found out what was/is causing it and therefore what your options are. And in all honesty, like I said before, I had the same problem myself, we just had to figure it out! I mean, we just had to!

If you really like me, you could maybe add to my Reputation?? Just kidding! But if you want to (and/or send us a friend request) your more than welcome to!

Last edited by jsbjsb001; 02-17-2017 at 05:17 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
non-mounted Debian wheezy 7.9 on partitioned Hard Drive - wrong screen resolution limited to 1024 x 768 tanguy123 Linux - Newbie 13 01-23-2016 05:14 PM
coding until 3 am secretlydead Linux - General 9 01-06-2012 09:44 AM
Install rehdat from NFS using kickstart -- without IP hard-coding gxgtudor Red Hat 2 02-28-2009 03:40 AM
Correct desktop resolution. Incorrect screensaver & lock resolution mybootorg Linux - General 6 05-03-2006 02:39 AM
Ethernet adapter hard coding rchessher Linux - Networking 0 10-12-2001 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration