Contact Us

How to create a bootable Windows USB drive in Linux: Easy method

The easiest way that I found to create a bootable Windows USB in Linux is using a tool called Ventoy. Ventoy is a cross-platform, multi-boot USB creator. This means that you can boot from multiple ISOs using a single USB stick. It might seem complicated, but it is a simple two step process. Install Ventoy onto the USB drive Copy the ISO’s that you want to the USB drive In my opinion a Ventoy multi-boot USB drive is something that most Linux users should have anyway.

Read More ...

Using the Vi mode in Bash command line

Bash uses the Readline library for handling command-line input. One of the editing modes supported by the Readline library is the vi mode; the other one being emacs mode. To enable vi mode use the following command. $ set -o vi To verify that you are in vi mode, use the command. $ shopt -o vi Unlike in Vim, insert mode is the default in bash. Press escape to enter command mode.

Read More ...

Bash: Using or setting a default value for null or unset variables

If a variable is not set or if its value is null, the default behavior of Bash is to expand it to a null string. Bash provides three alternatives to this default behavior. Use a default value instead of the null string. Set a default value for the variable and use that value. Display an error message and exit the script with an exit code of 1. tip: To make use of these features you need to use the full syntax for accessing variables: ${variable_name}.

Read More ...

File permissions in Linux

Linux is a file-based system, it considers directories, drives, devices, etc as files. The actions you are allowed to perform on a Linux system depends on the permissions you have to these files. The primary permissions The three primary permissions are read, write, and execute. They have different meanings when applied to files and directories. Files Read Permission: Allows you to read the contents of a file. You can cat the contents of a text file to the terminal or open a file using an application.

Read More ...

How to take a screenshot of the lock screen in KDE

Several screenshot applications allow you to set a timer for taking the screenshot. This feature can be used to take a screenshot of the lock screen. The screenshot tool Spectacle comes pre-installed with several KDE based distributions. For this guide let us use Spectacle to take the screenshot. If Spectacle is not already installed, please install it first, it is a small application. warning: Taking a screenshot of a blank login screen after the user has completely logged out is more involved, this is not covered in this article.

Read More ...

Disable media controls in Manjaro KDE lock screen

The lock screen of Manjaro KDE shows media controls for active media files. Take a look at the screenshot below. Some users consider this a privacy issue. Here is how you can disable this feature. **Step1: **From the KDE start menu search for Screen Locking. Step2: Screen Locking ➾ Appearance tab Step3: Disable the button Show media controls

Read More ...