Skip Navigation

Ubuntu Linux

Annie UK


Dark



Below is a list of random Ubuntu information for my reference. This info also includes some fixes for Raspberry Pi (RPI) specific related issues

RANDOM UBUNTU INFORMATION

001 New Install
Apps to install on a new Linux:
  • sudo apt install fonts-noto-color-emoji fonts-quicksand php neofetch conky rclone gnome-tweaks ubuntu-restricted-extras tree aptitude
  • sudo snap install gimp inkscape keepassxc certbot firefox p7zip-desktop rpi-imager boxy-svg gparted code vlc
002 Terminal
Use the following key-presses to open a Terminal window:
  • Crtl + Alt + T
003 Software update
Use the following commands in a terminal window to update Linux to the latest software:
  • sudo apt update
  • sudo apt upgrade
  • sudo snap refresh
004 Apache server
To start Apache, the command would be:
  • sudo systemctl start apache2
To stop Apache, the command would be:
  • sudo systemctl stop apache2
To restart the Apache server, issue the command:
  • sudo service apache2 restart
005 Remove old journal files
Use the following command in a terminal window to clear out all journal files older than 1 day, this recovers quite a bit of HDD space:
  • sudo journalctl --vacuum-time=1d
006 Location of script files
Scripts can be placed in the following directory so you don't have to include the full path:
  • /usr/local/bin
007 Network Manager
To stop use the following:
  • sudo systemctl stop NetworkManager.service

To start use the following:
  • sudo systemctl start NetworkManager.service

To restart use the following:
  • sudo systemctl restart NetworkManager.service
008 Stop audio setting defaulting to headphones (RPI)
Use the following:
  • sudo nano /etc/pulse/default.pa

Find "load-module module-switch-on-connect.so" and comment it out by adding a # to the front of the line
009 Scrambled Ubuntu online accounts screen (RPI)
Use the following in terminal to open the settings with the screens unscrambled:
  • WEBKIT_DISABLE_COMPOSITING_MODE=1 gnome-control-center
T
O
P