Skip to content

Instantly share code, notes, and snippets.

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View dmesg-sway-firefox.log
[ 0.000000] Linux version 4.20.8-arch1-1-ARCH (builduser@heftig-16404) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e1f39821-3d89-4694-a3a5-53aa73b0fc4f rw quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
View sway.log
2019-02-18 14:38:42 - [sway/sway/main.c:152] Linux skynet 4.20.8-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019 x86_64 GNU/Linux
2019-02-18 14:38:42 - [sway/sway/main.c:168] Contents of /etc/os-release:
2019-02-18 14:38:42 - [sway/sway/main.c:152] NAME="Arch Linux"
2019-02-18 14:38:42 - [sway/sway/main.c:152] PRETTY_NAME="Arch Linux"
2019-02-18 14:38:42 - [sway/sway/main.c:152] ID=arch
2019-02-18 14:38:42 - [sway/sway/main.c:152] BUILD_ID=rolling
2019-02-18 14:38:42 - [sway/sway/main.c:152] ANSI_COLOR="0;36"
2019-02-18 14:38:42 - [sway/sway/main.c:152] HOME_URL="https://www.archlinux.org/"
2019-02-18 14:38:42 - [sway/sway/main.c:152] DOCUMENTATION_URL="https://wiki.archlinux.org/"
2019-02-18 14:38:42 - [sway/sway/main.c:152] SUPPORT_URL="https://bbs.archlinux.org/"
View dmesg-nouverau.log
[ 0.000000] Linux version 4.20.8-arch1-1-ARCH (builduser@heftig-16404) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e1f39821-3d89-4694-a3a5-53aa73b0fc4f rw quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
View dmesg-panic.log
[ 0.000000] Linux version 4.20.8-arch1-1-ARCH (builduser@heftig-16404) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e1f39821-3d89-4694-a3a5-53aa73b0fc4f rw quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
View sway.log
2019-02-18 14:05:12 - [sway/sway/main.c:152] Linux skynet 4.20.8-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019 x86_64 GNU/Linux
2019-02-18 14:05:12 - [sway/sway/main.c:168] Contents of /etc/os-release:
2019-02-18 14:05:12 - [sway/sway/main.c:152] NAME="Arch Linux"
2019-02-18 14:05:12 - [sway/sway/main.c:152] PRETTY_NAME="Arch Linux"
2019-02-18 14:05:12 - [sway/sway/main.c:152] ID=arch
2019-02-18 14:05:12 - [sway/sway/main.c:152] BUILD_ID=rolling
2019-02-18 14:05:12 - [sway/sway/main.c:152] ANSI_COLOR="0;36"
2019-02-18 14:05:12 - [sway/sway/main.c:152] HOME_URL="https://www.archlinux.org/"
2019-02-18 14:05:12 - [sway/sway/main.c:152] DOCUMENTATION_URL="https://wiki.archlinux.org/"
2019-02-18 14:05:12 - [sway/sway/main.c:152] SUPPORT_URL="https://bbs.archlinux.org/"
View dmsg.log
-- Logs begin at Wed 2019-02-06 19:35:08 +03, end at Mon 2019-02-18 13:42:42 +03. --
Feb 18 13:27:38 skynet kernel: Linux version 4.20.8-arch1-1-ARCH (builduser@heftig-16404) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019
Feb 18 13:27:38 skynet kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e1f39821-3d89-4694-a3a5-53aa73b0fc4f rw quiet
Feb 18 13:27:38 skynet kernel: KERNEL supported cpus:
Feb 18 13:27:38 skynet kernel: Intel GenuineIntel
Feb 18 13:27:38 skynet kernel: AMD AuthenticAMD
Feb 18 13:27:38 skynet kernel: Hygon HygonGenuine
Feb 18 13:27:38 skynet kernel: Centaur CentaurHauls
Feb 18 13:27:38 skynet kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Feb 18 13:27:38 skynet kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
View gist:648b78402d33b465ec7790056080bf48
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod1
@nolik
nolik / swayWM ru locale
Created Sep 30, 2018
problem with ru keyboard
View swayWM ru locale
//i add conf to /etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru"
CONSOLEFONT="cyr-sun16"
CONSOLEMAP=""
USECOLOR="yes"
// /etc/locale.conf
LANG=ru_RU.UTF-8
LC_MESSAGES=ru_RU.UTF-8
You can’t perform that action at this time.