User Tools

Site Tools


doc:appunti:linux:sa:grml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:grml [2024/12/16 15:50] – [Create a new partition into the USB stick] niccolodoc:appunti:linux:sa:grml [2025/10/03 16:51] (current) – [Add scripts and other files to the USB] niccolo
Line 73: Line 73:
  
   * Generate an SSH RSA key running the **ssh-keygen** utility. The key will be saved into ''$HOME/.ssh/''.   * Generate an SSH RSA key running the **ssh-keygen** utility. The key will be saved into ''$HOME/.ssh/''.
-  * Customize the shell by editing the **$HOME/.zsrc** file, e.g. by adding alias commands, customizing the **PATH** or other environment variables. etc.+  * Customize the shell by editing the **$HOME/.zshrc** file, e.g. by adding alias commands, customizing the **PATH** or other environment variables. etc.
   * Run and configure some programs that will save preferences into the **$HOME/**, e.g. the Midnight Commander **mc** will save its files into ''$HOME/.config/mc/''.   * Run and configure some programs that will save preferences into the **$HOME/**, e.g. the Midnight Commander **mc** will save its files into ''$HOME/.config/mc/''.
   * Create an ''$HOME/config/'' directory and place what you want in it. You will find that directory again at the next boot.   * Create an ''$HOME/config/'' directory and place what you want in it. You will find that directory again at the next boot.
Line 109: Line 109:
  
 You can place also files into the partition, so e.g. you can install additional deb packages on-the-fly. You can place also files into the partition, so e.g. you can install additional deb packages on-the-fly.
 +
 +Here it is an example of script named **scripts/grml.sh** placed into the GRMLCFG partition to load the Italian keymap and to configure the keys to get braces:
 +
 +<code>
 +#!/bin/sh
 +echo "=== Execution of \"$0\" ==="
 +loadkeys it
 +loadkeys /root/config/custom-key.map
 +</code>
 +
 +The file **/root/config/custom-key.map** contains:
 +
 +<file>
 +shift altgr keycode 26 = braceleft
 +shift altgr keycode 27 = braceright
 +</file>
  
 ====== Obsolete ====== ====== Obsolete ======
doc/appunti/linux/sa/grml.1734360638.txt.gz · Last modified: by niccolo