Allow MP4 to Play in Ubuntu 20.04

Refer: https://linuxconfig.org/unable-to-play-the-file-missing-decoder-on-ubuntu-20-04-lts-focal-fossa

Error Message when trying to play MP4:
Video mp4 dvd subpicture decoder is required to play the file but is not installed

sudo apt install -y vlc
sudo apt install ubuntu-restricted-extras
sudo apt install libdvdnav4 libdvd-pkg gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
sudo reboot

Older notes: Don't think these fixed anything; however, you do need to install VLC standard

Refer: https://itsfoss.com/play-dvd-ubuntu-1310/

These commands don't really do the trick:

sudo add-apt-repository multiverse
sudo apt install -y libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg

Important: You need to install VLC from command line and NOT Snap version

sudo apt install -y vlc

Ubuntu update error “waiting for unattended-upgr to exit”

Refer: https://techtips.easycloudsolutions.com/2018/05/15/ubuntu-update-error-waiting-for-unattended-upgr-to-exit/

Stop the automatic updater.

$ sudo dpkg-reconfigure -plow unattended-upgrades

At the first prompt, choose not to download and install updates.

Make a reboot. Make sure any packages in an unclean state are installed correctly.

$ sudo dpkg --configure -a

Get your system up-top-date.

$ sudo apt update && sudo apt -f install && sudo apt full-upgrade

Turn the automatic updater back on, now that the blockage is cleared.

$ sudo dpkg-reconfigure -plow unattended-upgrades

Select the package unattended-upgrades again.

Remove favicon Requests

Refer: https://stackoverflow.com/questions/60237402/python-flask-application-duplicate-http-requests

Chrome sends an extra GET request for a favicon. Add this to the head of your html to stop this request:

<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">

MenuLibre Fails to Launch

Refer: https://askubuntu.com/questions/450382/xubuntu-menulibre-application-menu-editor-not-launching

Fix as follows, because of corrupted menus

mv ~/.config/menus/ ~/.config/menus.bak

Disable unattended upgrades from being launched

Symptom: Unable to launch software updapter because of unattended upgrade

Refer: https://unix.stackexchange.com/questions/470709/how-do-i-stop-disable-unattended-upgrades-from-being-launched-automatically

Launch the following, and then choose "No":

sudo dpkg-reconfigure -plow unattended-upgrades

PDF to Image and Combine Two Images Together

Edit PDF Online
https://www.pdfescape.com/

Refer: https://askubuntu.com/questions/50170/how-to-convert-pdf-to-image/50180
pdftoppm input.pdf outputname -png -rx 300 -ry 300

Refer: https://askubuntu.com/questions/50170/how-to-convert-pdf-to-image

pdftoppm sbn_final_edocs_yoursuite_osq_deck10_ph_ADA.pdf outputname -png -f {page} -singlefile
Change {page} to the page number. It's indexed at 1, so -f 1 would be the first page.

pdftoppm sbn_final_edocs_yoursuite_osq_deck10_ph_ADA.pdf outputname -png -f 1 -singlefile

Convert PDF to Image File
pdftoppm sbn_final_edocs_yoursuite_osq_deck10_ph_ADA.pdf sbn_final_edocs_yoursuite_osq_deck10_ph_ADA -png -f 1 -singlefile

Combine Two Images Together for Onion Skin Review
composite -blend 50 block.png sbn_final_edocs_yoursuite_osq_deck10_ph_ADA.png sbn_final_edocs_yoursuite_osq_deck10_ph_ADA-check.png

High CPU Usage MacBook for md_stores

Refer: https://macmetric.com/fix-mds_stores-consuming-high-cpu-usage/

Spotlight is indexing things and it might be indexing an external drive too.

  • System Preferences
  • Spotlight
  • Privacy
  • Add Folders or drives you don't want indexed