Author Archives: SoCRaT

About SoCRaT

Research Support and Infrastructure Engineer, OSS & Linux Geek

Force remove an entry from Ubuntu Online Accounts

I was trying to delete an entry in my online accounts (since I restored Ubuntu 18.04 files over 17.10), and it wasn’t getting deleted. The solution is to edit the following file: ~/.config/goa-1.0/accounts.conf Then simply remove the entry you wish … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Solve /boot getting 100% full issue on Ubuntu Servers

This is an issue affecting many Ubuntu servers. It basically happens when you enable automated security updates, multiple kernel packages get installed automatically, without removing the old ones, which gets /boot 100% full and the package manager is no longer … Continue reading

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

How to change default terminal emulator in Ubuntu 18.04

Ctrl+Alt+t is the keyboard shortcut to open a terminal in Ubuntu. By default, it opens an ‘x-terminal-emulator’ terminal. I wanted to change that to use my favorite terminal emulator, which is ‘terminator’ To do that: gsettings set org.gnome.desktop.default-applications.terminal exec ‘terminator’ … Continue reading

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

azure-cli installation on Ubuntu Bionic (18.04)

No deb packages have been released yet for Ubuntu 18.04, so you have to use the script MS provided here. However, you will face the following error immediately: ¬†fatal error: Python.h: No such file or directory To resolve this, simply … Continue reading

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

How to uninstall NVidia driver from Linux

This only applies for drivers that have been installed using the .run file. ./NVidiaxxxx.run –uninstall Source: Red Hat Documentation which they deny access to except if you pay! Idiots!

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

How to to prevent the screen from turning off when locked with gnome-shell on Ubuntu 18.04

This annoys me a lot, as whenever I lock the screen, my big screen turns off and it is an old slow screen that takes a few seconds to turn on again. To disable this behavior, do the following: Download … Continue reading

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

Use 7z to compress & encrypt zip files

7z a -tzip -mem=AES128 -bd -y -pPASSWORD -mx=0 — OUTPUT_FILE.zip file1 file2 file3 file3 This uses AES128 encryption and uses a compression rate of 0 (archive mode). You can pick a number up to 9 (highest compression rate) Enjoy!

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