Benutzer:Bogomips

Aus wiki.archlinux.de

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