Tag: system administration

How to check if Wayland or X11 is used?

Table of contents 1. What is Wayland and X11 2. How to find out if you are using Wayland or X11 on the command line 2.1 Using the session ID 2.2 Checking the $XDG_SESSION_TYPE variable 2.3 Checking the WAYLAND_DISPLAY and DISPLAY variables 2.4 Finding Display Server environment variables 3. How to detect whether X11 or Wayland is being used in a GUI 3.1 How to see if GNOME is...

How to fix Linux booting to black screen (SOLVED)

Pretty harmless video card settings (for example, installing drivers, choosing a video card for video output on a laptop, enabling 10-bit color depth) can lead to a serious problem for beginners: the Linux operating system boots into a black screen. Since this problem cannot be solved by the usual methods in the graphical interface, novice Linux users often come to...

How to increase the size of the partition and file system after increasing the physical size of the disk

Disk partition size and file system size In Linux, a disk can be used entirely by one partition or be divided into several partitions (similar to volumes in Windows). Usually, at the stage of installing the operating system, disk partitioning is done: disk partitions are created, and then these partitions are formatted into one or another file system. In this...

Updating packages: whether to update the config file

Consider a situation when the package manager of your Linux distribution (Debian, Linux Mint, Ubuntu, Kali Linux) asks about updating the configuration file – what to do and how to get the latest version of the configuration file? Let’s figure it out. With some updates of some packages, the structure of the configuration file changes. As a rule, the new...

What is the difference between Suspend and Hibernate in Linux. Why is the Hibernation button missing?

When shutting down Linux, instead of completely shutting down the computer, you can select Suspend or Hibernate. These modes are also offered when configuring the behavior of the computer during inactivity (to save power), when the laptop battery is low, and when configuring the behavior after closing the lid of the laptop. Suspend means stopping all applications and puts the...

Where NetworkManager stores settings (SOLVED)

NetworkManager Configuration Files NetworkManager supports various plug-ins that can define new locations for storing configuration information. The main configuration file for NetworkManager, which is usually changed, is /etc/NetworkManager/NetworkManager.conf. You can view its contents with the following command: cat /etc/NetworkManager/NetworkManager.conf In addition to this file, NetworkManager settings can be saved in the /etc/NetworkManager/conf.d and /usr/lib/NetworkManager/conf.d directories. For a list of all...

How to simulate package installation on Linux (How to create and install a dummy package)

Sometimes, when installing packages from source code, you may encounter the problem that the required dependency is missing from the system. Usually you need to solve this problem by installing the necessary dependencies from the standard repository, or by compiling them from source. Sometimes the required package is present, but its version is not suitable, a similar example and solution...

Linux PowerShell Basics (Beginner’s Guide)

PowerShell for Linux In recent years, there has been a trend at Microsoft to cross-platform some of its products and open their source. Also Linux itself became part of Windows in the form of a subsystem. PowerShell, which was originally a Windows-only component, was released as open source and became cross-platform on August 18, 2016, available for Linux and Mac...
Loading...
X