Skip to content

Commit

Permalink
start sway
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianRudolph committed Jan 22, 2022
1 parent 3941662 commit 79586e4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ pacman-key --populate archlinuxarm
# comment checkspace in /etc/pacman.conf
pacman -Syuu
pacman -S networkmanager wpa_supplicant bluez iwd iw dialog

# uninstall firmware and kernel, which we don't use
pacman -R linux-aarch64 linux-firmware linux-firmware-whence
```


Expand Down Expand Up @@ -293,4 +296,30 @@ Connect bluetooth keyboard:
```
pacman -S bluez bluez-utils
systemctl enable --now bluetooth
```

Change LUT:
```sh
# default is 7
printf 7 > /sys/module/rockchip_ebc/parameters/lut_type

# force refresh on next frame
printf 1 > /sys/module/rockchip_ebc/parameters/force_refresh
```

Backlight (values from 0 to 255):
```sh
echo 0 > /sys/class/backlight/backlight_warm/brightness
echo 0 > /sys/class/backlight/backlight_cool/brightness
```


Run sway:


```sh
# add to .bash_profile (no GPU support yet)
export LIBGL_ALWAYS_SOFTWARE=true
export GALLIUM_DRIVER=llvmpipe
export WLR_RENDERER_ALLOW_SOFTWARE=1
```

0 comments on commit 79586e4

Please sign in to comment.