Okay, so here is the new work-around. You put this file in
/usr/lib/systemd/system-sleep/
I called it 20_map-to-display. Call it what you like. It needs to be
executable.
#!/bin/sh
export HOME=/home/frohro/
export DISPLAY=:0
case $1/$2 in
post/*)
/usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput
map-to-output 13 LVDS-1"
/usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput
map-to-output 14 LVDS-1"
/usr/bin/su frohro -c "/usr/bin/sleep 3;/usr/bin/xinput
map-to-output 16 LVDS-1"
;;
esac
I hope this is useful to someone else.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1901430
Title:
After suspend stylus position confused about rotated screen in multi-
monitor setup
Status in mutter package in Ubuntu:
New
Bug description:
I have a tablet computer that has the monitor rotated to upside down
landscape position. There is also an external monitor connected to
this computer. When I suspend and awake this computer, the stylus
position is as if the tablet computer's screen was not rotated. The
mouse cursor is fine, but not the stylus, and the confusion of the
stylus goes into the external monitor.
Thanks for all you do to fix annoying bugs for all of us users!
A work around is to rotate the screen, as the stylus regains its
bearings when you do that.
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: xorg 1:7.7+19ubuntu15
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 25 10:57:29 2020
DistUpgraded: 2020-10-23 20:36:53,845 ERROR got error from PostInstallScript
./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process
“./xorg_fix_proprietary.py” (No such file or directory) (8))
DistroCodename: groovy
DistroVariant: ubuntu
DkmsStatus:
bcmwl, 6.30.223.271+bdcom, 5.4.0-52-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 5.8.0-25-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family
Integrated Graphics Controller [103c:162a]
InstallationDate: Installed on 2020-05-17 (161 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Hewlett-Packard HP EliteBook 2760p
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-25-generic
root=UUID=694dacef-c80d-436a-8434-767b308d9087 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to groovy on 2020-10-24 (1 days ago)
dmi.bios.date: 07/15/2013
dmi.bios.release: 15.66
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68SOU Ver. F.42
dmi.board.name: 162A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 05.40
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.ec.firmware.release: 5.64
dmi.modalias:
dmi:bvnHewlett-Packard:bvr68SOUVer.F.42:bd07/15/2013:br15.66:efr5.64:svnHewlett-Packard:pnHPEliteBook2760p:pvrA0005F02:rvnHewlett-Packard:rn162A:rvrKBCVersion05.40:cvnHewlett-Packard:ct10:cvr:
dmi.product.family: 103C_5336AN
dmi.product.name: HP EliteBook 2760p
dmi.product.sku: XX047AV#ABA
dmi.product.version: A0005F02
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 20.2.1-1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.9-2ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel
2:2.99.917+git20200714-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1901430/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp