Category Archives: Ubuntu

How to change max open files for nginx server on Ubuntu

The following error occurred a lot in /var/log/nginx/error.log: Too many open files This means that the nginx master process reached the maximum number of open files which was set to the default of 4096. (To check it, simply cat /proc/pid/limits, … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , , | Leave a comment

Build Synergy in Ubuntu 19.04

Synergy software, which shares your keyboard and mouse to multiple computers through the network, is no longer available in the Ubuntu 19.04 repos, so the only remaining option is to build it from source: sudo apt install qtcreator qtbase5-dev cmake … Continue reading

Posted in Linux, Ubuntu | Tagged , | Leave a comment

Get your Desktop Icons BACK on Ubuntu 19.04 with Nemo

Gnome disabled OOTB support for managing Desktop icons, and is now handled via a gnome shell extension that is missing many features and not quite usable. The best solution I found so far was to install nemo (file manager on … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , | 3 Comments

Reset your Ubuntu Desktop to its default settings

dconf reset -f / Sources: https://www.omgubuntu.co.uk/2017/10/how-to-reset-ubuntu-desktop-to-default

Posted in Linux, Ubuntu | Tagged , , , | Leave a comment

How to check the DHCP server on Ubuntu

This is if you need to know which server gave you your dynamic IP: cat /var/lib/dhcp/dhclient.leases That’s it, Enjoy!

Posted in Ubuntu | Tagged , , , | Leave a comment

Set fractional display scaling on Ubuntu 18.10 (XORG)

I am using an LG 5K monitor, and the display scaling options are very limited in gnome-shell, only increments of 100%. To have fractional scaling, I tried this script: #!/bin/bash gsettings set org.gnome.desktop.interface scaling-factor 2gsettings set org.gnome.settings-daemon.plugins.xsettings overrides “{‘Gdk/WindowScalingFactor’: <2>}” … Continue reading

Posted in Ubuntu | Tagged , , , , | Leave a comment

List network adapters connected to Ubuntu Server

sudo ls /sys/class/net Source: https://askubuntu.com/questions/296152/how-to-check-what-is-my-network-card-on-ubuntu

Posted in Ubuntu | Tagged , | Leave a comment