Benutzer:Bogomips: Unterschied zwischen den Versionen
Die Seite wurde geleert. |
Kram den ich selten nutze und daher ständig vergesse. Das Alter... |
||
Zeile 1: | Zeile 1: | ||
== Mein virtuelles Gehirn... == | |||
/etc/systemd/system/peelock.service | |||
<nowiki>[Unit] | |||
Description=Lock X session using slock | |||
[Service] | |||
User=john | |||
Environment=DISPLAY=:0 | |||
ExecStart=/usr/bin/slock | |||
[Install] | |||
WantedBy=sleep.target </nowiki> | |||
/usr/share/X11/xorg.conf.d/20-intel.conf | |||
<nowiki> | |||
# to make the display work again after sleep. | |||
# first find out the bus ID for vga | |||
# lspci | grep VGA | |||
Section "Device" | |||
Identifier "Intel Graphics" | |||
Driver "intel" | |||
Option "Backlight" "intel_backlight" | |||
BusID "PCI:0:2:0" | |||
EndSection</nowiki> |
Version vom 18. Juni 2017, 08:29 Uhr
Mein virtuelles Gehirn...
/etc/systemd/system/peelock.service
[Unit] Description=Lock X session using slock [Service] User=john Environment=DISPLAY=:0 ExecStart=/usr/bin/slock [Install] WantedBy=sleep.target
/usr/share/X11/xorg.conf.d/20-intel.conf
# to make the display work again after sleep. # first find out the bus ID for vga # lspci | grep VGA Section "Device" Identifier "Intel Graphics" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSection