since the hardware that i run my Ubuntu mate on isn't that common, being a 2-in-1 lenovo laptop , i was unable to find anyone with a similar problem to mine. that is the rotation of the screen is sideways as if the system recognizes my laptop as a tablet.
this problem stops after logging in, because i changed the settings of the screen to the appropriate alignment
a picture to clarify