LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-25-2017, 01:59 PM   #1
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 214

Rep: Reputation: 37
Question Add and save custom resolution on KDE


I'm stuck working on a 15" MBP with an idiotic 4K display running at 2880x1800 which is completely unusable. Thankfully it scales well to 1920x1200. Problem is it is not an option when selecting the resolution through System Settings in KDE.

I can force the resolution by running the following script:
Code:
xrandr --newmode 1920x1200_60.00 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
xrandr --addmode eDP-1 1920x1200_60.00
xrandr --output eDP-1 --mode 1920x1200_60.00
It changes the resolution until the next restart. I added this script to KDE startup, but it doesn't run reliably and when it does work it causes screen to blink/blank during login which is ugly.

Is there any way to force the laptop screen to permanently stay @ 1920x1200 whenever X starts?

Thanks.
 
Old 08-25-2017, 04:29 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,388

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
not all fonts scale well
seeing as this is a laptop ( no 3d card )
is this a dual intel/nvidia bumblebee ?
or what

what is the default native resolution

also WHAT is this unknown OS that is running kde ?
systemV VS. SystemD might come into play

is it suse tumbleweed ?
then use "kickoff / Applications / settings / configure desktop "
and set it there
 
Old 08-25-2017, 04:30 PM   #3
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,167
Blog Entries: 3

Rep: Reputation: 185Reputation: 185
Knowing what tpye of graphic are is installed would help to guide you in the right direction.
 
Old 08-28-2017, 11:26 AM   #4
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 214

Original Poster
Rep: Reputation: 37
Only Intel video card. OpenSUSE Tumbleweed like it says in my profile.
Default native resolution is in the original message: 2880x1800.
Also, like I said in the original message, the resolution I want doesn't show up in the configure desktop applet.
 
Old 08-29-2017, 11:58 AM   #5
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,167
Blog Entries: 3

Rep: Reputation: 185Reputation: 185
If this is Plasma then you could look in '/home/<user>/.kde/share/config/startupconfig' for krandrrc_display_startupcommands=. There you should be able to add your resolution you want. I haven't tried this so I'm not 100% sure this will work.
 
Old 09-16-2017, 01:39 PM   #6
calvinmeadows
LQ Newbie
 
Registered: Jul 2016
Location: Manassas Virginia USA
Distribution: Manjaro KDE
Posts: 13

Rep: Reputation: Disabled
you can check out system settings-->display and monitor-->scale display...YMMV
 
Old 09-18-2017, 02:17 PM   #7
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 214

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by calvinmeadows View Post
you can check out system settings-->display and monitor-->scale display...YMMV
That only scales certain GUI elements and doesn't help with other stuff like applications still displaying text which is way too small to read. Thanks for suggestion though.
 
Old 09-21-2017, 08:31 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,060
Blog Entries: 24

Rep: Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795Reputation: 3795
You could try creating an xorg.conf file, then modifying it accordingly.

X has become so stable that an xorg.conf file is no longer present by default.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failing to save iptables log to a custom file yzT! Linux - Security 2 02-16-2014 04:09 AM
What should I add into my xorg.conf file to add a resolution? gannggstaz Linux - Desktop 2 09-30-2009 06:06 PM
How to add custom encoding to KDE konsole? kofucii Linux - Newbie 1 09-18-2009 02:01 PM
Suse 9.3 Korganizer Custom Schedule, or Save Entire Day as Template -swimmer- Linux - Newbie 0 08-31-2005 09:26 PM
Custom Resolution In X? tux-junkie Linux - Newbie 5 02-07-2005 06:48 PM

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

All times are GMT -5. The time now is 02:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration