This is my personal notes of user experience of using Linux Distributions and GNU software. The contents such as wikis, commands, codes, etc. on this page and sub pages are supposed to be used by your own consideration at your own risk. So, doing your own research and climbing learning curve is recommended.
I am not responsible for anything bad happened to you or your computing system due to using any content from here.
Sometime we just want to know which package is a command provided by? For instance, which package provides pactl command. Then use pacman in Arch Linux.
[user@hostname ~]$ pacman -Qo pactl
/usr/bin/pactl is owned by libpulse 17.0-3
And for it path,
[user@hostname ~]$ pacman -F pactl
extra/libpulse 16.1-6 [installed: 17.0-3]
    usr/bin/pactl
    usr/share/bash-completion/completions/pactl
Fore more read: https://bbs.archlinux.org/viewtopic.php?id=262806
Disabling drag_lock function in dwl if you are experiencing half a second delay for cursor to reset its shape after any drag action like moving or resizing window using touchpad. Read More...
dwl is a compact, hackable compositor for Wayland based on wlroots. It is intended to fill the same space in the Wayland world that dwm does in X11, primarily in terms of functionality, and secondarily in terms of philosophy. Read More...
The best and easiest way is to install Calito and Caladea fonts instead of them. Read More...
The notes of Archlinux-related issues. Read More...
Adding loader entry for Grub of another distribution to Systemd-boot loader entries menu on the same computer is relatively easy. It is basically adding shimx64.efi which will point to Grub of another distribution. The file usually reside at /EFI/distroname/shimx64.efi. Read More...
Handling background scripts and foreground scripts became necessary part of scripting in linux. For examples,
how to avoid running a background script if the script is already running background? Can a script test itself it is already running?
how to avoid executing a script residing in $PATH from dmenu, bemenu or any other equivalent, if the script is written to run in terminal interactively or foreground?
After messing with many configurations of especially locale and language settings in LibreOffice, it may need to reset default. To do that, you will look at "Resolving corruption" session under "User Profile" of LibreOffice @ https://wiki.documentfoundation.org/UserProfile.
eCryptfs is a popular encryption system for Linux that provides an encrypted filesystem to protect sensitive data. The script allows you to easily set up, mount, and unmount eCryptfs directories, making it convenient to work with encrypted data on your Linux system. read more...
Managing Wi-Fi connections on a Linux system can be a repetitive task, but with the help of a bash script, you can streamline the process and save time. This is a bash script that automates Wi-Fi connection management using the NetworkManager utility. This script allows you to scan for available networks, connect to a selected network, manage existing connections, and perform other related operations. The script in github repository... and read more...
dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, optimising the environment for the application in use and the task performed. Read More
---
These are general notes of Debian 11 (bullseye) for such as installation, system setup, maintenance, etc...
Arch Linux is lightweight and flexible Linux distribution that tries to Keep it Simple. Installing Arch Linux is as simple as running
# pacstrap /mnt base linux linux-firmware
but ... Read More
---
This is AUR Helper script of Min Soe Han called mshaur.
read more...
$ pdfunite p1.pdf p2.pdf p3.pdf p4.pdf p5.pdf p6.pdf p7.pdf pdf-allpages.pdf
$ pdftk input.pdf cat 2-4 output pdf_pages_2-4.pdf
$ pdftk input.pdf cat odd output pdf_pages_odd.pdf
$ pdftk input.pdf cat even output pdf_pages_even.pdf
$ pdftk input.pdf cat 1-endeast output pdf_allpages_rotated_90.pdf
$ pdftk input.pdf cat 1-endsouth output pdf_allpages_rotated_180.pdf
... Read More
---
This is my own personal way to enable the touchpad-tapclick without having and editing /etc/X11/xorg.conf.d/30-touchpad.conf as following example;
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingButtonMap" "lmr"
EndSection
See https://wiki.archlinux.org/title/libinput for more. The script is just a child play but useful. It is written for the touchpad of the Acer Aspire E 14, E5-473-36HS model.
#! /bin/bash
devid=$(xinput list --id-only 'ELAN0501:00 04F3:300A Touchpad')
propid=$(xinput list-props $devid | awk -F '[()]' '/libinput Tapping Enabled \(/ {print $2}')
propvalue=$(xinput list-props $devid | awk '/'$propid'/ {print $5}')
if [[ $propvalue == 1 ]]; then
exit 0
else
xinput set-prop $devid $propid 1
fi
---
It is the most convenient in Linux to handle multimedia files such as mp4, mp3, etc. using FFMPEG. The followings are the best and simple command for day to day tasks.
Converting
$ ffmpeg -i input.mp4 output.mp3
Cutting out or extracting a selected part from a movie (it can also be applied to audio file like .mp3)
$ ffmpeg -i input.mp4 -ss 00:05:00 -to 00:15:23 -c copy output.mp4
---
Notes regarding with bash or dash scripting and other knowledge.
Mounting ext4 partition such as extra data partition after boot ...
This is font collection of Min Soe Han.
see special characters of WinReseacher
see font styles of W Art House Fonts 70