maandag 16 november 2020

Sleep command and timer

  sleep 10m | pv -t && vlc [song]
  
  Wanneer je een ei wilt koken.                                      

woensdag 14 oktober 2020

How to view fonts on your system

Use the command fc-list and then grep to find the particular font you want

fc-list | grep liberation

dinsdag 29 september 2020

Concatenation of multiple files in the right order


 Is there any way to concatenate multiple text files in numerical order of the file names with one bash command?
A problem arises when you go past the number 9. If you give the ls command, you will get:
file10
file11
file12
file1
file2
file3
file4
file5
file6
file7
file8
file9
So, if you want to cocatenate in order, it won't be done correctly.
What is needed is the sort command, like this:
ls | sort -V | xargs cat *.txt

https://stackoverflow.com/questions/35126745/erge-text-files-ordered-by-numerical-filenames-in-bash

dinsdag 5 mei 2020

zondag 5 april 2020

Librsvg2-bin

The package librsvg2-bin provides a viewer:
rsvg-view-3 [any_svg].svg

maandag 23 maart 2020

Xrandr, arandr, xprop and xev

Xrandr is used to set the size, orientation and/or reflection of the outputs for a screen. It can also set the screen size. A

ArandR is a visual front end for XRandR 1.2 (per display options), which provides full control over positioning, saving and loading to/from shell scripts and easy integration with other applications. 

The xprop utility is for displaying window and font properties in an X server.  One window or font is selected using the command line  arguments or possibly in the case of a window, by clicking on the desired window. A list of properties is then given, possibly with formatting information. 

 xev - print contents of X events.

zondag 22 maart 2020

Arch Linux installeren


1. Preparing the harddisk:
a. to make the partitions: sda1, sda2, swap
b. make filesystem: mkfs.ext4 /dev/sda1
c. mount partition: mount /dev/sda1 /mnt

2. Arch Linux installeren:
pacstrap /mount base base-dev

3. To create personal configurations:
name of the user
the name of the computer
keyboard layout
lanuage
the time-zone

4. Installation of the necessary programs:
bootloader (GRUB)
display server (Xorg)
desktop environment (Gnome, Xfce etc.)
login manager (e.g. lightdm)

5. Reboot


Arch Linux installieren - Was passiert da eigentlich?
https://youtu.be/2Y7-TIii23Y?list=WL

Enlarging Libreoffice window completely with command

 You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.