User Tools

Site Tools


linux:x11:tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:x11:tools [2019/11/28 13:52] – created mslinux:x11:tools [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== X11 Tools ====== ====== X11 Tools ======
-Eigenschaften eines Fensters finden:\\+==== Eigenschaften eines Fensters finden ====
 ''xwininfo'' ''xwininfo''
 +==== Informationen auf den Monitor ausgeben ====
 +Mit xosd_cat können Informationen (Text, Prozent-Bar, Slider-Bar) auf dem Monitor dargestellt werden.\\
 +Benötigtes Packet:\\
 +''apt-get install xosd-bin''\\
 +Beispiel Text ausgeben:
 +<code>
 +echo -e "Gibt diesen Text in grüner Farbe\nmittig auf dem Monitor aus"|osd_cat --colour=Green -f '-adobe-courier-bold-r-*-*-120-*-*-*-*-*-*-*' -O 10 -p bottom -A center -o 600 -d 7
 +</code>
 +Damit auch root auf das Display eines users schreiben darf, folgenden Eintrag in die .bashrc von root machen:
 +<code>
 +user> xauth extract.Xauthority $DISPLAY
 +</code>
 +<code>
 +/root/.bashrc
 +
 +export XAUTHORITY=/home/user/.Xauthority
 +export DISPLAY=:0.0
 +</code>
 +==== Keyboard Eigenschaften ====
 +Keyboard Settings anzeigen
 +<code>
 +setxkbmap -print -v 10
 +</code>
 +Keyboard Settings ändern
 +<code>
 +setxkbmap de
 +</code>
 +==== Touchpad Eigenschaften ====
 +apt-get install xinput
 +
 +Alle Input-Devices anzeigen
 +<code>
 +xinput list
 +
 +⎡ Virtual core pointer                          id=2    [master pointer  (3)]
 +⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
 +⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
 +⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
 +    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
 +    ↳ Power Button                              id=6    [slave  keyboard (3)]
 +    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
 +    ↳ Power Button                              id=8    [slave  keyboard (3)]
 +    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
 +    ↳ HP Webcam: HP Webcam                      id=10   [slave  keyboard (3)]
 +    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
 +    ↳ HP WMI hotkeys                            id=13   [slave  keyboard (3)]
 +</code>
 +Eigenschaften von 'SynPS/2 Synaptics TouchPad' anzeigen
 +<code>
 +xinput list 12
 +SynPS/2 Synaptics TouchPad                      id=12   [slave  pointer  (2)]
 +        Reporting 7 classes:
 +                Class originated from: 12. Type: XIButtonClass
 +                Buttons supported: 7
 +                Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
 +...
 +</code>
 +<code>
 +xinput list-props 12                                                      
 +Device 'SynPS/2 Synaptics TouchPad':
 +        Device Enabled (147):   1
 +        Coordinate Transformation Matrix (149): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 +        libinput Tapping Enabled (282): 0
 +        libinput Tapping Enabled Default (283): 0
 +        libinput Tapping Drag Enabled (284):    1
 +...
 +</code>
 +Eigenschaften von 'SynPS/2 Synaptics TouchPad' ändern, z.B. tapping
 +<code>
 +xinput set-prop 12 282 1
 +</code>
linux/x11/tools.1574945542.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki