Skip to content

Instantly share code, notes, and snippets.

mapM.updateMap("forward")
mapM.updateMap("right")
mapM.updateMap("forward")
mapM.updateMap("l_54.24125")
mapM.updateMap("forward")
mapM.updateMap("l_58.9825")
mapM.updateMap("forward")
mapM.updateMap("l_58.0625")
mapM.updateMap("forward")
mapM.updateMap("left")
~ Det som ska stå i ~/.xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
// Fixa tangentbord:
# loadkeys sv-latin1
// Fixa så du ser något:
# setfont latarcyrheb-sun32
// Välj WIFI
# wifi-menu
// Set till att det funkar
$ fdisk -l
Disk /dev/sda: 233.8 GiB, 251000193024 bytes, 490234752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 699E5333-DE10-4B60-AFA6-8D8A300D5B8D
Device Start End Sectors Size Type
/dev/sda1 40 409639 409600 200M EFI System
[ 23572.926]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 23572.939] X Protocol Version 11, Revision 0
[ 23572.941] Build Operating System: Linux 4.9.11-1-ARCH x86_64
[ 23572.945] Current Operating System: Linux archie 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64
[ 23572.945] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=25e7fae8-d1cb-4c44-9123-d48a31c7e2fc rw
[ 23572.951] Build Date: 07 April 2017 05:42:48PM
[ 23572.954]
[ 23572.957] Current version of pixman: 0.34.0
x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00",
x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"00", x"00", x"00", x"00", x"00", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0",
x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"e0", x"00", x"00", x"00", x"00", x"00", x"e0", x"e0", x"e0", x"e0",