Skip to content

System

Linux Bookmarks

Stuff related to GNU/Linux.

Install Linux

USB burning tools

The following tools make installation USB keys from ISO files.

  • Ventoy : an open source tool to create a bootable USB drive loading ISO files in the partition.
  • Rufus : flashing Linux/Windows ISOs in Windows.
  • Etcher : flashing Linux ISOs in Linux/Windows.
  • Gnome disks

Linux Wikis and forums

Command lines and shell scripting

See Shell programming.

heredoc: Passing multiple lines of string

Use heredoc to pass the string as-is between two delimiters (e.g. EOF)

cat << "EOF" >> ~/.xprofile
# ~/.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx
EOF

Will append the following lines to ~/.xprofile:

.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx

Check battery status

Open Windows Powershell with Administrator rights and run:

powercfg /batteryreport /output "C:\battery-report.html"

See the report at C:\battery-report.html.