Lubuntu notes and tricks

Latest modification 2020-08-08.

https://help.ubuntu.com/community/ClamAV

sudo apt-get install clamav clamav-daemon
/var/log/clamav/freshclam.log

Sat Jun 20 12:42:42 2020 -> Reading CVD header (daily.cvd): Sat Jun 20 12:42:44 2020 -> OK
Sat Jun 20 12:42:44 2020 -> daily database available for download (remote version: 25848)
Sat Jun 20 12:43:14 2020 -> WARNING: Download failed (28) Sat Jun 20 12:43:14 2020 -> WARNING:  Message: Timeout was reached
Sat Jun 20 12:43:14 2020 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Sat Jun 20 12:43:14 2020 -> Trying again in 5 secs...

With browser https://database.clamav.net/daily.cvd opens fine.

https://www.clamav.net/documents/troubleshooting-faq all checks from there passed.

Killed the freshclam daemon and ran it manually.

sudo freshclam

The download of runs ok but when it is almost compelete freshclam reports a timeout and tries again.

https://askubuntu.com/questions/1079669/freshclam-unable-to-complete-download-of-main-cvd

/etc/clamav/freshclam.conf

Was

ConnectTimeout 30
ReceiveTimeout 30

Now

ConnectTimeout 15
RecieveTimeout 300

https://askubuntu.com/questions/589318/freshclam-error-clamd-conf-file-not-found

So the daemon must be installed too. Installed it and edited the istallation command earlier on this page.

sudo time nice clamscan --exclude-dir='^/sys|^/dev' -r /
----------- SCAN SUMMARY -----------
Known viruses: 7292321
Engine version: 0.102.3
Scanned directories: 63372
Scanned files: 776778
Infected files: 0
Total errors: 21921
Data scanned: 39814.96 MB
Data read: 34333.02 MB (ratio 1.16:1)
Time: 22210.098 sec (370 m 10 s)
Command exited with non-zero status 2
14614.73user 787.20system 6:10:10elapsed
----------- SCAN SUMMARY -----------
Known viruses: 7292321
Engine version: 0.102.3
Scanned directories: 19425
Scanned files: 203850
Infected files: 0
Data scanned: 32814.24 MB
Data read: 33231.38 MB (ratio 0.99:1)
Time: 3103.797 sec (51 m 43 s)
LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0
/sys/module/cfg80211/refcnt: Can't read file ERROR
LibClamAV Warning: fmap_readpage: pread fail: asked for 4089 bytes @ offset 7, got 0
/sys/module/cfg80211/coresize: Can't read file ERROR
LibClamAV Warning: fmap_readpage: pread fail: asked for 4091 bytes @ offset 5, got 0
/sys/module/cfg80211/initstate: Can't read file ERROR

Lubuntu 18.04 LTS

The easiest way to watch Netflix is to install Chromium. Login to Netflix with Chromium and start watching.

Firefox should also work but it needs plugins + settings changes

  • Lubuntu 20.04 LTS
  • There already was a binging print → screengrab
  • Open Shortcut Keys which is lxqt-globalkeys
  • Add a shortcut, perhaps Alt + Print, that runs command
lximage-qt -s
sudo apt install smartmontools
sudo smartctl --all /dev/sdx