Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:arch

Archlinux-Spickzetttel

Partitionierung

UEFI mit LVM, dm-crypt/LUKS
                                                                   
+-----------------------------+ +----------------------+----------------------+----------------------+
| UEFI System Partition (USP) | | LVM                  | LVM                  | LVM                  |
|                             | | logical-vol-1        | logical-vol-2        | logical-vol-3        |
|  /boot                      | | /dev/mapper/ssd-swap | /dev/mapper/ssd-root | /dev/mapper/ssd-home |
|  min. 512 MB                | +----------------------+----------------------+----------------------+
|  FAT32                      | |                       LUKS encrypted partition                     |
|  /dev/sdaX                  | |                                /dev/sdbY                           |
+-----------------------------+ +--------------------------------------------------------------------+

Hilfe

X Starten ohne Displaymanager

https://bbs.archlinux.org/viewtopic.php?pid=971168#p971168

# --- window manager ---
# i.e. usage: WM=ob startx for openbox
 
DEFAULT_SESSION=i3
case $WM in
  ob)
    dbus-launch --exit-with-session openbox-session
    ;;
 
  *)
    dbus-launch --exit-with-session $DEFAULT_SESSION
   ;;
esac

Home directory organisieren

http://www.splitbrain.org/blog/2008-02/27-keeping_your_home_directory_organized

export TD="$HOME/tmp/`date +'%Y-%m-%d'`"
td(){
    td=$TD
    if [ ! -z "$1" ]; then
        td="$HOME/tmp/`date -d "$1 days" +'%Y-%m-%d'`";
    fi
    mkdir -p $td; cd $td
    unset td
} 

consolefont wird nicht umgestellt

Grafikkartenmodul vor dem boot hook laden

in /etc/mkinintcpio.conf

MODULES="radeon"  

für AMD GraKa

MODULES="i915"  

für Intel GraKa

Schriftbild verbessern

in /etc/fonts/local.conf anlegen

local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <!-- Enable normal hinting -->
        <edit name="hinting" mode="assign">
            <bool>true</bool>
        </edit>
        <!-- Enable hintstyle as hintslight -->
        <edit name="hintstyle" mode="assign">
            <const>hintslight</const>
        </edit>
        <!-- Enable anti-aliasing -->
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <!-- Enable sub-pixel rendering -->
        <edit name="rgba" mode="assign">
            <const>rgb</const>
        </edit>
        <!-- Enable LCD filter -->
        <edit name="lcdfilter" mode="assign">
            <const>lcddefault</const>
        </edit>
    </match>
</fontconfig>
linux/arch.txt · Zuletzt geändert: 2019-02-14 17:38 von fzap