Linux Virtual Display for iPad Pro: Difference between revisions
Jump to navigation
Jump to search
Line 78: | Line 78: | ||
MatchDriver "radeon" | MatchDriver "radeon" | ||
Driver "radeon" | Driver "radeon" | ||
EndSection | |||
EOF | |||
fi | |||
</source> | |||
===40-libinput.conf=== | |||
---- | |||
<source lang='bash'> | |||
if [[ ! -e /usr/share/X11/xorg.conf.d/40-libinput.conf ]];then | |||
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/40-libinput.conf >>/dev/null | |||
# Match on all types of devices but joysticks | |||
# | |||
# If you want to configure your devices, do not copy this file. | |||
# Instead, use a config snippet that contains something like this: | |||
# | |||
# Section "InputClass" | |||
# Identifier "something or other" | |||
# MatchDriver "libinput" | |||
# | |||
# MatchIsTouchpad "on" | |||
# ... other Match directives ... | |||
# Option "someoption" "value" | |||
# EndSection | |||
# | |||
# This applies the option any libinput device also matched by the other | |||
# directives. See the xorg.conf(5) man page for more info on | |||
# matching devices. | |||
Section "InputClass" | |||
Identifier "libinput pointer catchall" | |||
MatchIsPointer "on" | |||
MatchDevicePath "/dev/input/event*" | |||
Driver "libinput" | |||
EndSection | |||
Section "InputClass" | |||
Identifier "libinput keyboard catchall" | |||
MatchIsKeyboard "on" | |||
MatchDevicePath "/dev/input/event*" | |||
Driver "libinput" | |||
EndSection | |||
Section "InputClass" | |||
Identifier "libinput touchpad catchall" | |||
MatchIsTouchpad "on" | |||
MatchDevicePath "/dev/input/event*" | |||
Driver "libinput" | |||
EndSection | |||
Section "InputClass" | |||
Identifier "libinput touchscreen catchall" | |||
MatchIsTouchscreen "on" | |||
MatchDevicePath "/dev/input/event*" | |||
Driver "libinput" | |||
EndSection | |||
Section "InputClass" | |||
Identifier "libinput tablet catchall" | |||
MatchIsTablet "on" | |||
MatchDevicePath "/dev/input/event*" | |||
Driver "libinput" | |||
EndSection | EndSection | ||
EOF | EOF |
Revision as of 11:15, 28 January 2023
Gnome Remote
sudo ufw allow 5900/tcp sudo ufw status verbose systemctl --user restart gnome-remote-desktop.service systemctl --user status gnome-remote-desktop.service gsettings set org.gnome.desktop.remote-desktop.rdp screen-share-mode extend
Linux Display Driver
10-amdgpu.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/10-amdgpu.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-amdgpu.conf >>/dev/null
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
EOF
fi
10-quirks.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/10-quirks.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-quirks.conf >>/dev/null
# Collection of quirks and blacklist/whitelists for specific devices.
# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
Identifier "ThinkPad HDAPS accelerometer blacklist"
MatchProduct "ThinkPad HDAPS accelerometer data"
Option "Ignore" "on"
EndSection
# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
Identifier "Xen Virtual Pointer axis blacklist"
MatchProduct "Xen Virtual Pointer"
Option "IgnoreAbsoluteAxes" "off"
Option "IgnoreRelativeAxes" "off"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
Identifier "Tag trackballs as XI_TRACKBALL"
MatchProduct "trackball"
MatchDriver "evdev"
Option "TypeName" "TRACKBALL"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
MatchProduct "La-VIEW Technology Naos 5000 Mouse"
MatchDriver "evdev"
Option "TypeName" "MOUSE"
EndSection
EOF
fi
10-radeon.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/10-radeon.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-radeon.conf >>/dev/null
Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
EndSection
EOF
fi
40-libinput.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/40-libinput.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/40-libinput.conf >>/dev/null
# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
# Identifier "something or other"
# MatchDriver "libinput"
#
# MatchIsTouchpad "on"
# ... other Match directives ...
# Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
EOF
fi
Knowledge
lsblk lscpu lsusb free -h sudo lshw ufw status ufw status verbose systemctl status ufw apt list --installed |
sudo ufw allow http sudo ufw allow OpenSSH sudo ufw allow 5900/tcp sudo ss -tulpn | grep LISTEN sudo ss -tulwn | grep LISTEN sudo ss -tulpn | grep LISTEN | grep sshd sudo ss -tulpn | grep LISTEN | grep redis sudo ss -tulpn | grep LISTEN | grep gnome sudo ss -tulpn | grep LISTEN | grep apache |
| |
sudo dmidecode -t sudo dmidecode -t 1 sudo dmidecode -t 3 |
sudo dmidecode | grep 'SKU Number' sudo dmidecode -s system-product-name sudo dmidecode -s system-serial-number |
| |
display server is wayland|xorg(x11) echo ${XDG_SESSION_TYPE} |
References
| ||