A systemd service may fail to start with the error: Main process exited, code=exited, status=217/USER The status=217/USER indicates that the user that is configured to run the service could not be found. This could happen if there is a typo in a username or you have copied a service file from another machine and it […]
When a laptop lid is getting closed, different scenarios are possible: do nothing, blank screen, suspend or shutdown. In Linux Mint, the system behavior on closing the lid is controlled by the “Power Management” and “Screensaver” settings. This note shows how to enable or disable screen locking when closing the lid in Linux Mint.
The Linux find command can be used for searching files and directories and performing subsequent operations on them. If you use the find command to recursively search for some files and then pipe the result to the grep command, by doing this you will actually parse the file paths/names but not their contents. This short […]
In Windows, there is a keyboard shortcut ⊞ Win + D used to minimize all the currently open windows and show the desktop. To hide all windows and show the desktop in MATE edition of the Linux Mint there is a Ctrl + Alt + D shortcut.
A QR code generator is an application which creates and stores different types of data in a QR code image file. A qrencode is a free command line tool for encoding string data in the QR code and saving it as a PNG or an EPS image. In this note i will show how to […]
Any command executed in Bash or any other Linux shell, has one input stream (stdin) and two kinds of output streams: standard output (stdout) and standard error (stderr). Each of these streams is represented by a numeric file descriptor: 0 – stdin, the standard input stream 1 – stdout, the standard output stream 2 – […]
If you try to download a file over HTTP/HTTPS provided by a dynamic link or through a chain of 301, 302 redirects, wget would normally save the file using a part of the URL that you’re using. At the same time, if you use this URL to download the file in a browser, it will […]
If your Linux user’s password is about to expire, you may see a message as follows on your login screen: Warning: Your password will expire in X days In this note i will show how to disable the Linux user’s password expiration from the command line using the chage command.
Telegram Desktop can be installed on Ubuntu/Linux Mint from the Ubuntu’s APT repository, but this way you will get a quite outdated version of the app. Alternatively, you can install the latest version of the Telegram Desktop app using a Snap package manager, but it is disable in Linux Mint and there are some reasons […]
The main edition of the Linux Mint is based on Ubuntu which itself is based on Debian. If you try to add an Ubuntu APT repository in the Linux Mint with the command, like sudo apt-add-repository “deb [arch=amd64] <URL> $(lsb_release -cs) main”, you may get this error: E: The repository ‘<URL> <codeName> Release’ does not […]