I use xrandr on my machine so when I want to view it in portrait mode I
can. Here's a quick get-up-and-going:

[rloader@yoga bin]$ xrandr -q | grep 'connected primary'
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y
axis) 309mm x 174mm
[rloader@yoga bin]$ xrandr --output eDP-1 --rotate inverted
[rloader@yoga bin]$ xrandr --output eDP-1 --rotate normal

The idea here is that you just have to do xrandr --output <display>
--rotate <mode>  where display is detected by that xrandr -q bit above,
then the next command you'd issue is that one with the --rotate normal
flag. I've set this script in my $PATH and just run it from a terminal but
I suppose a button that runs it could be put on the task bar or similar as
well.

*Sent from Microsoft Outlook 1963*


On Thu, Nov 8, 2018 at 1:09 PM James Simister <[email protected]> wrote:

> I'm not as familiar with Ubuntu, but it sounds like the hardware has some
> sort of orientation sensing function and X probably samples that when it
> starts up. I wonder what would happen if you press Ctrl-Alt-Bksp. Usually
> that kills the X server, which typically will automatically restart right
> away, and should sense the correct orientation. I'm sure there's a setting
> for it, too, but it would take some digging for me to find.  Any others out
> there that have an idea?
>
> James
>
> On Tue, Oct 9, 2018 at 11:39 AM Alan Kirkwood <[email protected]>
> wrote:
>
> > I've loaded Ubuntu on my HP Elitebook, and for the most part, it works
> > well.
> > Unfortunately, if it's leaning against something with the screen closed
> > but upside down when it boots, the display is inverted.
> >
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to