You are not logged in.

#1 2019-01-15 20:59:26

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

[Imperfectly solved] Trouble rotating the screen on the HP Envy

The sensors don't work on the HP Envy x360. Known issue. But I used to be able to rotate it manually and assign it to a keyboard shortcut (in Ubuntu). I can't seem to figure out how to do that in Arch. The output of xrandr -q give me:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected (normal left inverted right x axis y axis)
   1920x1080     59.96 +

I've tried various iterations of

xrandr -o right

to no avail. I just get an error saying "Failed to change the screen configuration!"

Anybody have any tips for me? I saw the wiki mention an entry in xorg.conf. I installed yesterday so assumed it's there but actually can't find the xorg.conf on my system anywhere.

Last edited by viniosity (2019-01-15 22:05:24)

Offline

#2 2019-01-15 21:01:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Imperfectly solved] Trouble rotating the screen on the HP Envy

You have to create any conf files in /etc/X11/xorg.conf.d/ yourself.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-01-15 21:16:58

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: [Imperfectly solved] Trouble rotating the screen on the HP Envy

Going to add a couple of data points here:

1. this command doesn't error but doesn't do anything:

xrandr --output XWAYLAND0 --rotate right 

2. In Gnome Settings, changing the display orientation DOES work. Wish I knew what Gnome was doing to trigger it so I could create a script or keybind it.

Offline

#4 2019-01-15 22:05:03

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: [Imperfectly solved] Trouble rotating the screen on the HP Envy

Here's an update and fix:

$ gsettings set org.gnome.mutter.keybindings rotate-monitor "['XF86RotateWindows', '<Control>F8']"

Doing that allows me to hit control-F8 to rotate the screen one direction. Not perfect, but it works.

Offline

#5 2019-01-16 08:27:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,742

Re: [Imperfectly solved] Trouble rotating the screen on the HP Envy

Why not that's probably the way to do it, you can't use xorg tools to manipulate your wayland server

Offline

Board footer

Powered by FluxBB