Benutzer:Bogomips: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
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> | |||
SSH von Host zu virtualbox-guest | |||
settings>network>attached to NAT>advanced>Portforwarding | |||
HostIP 127.0.0.1 | |||
HostPort 3456 (z.B.) | |||
GuestIP 10.0.2.15 (ip a) | |||
GuestPort 22 (/etc/ssh/sshd.conf) | |||
ssh -p 3456 $USER@localhost | |||
ODER | |||
settings>network>attached to Bridged Adapter | |||
ip a | |||
ssh $USER@GuestIP | |||
Der superbillige China Mp3 Player kann nur random abspielen.... | |||
Aus vielen mp3 Dateien eine einzige machen mit ffmpeg | |||
ffmpeg -f concat -safe 0 -i <(for f in ./*.mp3; do echo "file '$PWD/$f'"; done) -c copy output.mp3 |
Aktuelle Version vom 21. Februar 2018, 15:49 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
SSH von Host zu virtualbox-guest
settings>network>attached to NAT>advanced>Portforwarding
HostIP 127.0.0.1 HostPort 3456 (z.B.) GuestIP 10.0.2.15 (ip a) GuestPort 22 (/etc/ssh/sshd.conf) ssh -p 3456 $USER@localhost
ODER
settings>network>attached to Bridged Adapter ip a ssh $USER@GuestIP
Der superbillige China Mp3 Player kann nur random abspielen....
Aus vielen mp3 Dateien eine einzige machen mit ffmpeg ffmpeg -f concat -safe 0 -i <(for f in ./*.mp3; do echo "file '$PWD/$f'"; done) -c copy output.mp3