Friday, May 18, 2018

Ubuntu open ports

Impossible to disable this...
sudo netstat -plunt

udp 3840 0 0.0.0.0:5353 0.0.0.0:* 24467/ --disk-cache

udp6    2304      0 :::5353                 :::*                                24467/ --disk-cache


chrome://flags/#device-discovery-notifications

chrome --disable-device-discovery-notifications

Thursday, May 10, 2018

steam on ubuntu 18.04

#steam on ubuntu 18.04
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' /usr/bin/steam

Ubuntu 18.04 slow boot (apt-daily.service)

This service doesn't need to be in boot
Edit the timer for some time later

sudo systemctl edit apt-daily.timer

with this:
# apt-daily timer configuration override
[Timer]
OnBootSec=1d
OnUnitActiveSec=1d
AccuracySec=1h
RandomizedDelaySec=1d


To see if it works:
systemd-analyze blame


Tuesday, May 01, 2018

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd