Monthly Archive: June 2020

xfce – change panel icon size

in File: ~/.config/gtk-3.0/gtk.css eg: #pulseaudio-button image{ -gtk-icon-transform: scale(0.7); } #xapp-status-plugin-5 image{ -gtk-icon-transform: scale(0.7); } #weather-11 image{ -gtk-icon-transform: scale(0.7); } Then restart panel: xfce4-panel -r

Change Apache2 Webfolder

Problem: I have stored my local Websites in ~/Documents/Sites/ however the standard Apache2 Directory is /var/www/html. To change this: 1) vi /etc/apache2/sites-available/000-default.conf 2) Change DocumentRoot to desired location: /path/to/my/project 3) vi /etc/apache2/apache2.conf 4) Change directory setting to: < Directory /> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted < /Directory> 5) Restart Apache: sudo service apache2 restart In...

Set Default Kernel entry in GRUB2

Problem: After installing Wireguard in Ubuntu 18.04. the kernel vesrion (linux-image-gke-5.3) is automatically installed, as well. However on my system it broke several things like display-resolution and keyboard… So i’d like to reset the former kernel linux-image-generic as the new default kernel in GRUB 2 again. Solution: 1) Backup grub config file: > sudo cp /etc/default/grub /etc/default/grub.bak 2)...