Fix chrome low FPS of WebGL on Ubuntu
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
I've had this problem for a while, Google Chrome seems to lower the FPS of WebGL content / games to 60 FPS on a dual monitor setup, even if my main monitor uses 144Hz ! Well, here is what I think is happening: chrome seems to use the first monitor as a reference to determine the desired FPS of WebGL contents. Now, that does not mean the "primary display" setting, I am talking about the actual numbers you can see in Settings > Screen Display, those numbers : They are assigned by the actual firmware, and so far the only way I've found to change them is to swap display cables on the back of ..read more
Visit website
Find log4j on your Linux system
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
Based on this article about Log4Shell, you can search for any occurence of log4j on your linux system with this command: sudo find / -iname "log4j*.jar" The / indicate to search from the root directory The -iname is to specify the case insensitive search terms If nothing outputs after that command finishes, your system should be okay ! If not, please secure your system ..read more
Visit website
Use Razer mouse or keyboard without Synapse on Linux
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
You just got yourself a new Razer device and you realized you can't configure it without the proprietary Synapse software (which is not available on linux), and now you are sad ? Be sad no more ! The open-source community got your back. Step 1 : drivers What you need to do is install OpenRazer (github repo) ! OpenRazer is a collection of drivers for many Razer devices, this will allow communication between your computer and your devices. Just follow their instructions in the download page. Step 2 : GUI You will also need an interface to let you change settings of your devices. I recommend usi ..read more
Visit website
Beware: your personal files are visible by all users on Ubuntu, by default !!
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
I just discovered this after years of using Ubuntu: every user account you have created on your Ubuntu computer (during installation or afterward) have Read and Execute permission to everything in the /home/ directory of EVERY users, by DEFAULT !! (just type ll /home/ in a terminal and you'll see drwxr-xr-x !) This is outrageous, it means that any user account could read every documents, every pictures, every-things of any user, even if that user is supposed to be protected by a password !! This behavior should be fixed since release 21.04 but it DOES NOT FIX PREVIOUSLY CREATED USER ACCOUNTS ..read more
Visit website
Fix inverted natural horizontal scrolling with touchpad - Ubuntu 20.04
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
If your installation of Ubuntu is not fresh (an old version that you updated since then), this solution might be exactly what you need to permanently fix this bug. First, check the list of installed input drivers with this : apt list -i | grep xorg-input If you see xserver-xorg-input-synaptics and xserver-xorg-input-libinput, good news ! Just uninstall the synaptics package like this : sudo apt remove xserver-xorg-input-synaptics The reason is simple : this package is obsolete. Now restart the xorg server (logging out and then back in will do) and the problem should be fixed ! If it is no ..read more
Visit website
Bash script to create daily, monthly and yearly MySQL database backups
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
Here is my simple bash script that creates a fresh MySQL database backup every day for the last 30 days, and a monthly backup for the last 12 months, and a yearly backup for the last 10 years ! It saves the backups on the same server (locally) and it does not notify you by email if an error happens, it's up to you to implement those features if you want. (it does keep track of every success/errors in a log file tho). This script is meant to be executed once every day in a cronjob (but can be executed more than once per day without problems, if desired). To schedule it's execution, simply call ..read more
Visit website
The next best Linux distro of 2021 (besides Ubuntu)
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
Based on personal preferences, which are : I want an OS that is simple, elegant, modern and deprived of visual clutter because I work on a plethora of personal projects all the time (coding/3D/web/art etc) therefore I don't want to waste my time also fixing an OS to make it work well. It needs to work well out of the box. I also like the idea of getting used to a "stock distribution", meaning that I can install it on many computers, delete it and reinstall it completely without having to transfer my tweaks from one installation to an other in order to feel comfortable. My research began with ..read more
Visit website
Best linux distro of 2021
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
For me, the best linux distribution is still Ubuntu. I've been using Linux for more than 10 years, it's on my main PC, my work PC (when I can), and all my other laptops/computers (well, except one cheap chromebook). I chose Ubuntu for my main PC in 2014 after playing with a couple distros and I've been using it ever since. At the time it was an obvious choice, but water has flowed under the bridges and a couple other good looking distros have popped-up ! I recently looked at all the good looking ones I could find and (sadly?) I've been disappointed. Most of them are in fact Ubuntu-based, that ..read more
Visit website
Fix unwanted "// WARNING:" atom snippet when typing "width" !
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
This has been annoying me for years, every time I tried to type width in SCSS, the first snippet suggested after typing the first 2 letters (wi) was that annoying warning snippet : but not anymore ! TL;DR The snippet is added by a core package named language-todo... To prevent it from annoying you ever again : disable the language-todo package close Atom re-open Atom Problem solved ! To disable a package, open your atom Settings (Edit > Preferences), then go to the Packages left tab, type language-todo in the text field and click the Disable button when you found the appropriate package ..read more
Visit website
Fix crackling sound when audio start, Ubuntu 20.04
Wimantis blog » Ubuntu
by William Mcmurray
2y ago
Do you ear a very annoying crackling or popping sound coming from your speaker whenever an audio source start playing on Ubuntu 20.04 ? Well, that's because a couple releases ago they enabled power saving feature of the sound card by default, and that's what causing this. The fix is pretty simple, you just have to disable the power saving extension in the pulseaudio config. Type that in a terminal : sudo nano /etc/pulse/default.pa Then find this line : ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle and comment it like so : ### Autom ..read more
Visit website

Follow Wimantis blog » Ubuntu on FeedSpot

Continue with Google
Continue with Apple
OR