screen setup in plasma/kde
Hello, I try to make some very special setup works in 15.3 (it works in 15.1 in kde and in 15.3 with xfce), with kde. to check what is done, I would like to where this setup is stored by the kde control center / display module, given it's only in kde that it don't works any hint? in .local or .config I didn't find it, but I'm not sure of what to look for :-( the xrandr corresponding line is xrandr --fb 1920x1080_60.00 --dpi 96 --output eDP1 --pos 0x0 --scale-from 1920x1080 --same-as VIRTUAL1 thanks jdd -- http://dodin.org
jdd composed on 2021-08-07 11:29 (UTC+0200):
I try to make some very special setup works in 15.3 (it works in 15.1 in kde and in 15.3 with xfce), with kde.
to check what is done, I would like to where this setup is stored by the kde control center / display module, given it's only in kde that it don't works
any hint? in .local or .config I didn't find it, but I'm not sure of what to look for :-(
First, go into "System Settings" -> "Startup and Shutdown" -> "Background Services" and deselect "KScreen2" Next, log out of Plasma, login to some other session, navigate to ~/.local/share/, and delete any directory you find with the string kscreen in the name. Next, remove also ~/.cache/*. Once these are done, you can reopen a Plasma session and expect it will not mess with your display configuration.
the xrandr corresponding line is
xrandr --fb 1920x1080_60.00 --dpi 96 --output eDP1 --pos 0x0 --scale-from 1920x1080 --same-as VIRTUAL1
I wish I could understand what this is supposed to accomplish. Is your screen's native resolution 1280x720 or 1366x768? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Le 07/08/2021 à 22:29, Felix Miata a écrit :
First, go into
"System Settings" -> "Startup and Shutdown" -> "Background Services" and deselect
"KScreen2"
yes, this seems necessary, but have to be done later, because it disable most of the kde display, specially pannel :-( ,
and delete any directory you find with the string
kscreen
I rename it to fond it again. I made many tests with not very good results. In there are files, and I'm not sure which is picked first, many are very old. If I could choose one it would be good. But even making one read only is not enough
in the name. Next, remove also ~/.cache/*. Once these are done, you can reopen a Plasma session and expect it will not mess with your display configuration.
not really
the xrandr corresponding line is
xrandr --fb 1920x1080_60.00 --dpi 96 --output eDP1 --pos 0x0 --scale-from 1920x1080 --same-as VIRTUAL1
I wish I could understand what this is supposed to accomplish. Is your screen's native resolution 1280x720 or 1366x768?
native is 1366x768. The goal is just to *scale* the actual display to full hd, to have less intrusive decorations. nowaday many apps are made for full hd (1920x1080) screens followup in the next post thanks jdd -- http://dodin.org
partial solution for the initial problem. Remember my goal is to scale a full hd screen to make it display in a hd one (make 1366x768 look as if it was 1920x1080). This works with intel drivers (not any amd, no idea for nvidia). Two monitors setup, the external is full hd. This works in kde/plasma leap 15.1 and xfce leap 15.3, I try to make it work in kde/plasma 15.3 Thanks to felix, I discovered than the guilty was kscreen2. De-activating it was a step. Then start my script (see below the last version). But this didn't work completely, I got two monitors with identical content and the laptop one was blurry. BUT! arandr fixed the thing. With arandr I could set the display and use it. the good thing is that arandr can save the commands in a bash script, I expect to be able to launch this automatically, but it's not yet the case :-( my last script dunno why it don't works!: xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode VIRTUAL1 1920x1080_60.00 xrandr --fb 1920x1080 --dpi 96 --output eDP1 --primary --mode 1366x768 --pos 0x0 --rotate normal --scale-from 1920x1080 --same-as VIRTUAL1 --output DP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL2 --off arandr script: #!/bin/sh xrandr --output eDP1 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off --output VIRTUAL2 --off thanks jdd -- http://dodin.org
jdd composed on 2021-08-10 18:23 (UTC+0200):
xrandr --output eDP1 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off --output VIRTUAL2 --off
Does xrandr list a DP1 output? Is there a physical DisplayPort connector? What does xrandr --listproviders show when you startup without any xrandr script? I'm trying to create a matchup between your laptop there and a desktop here to test what your scripts do, and see what should work. The DP1 in that script doesn't make sense for a laptop connected only to the internal display on eDP1 and an HDMI1 connected to an external display. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Le 12/08/2021 à 00:29, Felix Miata a écrit :
jdd composed on 2021-08-10 18:23 (UTC+0200):
xrandr --output eDP1 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off --output VIRTUAL2 --off
Does xrandr list a DP1 output? Is there a physical DisplayPort connector? What does xrandr --listproviders show when you startup without any xrandr script?
I'm trying to create a matchup between your laptop there and a desktop here to test what your scripts do, and see what should work. The DP1 in that script doesn't make sense for a laptop connected only to the internal display on eDP1 and an HDMI1 connected to an external display.
yes, there there are two monitors connected, eDP1 is laptop and DP1 is external DP (in fact DP to VGA adapter) thanks jdd -- http://dodin.org
participants (2)
-
Felix Miata
-
jdd@dodin.org