rliou92/umonitor

Umonitor doesn't apply rotation

Closed this issue · 10 comments

I don't know if this is a feature which is not implemented but every time I load my profile I have to use xrandr to roate my screen in order to get in in portrait mode.

Yea, this feature has not been implemented, mainly because I don't use rotation. I can work on it in a month or so.

It would be great if it is something you could implement! I use this everyday and multiple times :D
This is a great peace of software you have written!

Thanks for the kind words :) I am certainly much more motivated to work on this now!

Hi @Notaduck

I've updated the code. In order to start saving resolution, first please delete the profile, then use the newly updated program to save the profile. Afterwards, rotation should work :)

Let me know if anything goes wrong.

I will try it tomorrow when I come home and report back ;) thank you so much for doing this!

Edit : I tried it today and it works as expected! a big thank you to you, you just made me live a lot easier and less frustrating :D

I'm going to repoen this "issue" for some odd reason it doesn't rotate anymore?
I deleted the old profile, made everything look like I wanted it to be wit arandr and saved it with Umonitor.
But it doesn't seem to work.(The roation part)

Hmmm seems to be working fine for me when I test it.

Can you post:

  1. umon.conf
  2. umonitor --load <your_profile> --verbose

Make sure to killall umonitor before you run it.

Sry for the late reply! I have been quite busy this week.

cat umon.conf
home : 
{
  Screen : 
  {
    width = 4000;
    height = 2560;
    widthMM = 1054;
    heightMM = 675;
  };
  Monitors : 
  {
    eDP1 : 
    {
      EDID = "SHP unknown";
      resolution : 
      {
        x = 0;
        y = 0;
      };
      pos : 
      {
        x = 0;
        y = 0;
      };
    };
    DP2-1 : 
    {
      EDID = "DEL DELL U2715H";
      resolution : 
      {
        x = 2560;
        y = 1440;
      };
      pos : 
      {
        x = 0;
        y = 512;
      };
    };
    HDMI1 : 
    {
      EDID = "DEL DELL U2515H";
      resolution : 
      {
        x = 2560;
        y = 1440;
      };
      pos : 
      {
        x = 2560;
        y = 0;
      };
    };
  };
};
 umonitor --l home --verbose
Segmentation fault (core dumped)

From the configuration file, there is no rotation information. Did you make sure you ran umonitor --save home using the most up-to-date version of umonitor?

Can you post umonitor --delete home and then umonitor --save home --verbose for me? Thanks!

Sry! I actually forgot to reply, but it still work flawless! I'mm still using it everyday