Recommended Posts

Hello,

 

I've had issues with monitor resolutions on Elementary OS, stable and the Freya beta.

 

I have eOS installed on my laptop which has an external monitor plugged in via VGA. Running the external monitor at 1080p makes the laptop run too hot (it is an old core2duo laptop) so I prefer to keep the monitor at 720p.

 

Unfortunately, the monitor configuration tool doesn't list 1280x720 in the list (the only 16:9 resolution is 1080p). No problems though, as I can just xrandr --newmode (cvt 1280x720). The monitor starts to run at 720p and everything is fine and dandy.

 

...until I restart, at which point I get a pop-up telling me that it can't restore the previous display profile, lists every single possible resolution (it's a long pop-up) and defaults to mirroring the monitors at 1024x768.

 

I've tried adding a bash script which sets the external monitor to the right display (including repeating the enter xrandr procedure) with no luck.

 

Can anyone suggest what I can do?

  On 24/12/2014 at 01:22, Tumultus said:

Use xrandr --addmode to add your own custom resolution.

 

To be clear, you have to use xrandr --newmode with the resolution details generated via cvt, then you have to xrandr --addmode the resolution to the specific monitor, then you have to xrandr --output to set the monitor to the specific resolution.

 

Doing this works fine, however, it doesn't persist after a restart, and instead I get various errors which force me to repeat the process from the beginning. 

Can't you define a custom X11/Xorg screen/display section?

$ vim /etc/X11/xorg.conf.d/10-monitor.conf
Section "Screen"
    Identifier             "Screen0"
    Device                 "Device0"
    Monitor                "Monitor0"
    DefaultDepth           24
    SubSection             "Display"
        Depth              24
        Modes              "1280x720"
    EndSubSection
EndSection
  On 24/12/2014 at 01:55, duoi said:

To be clear, you have to use xrandr --newmode with the resolution details generated via cvt, then you have to xrandr --addmode the resolution to the specific monitor, then you have to xrandr --output to set the monitor to the specific resolution.

 

Doing this works fine, however, it doesn't persist after a restart, and instead I get various errors which force me to repeat the process from the beginning. 

Sure you first have to add the new mode. It was explained under the link. :)

In order to keep this persistant, create a xorg.conf file and copy it into your X11 folder. Mine looks like this (You'll have to make changes to match your monitor setup / configuration):

Section "Monitor"
    Identifier      "HDMI2"
    Modeline        "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
    Option          "PreferredMode" "1368x768_60.00"
EndSection
Section "Device"
    Identifier      "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    Driver          "intel"
    Option          "HDMI2"
EndSection
Section "Screen"
    Identifier      "Primary Screen"
    Device          "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    DefaultDepth    24
    SubSection "Display"
        Depth           24
        Modes   "1368x768"
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Primary Screen"
EndSection

Additionally, I made myself a xrandr.sh file, so, that I don't have to always redo everything after a fresh install or update but simply double-click the sh file:

xrandr --newmode "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
xrandr --addmode HDMI2 1368x768_60.00
xrandr --output HDMI2 --mode 1368x768_60.00

Sorry that I was very short in my initial reply. It's always difficult to determine the knowledge level of a user if you don't have communicated / worked with him before. ;)

This topic is now closed to further replies.
  • Posts

    • >This is a machine learning algorithm which will infer a user's age based on various signals and traits such as the type of content they watch, the categories of their search queries, and the age of their account, among other things. Yeah, that's obviously not going to work.
    • "However, in the case of a false positive, the affected person will be required to share their government-issued ID or credit card information." Yeah...ok. IMO, the parents need to parent...its not Youtube's job to play parent. I will not be handing over any personal info just because Youtube "thinks" I'm a kid.
    • A 20MB harddrive is what we had on our first computer which was uncommon at the time. It also had the all-important "turbo" button. Ha! I swear can tell you more details about that machine than can about the PC on my desk right now.
    • Yes. We switched almost immediately when Teams came out. I like Teams but it has become so bloated.
    • YouTube is bring its age detection tech to the U.S. to identify minors by Usama Jawad YouTube hosts a wide range of video content on its platform, some of which may not be suitable to minors. For some of that audience, Google recommends the YouTube Kids app which offers child-friendly content with parental controls. However, some minors still circumvent measures put in place by the platform or their parents, so now, YouTube wants to put a stop to that. YouTube has revealed plans to bring its age detection technology to the United States. This is a machine learning algorithm which will infer a user's age based on various signals and traits such as the type of content they watch, the categories of their search queries, and the age of their account, among other things. If an account is identified as belonging to a teen, YouTube will immediately stop personalized advertising for that account, turn on digital well-being tools, and stop the person from viewing repetitive content. If this is a true positive detection, the user will just have to bear with the aforementioned consequences. However, in the case of a false positive, the affected person will be required to share their government-issued ID or credit card information. Google will start rolling out this technology to a limited subset of customers in the U.S. in the coming weeks and then monitor its results. This is not its first rodeo in this field as it has already deployed and tested the model in other countries. Still, the company will closely monitor the outcome of the age detection tech and its accuracy. YouTube has emphasized that it is committing to serving child-friendly content to minors and protect them from age-inappropriate material. It's unclear how accurate its age detection technology is, but we'll likely find out in the next few weeks. If this trial is successful, Google will probably roll it out to a larger audience in the U.S. and might expand to other countries too.
  • Recent Achievements

    • Week One Done
      andeyhawk65 earned a badge
      Week One Done
    • First Post
      Jake2530 earned a badge
      First Post
    • Explorer
      Deranox went up a rank
      Explorer
    • Week One Done
      John Volks earned a badge
      Week One Done
    • One Month Later
      enric earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      675
    2. 2
      ATLien_0
      258
    3. 3
      Xenon
      177
    4. 4
      neufuse
      136
    5. 5
      +FloatingFatMan
      99
  • Tell a friend

    Love Neowin? Tell a friend!