Category Archives: Linux

How to reset displays (monitors) settings for KDE Plasma and GNOME

In case your display arrangement or settings, e.g. when you have 3 screens and you are for some reason unable to reorganize them or change their settings, just reset your display settings: For KDE Plasma: rm -rf .local/share/kscreen For GNOME: … Continue reading

Posted in Linux | Tagged , , , | 7 Comments

How to force resync between PBIS and AD on Linux

In case you made a change on your AD, such as modifying groups or changing attributes of a user, it sometimes take a little while to reflect that on the Linux server that authenticates against AD via PBIS. The best … Continue reading

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

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

Add a new HDD to a VM without rebooting on Ubuntu server

Firstly, install scsitools package: sudo apt install scsitools Then run the command rescan-scsi-bus: sudo rescan-scsi-bus That’s it, your new virtual HDD has now been detected. Another way would be to do it with a loop and without the need for … Continue reading

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

A cute little screenshot and annotation tool on Linux

A very handy screenshot tool that works very well on my KDE plasma desktop on Ubuntu 19.10 is ksnip, which you can get from here: https://github.com/damirporobic/ksnip Just download and install the deb file and that’s it! Enjoy!

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