LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2017, 02:40 PM   #1
FrizzledOldButt
Member
 
Registered: Dec 2015
Posts: 129

Rep: Reputation: Disabled
Unhappy Setting screen resolution when OS boot


I have an HTPC driving a 48" JVC LCD screen. Its display is 1080p.

The OS is Ubuntu 16.04.3 LTS

Grub 2 controls the initial boot resolution (grub menu) and works OK.

However, once the OS is loaded the display goes to 1080i, which is not supported. The screen becomes a mess and is not readable.

I managed to configure the desktop once it loads to the correct 1080p setting. However, logging out returns to 1080i, making it almost impossible to log back in. A cold restart is usually the only option.

Similarly ALT + CTRL + SHFT + F2 gives a shell screen that reverts to 1080i.

Does anyone know how to configure the OS to display a non interlaced resolution when it first loads?

Thanks

Last edited by FrizzledOldButt; 09-24-2017 at 02:41 PM.
 
Old 09-24-2017, 03:14 PM   #2
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
Read man xrandr, i never used but im fairly certain its what you need to use.
 
Old 09-24-2017, 03:42 PM   #3
FrizzledOldButt
Member
 
Registered: Dec 2015
Posts: 129

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by justmy2cents View Post
Read man xrandr, i never used but im fairly certain its what you need to use.
Yea, I tried that awhile back. My head eventually ceased spinning and the pain stopped.

Maybe if I can find a non obfuscated plain english guide. Googling now to try again

NB: I think it only sets the resolution for the active desktop, not the OS

Last edited by FrizzledOldButt; 09-24-2017 at 03:44 PM.
 
Old 09-24-2017, 04:22 PM   #4
FrizzledOldButt
Member
 
Registered: Dec 2015
Posts: 129

Original Poster
Rep: Reputation: Disabled
@justmy2cents, thanks for the encouragement.

For the record;
Open a command line shell

#installs arandr - a GUI to help you write a screen config file.
Code:
sudo apt-get install arandr
Use arandra to create a screen configuration file. Save the file to somewhere accessible. I used /home/me/.screenlayout/myscreen.sh - I think you may need to make it executable as well with chmod +x

If using lightdm , from the command line
Code:
sudo nano /etc/lightdm/lightdm.conf
Add the following lines in the [SeatDefaults] section

Code:
display-setup-script= <full path and name of file created with arandr>
session-setup-script= <full path and name of file created with arandr>
This hasn't entirely solved my issue but it does configure the screen resolution just before the log in screen, meaning that for the session and user session the screen resolution is likely to be useful.

Cheers.











Then open a command line shell:

sudo
 
  


Reply

Tags
screen resolution


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can Linux damage my screen when setting up the resolution? My screen is broken malcarada Linux - Newbie 8 02-27-2014 05:50 PM
Problems with setting screen resolution tlcmd Linux - Newbie 4 02-15-2014 08:21 AM
[SOLVED] Grub Screen Resolution Setting? feeblebrain Linux - General 2 06-15-2011 01:49 PM
setting of screen resolution in fedora 11 padubhai Linux - Newbie 18 11-12-2009 08:16 AM
setting boot screen resolution mohtasham1983 Linux - General 6 03-18-2007 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:37 AM.

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