<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>356818</bug_id>
          
          <creation_ts>2015-12-17 07:44:49 +0000</creation_ts>
          <short_desc>Provide support for configuring custom modeline for each monitor</short_desc>
          <delta_ts>2026-03-16 18:58:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_kscreen</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=456697</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Khvoinitsky">mikhail-bugs-kde-org</reporter>
          <assigned_to name="Daniel Vrátil">dvratil</assigned_to>
          <cc>mikhail-bugs-kde-org</cc>
    
    <cc>nate</cc>
    
    <cc>nathan</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>postix</cc>
    
    <cc>uwu</cc>
    
    <cc>yumpusamongus+kde</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1564254</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Khvoinitsky">mikhail-bugs-kde-org</who>
    <bug_when>2015-12-17 07:44:49 +0000</bug_when>
    <thetext>My problem:
I use a laptop with two monitors:
* 2560x1440@60Hz at home
* 1920x1200@60Hz at work
(so, only one monitor at the time)
Unfortunately, laptop&apos;s video adapter do not support 2560x1440@60Hz monitors so the maximum resolution I can set up for the home monitor is 2048x1152@60Hz. However, I can generate a custom modeline with reduced refresh rate but with full resolution. To make it permanent I can write Xorg&apos;s config file like this:

Section &quot;Monitor&quot;
    Identifier             &quot;HDMI1&quot;
    ModeLine               &quot;2560x1440_50.00_rb&quot; 200.25 2560 2608 2640 2720 1440 1443 1448 1474 +HSync -Vsync
    Option &quot;PreferredMode&quot; &quot;2560x1440_50.00_rb&quot;
EndSection

The problem is that Xorg have no way to apply this options only for certain monitor (neither by serial nor by something else) (that means that I will have good configuration at home but completely broken at work). The only way available to filter monitors is by port (option &apos;Identifier             &quot;HDMI1&quot;&apos;) but it do not suits my needs.
Even worse, after applying such kind of a config, kscreen sometimes stops distinguish monitors.

So, it will be very useful to have some way to do fix that. One of the options could be launching a user script after connecting a monitor before kscreen apply his configuration.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139222</commentid>
    <comment_count>1</comment_count>
    <who name="postix">postix</who>
    <bug_when>2022-07-14 18:47:56 +0000</bug_when>
    <thetext>*** Bug 456697 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>