Custom Ubuntu application shortcuts

that show up in applications menu / quick launcher

Create file ~/.local/.share/applications/YOUR_APPLICATION.desktop with the following content:

[Desktop Entry]                                                                 
Encoding=UTF-8
Name=APPLICATON_NAME
Exec=/PATH/TO/APPLICATION_EXECUTABLE
Icon=/PATH/TO/ICON.png
Type=Application
Categories=APPLICATON_CATEGORY;

Example categories:

  • AudioVideo
  • Audio
  • Video
  • Development
  • Education
  • Game
  • Graphics
  • Network
  • Office
  • Settings
  • Utility

Custom Ubuntu login screen background

By default Ubuntu uses greeter gdm3 (e.g. 17.10, 18.04, 18.10).

Edit file /etc/alternatives/gdm3.css as root and adjust #lockDialGroup style:

#lockDialogGroup {
  background: #000 url(file:///usr/share/backgrounds/YOUR_FILE.jpg);        
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

Install letsencrypt certificates

(while an active apache instance is running)
Use webserver default webroot to generate certificates before setting up vhosts for new domains.

​certbot certonly --webroot -w /var/www/html/ -d example.com -d www.example.com

SSH login via key file

create key pair and download the files (~/.ssh)

ssh-keygen -t rsa -b 2048

add public key to authorized keys /.ssh/authorized_key

cat key.pub >> ~/.ssh/authorized_keys

login from local machine

ssh user@example.com -i /.ssh/keyfile

Cloud symlinks

Directories

  • ~/Scripts
  • ~/.local/share/icons/cloud
  • ~/Pictures/Wallpapers

Files

  • ~/.ssh/config