Category: Linux

How to remove the first line from a file on the command line. How to remove the first 2, 3 or any other number of lines from a file

To fix the error that I wrote about in the previous post, I needed to remove a single line from the files with the exported databases. Moreover, the size of some files exceeds 2 GB and this action must be repeated many times. If you try to open a 2 GB file in any text editor, you will see how...

ERROR at line 1: Unknown command ‘\-‘. (SOLVED)

The database management systems (DBMS) MariaDB and MySQL are quite compatible with each other (at least in basic functionality). And until recently, it was possible to import and export databases from MariaDB to MySQL and vice versa without any problems. If you have updated MariaDB to the latest version, you may receive the following error when importing a database into...

How to concatenate multiple videos into one file in Linux in GUI without re-encoding (HEVC and other video formats)

Table of contents 1. How to make one video file from several videos 2. How to combine multiple HEVC videos into one file 3. The difference between combining video files without re-encoding and combining video with encoding 4. Download a program to combine videos into one file. How to install LosslessCut 5. How to combine videos into one file in...

How to change the interface (menu) language of VLC media player in Linux

In VLC media player, in the settings there is an option to select the interface language. But this option is only present in the Windows version. In Linux there is no this option and you cannot change the language through the program settings. But the problem can be solved very easily in the console. How to change VLC language at...

Menu buttons (toolbar) and status bar are missing in SMPlayer (SOLVED)

SMPlayer is a popular cross-platform video player. SMPlayer has many useful functions (crop video to fit the screen, fine-tune the appearance and location of subtitles, select the number of audio output channels) and many other settings, including those related to performance optimization and hardware acceleration of video decoding. Separately, I would like to note such a function as saving playback...

How to install and configure best video player on Linux (SMPlayer)

What is SMPlayer. Why SMPlayer is better than other video players SMPlayer is one of the most convenient video players I've ever used. In terms of its ability to play various formats, SMPlayer is no worse than another great cross-platform video player – VLC. But when it comes to ease of use, SMPlayer is ahead of VLC. SMPlayer is a...

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...
Loading...
X