How to setup DNS manually on Linux?

Display-Server

In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers, making a proper setup complicated sometimes.

DNS Config Under Linux

DNS usage on linux is done over a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file (resolv.conf) contains information that is read by the resolver routines the first time they are invoked by a process. In short each process requesting DNS will read /etc/resolv.conf over library. The NSS is layered on top of this, and is configured by /etc/nsswitch.conf.

Continue reading...

Fixing a slow boot hanging at 'a start job is running for dev-disk-by...'

“A start job is running for dev-disk-by…” means that systemd is hanging on disk setup because of a miss-configuration

Usual situation :

We need to check the UUIDs under those files (details)

/etc/crypttab 
/etc/fstab
/etc/grub.d/40_custom 
/boot/grub2/grub.cfg
Continue reading...

How to disable KDE Wallet for a specific application or globally?

Disabling globally (method 1):

KDE Wallet is a core part of KDE, to disable it run kcmshell5 kwalletconfig5 and continue at step 3 or start from the beginning:

Continue reading...

Recover deleted files and undoing an rm * -rf command

On a Linux system using EXT3, EXT4, BTRFS or else there are multiple tools to recover deleted or lost files, the BTRFS file system makes the recovery process more easy and with a higher success rate compared to EXT3/EXT4 where file recovery can be sometimes impossible.

Recovery Tools - Command Line:

Continue reading...

Text-to-speach from command line

Get speech output from an entered text by using command-line can be achieved with

Python Google Speech :

# require python3-pip/python2-pip and libsox-fmt-mp3 

pip install google_speech

google_speech "Test the hello world"
Continue reading...

Monitor a process or a service on a KDE Desktop

A service can be watched with the Applet/Widget Server Status… after installing it just add a command into the widget to monitor your service

Example : systemctl status httpd.service

Continue reading...