show

Fix spotify app indicator icon in Ubuntu

Tested in Ubuntu 19.04 Since some time Spotify does not support app indicator icons anymore. Luckily there is the kdocker application which allows to dock any application to the app indicator area.Install kdocker Install kdockersudo apt install kdocker Edit contents of spotify launcher file/usr/share/applications/spotify.desktop Execute spotify through kdocker instead of Read more…

Tagged as Ubuntu

show

Fix notifications light background in Ubuntu 19.04 when using Yaru dark theme

Ubuntu 19.04 currently does not use a dark background color for notifications when using Yaru dark theme. As a workaround install pop theme and use pop dark theme.I really like the “slim” variant. Also gives a nice minimalist login screen. Inspired by: https://askubuntu.com/questions/1149991/dark-shell-theme-that-fits-yaru-dark

Tagged as Ubuntu

show

Analyze system boot time

systemd-analyze is the tool for that job You might want to try some of the following commands: systemd-analyze systemd-analyze blame systemd-analyze critical-chain systemd-analyze plot > visual.svg

Tagged as Shell, Ubuntu

show

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

Tagged as Shell, Ubuntu

show

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

Tagged as Shell, Ubuntu

show

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; }

Tagged as Ubuntu

show

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

Tagged as Ubuntu