Razer Blade Stealth (late 2016, Intel 7500U, UHD / HiDPI) Arch (Antergos). Tested with Antergos (Wayland & Gnome) Arch, but other Arch based distros should work too.
Works without Problems:
- Caps-Lock fix is not needed
- No touchpad issues
Add kernel parameter:
$ sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="button.lid_init_state=open"
Update Grub:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Works, without suspend issues.
Install Libinput-gestures, my config. (If you prefer natural scrolling, change up/down)
Disable touchpad while typing and some other tunings:
Adjust "libinput" coordinate ranges for absolute axes: 61-evdev-local.hwdb:
sudo cp etc/udev/hwdb.d/61-evdev-local.hwdb /etc/udev/hwdb.d/61-evdev-local.hwdb
Update settings:
sudo systemd-hwdb update
sudo udevadm trigger /dev/input/event*
Everytime the touchscreen is used, an onscreen keyboard opens. Disable caribou (the on screen keyboard) in "Startup Applications".
Display "hidden apps":
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop
Open "Startup Applications", disable caribou (and maybe Desktop Sharing, Backup Monitor and some others). Remove caribou from "Startup Applications" is not enough :( Blocks caribou (the on screen keyboard) from popping up when you use a touchscreen with a Gnome extension.
Manual installation:
mkdir -p ~/.local/share/gnome-shell/extensions/[email protected]
cd ~/.local/share/gnome-shell/extensions/[email protected]
wget https://github.com/keringar/cariboublocker/raw/master/extension.js
wget https://github.com/keringar/cariboublocker/raw/master/metadata.json
cd
gsettings get org.gnome.shell enabled-extensions
Add Gnome extension (add the new extension to your existing extensions):
gsettings set org.gnome.shell enabled-extensions "['[email protected]']"
Logout - Login.
Firefox doesn't seem to care about the touchscreen at all.
Tell Firefox to use XINPUT2:
sudo nano /etc/environment
MOZ_USE_XINPUT2=1
Logout - Login.
Install Top Icon Plus.
Replace lightdm with gdm:
systemctl disable lightdm.service
pacman -Rs lightdm-webkit2-greeter light-locker-settings light-locker lightdm
pacman -S gdm
pacman -S gtk-engines
systemctl enable gdm.service
pacman -Rs xscreensaver
pacman -S gnome-screensaver
gnome-tweak-tool / Appearance
- Appplications: Arc-Darker
- Cursor: Capitaine-cursors
- Icons: Flat-Remix
- Shell: Arc-Dark
gnome-tweak-tool / Fonts
- Window Title: Ubuntu Bold 12
- Interface: Ubuntu Regular 13
- Document: Sans Regular 13
- Monospace: Ubuntu Mono Regular 15
- Hinting: Slight
gnome-tweak-tool / Keyboard & Mouse / Touchpad
- Click Method: Fingers
- Disable While Typing: True
Install TLP tools:
sudo pacman -S tlp tlp-rdw
Enable TLP tools:
sudo systemctl enable tlp
sudo systemctl enable tlp-sleep
Bumblebee with NVIDIA driver
sudo nano /etc/default/tlp
# Bumblebee with NVIDIA driver
# https://wiki.archlinux.org/index.php/TLP#Bumblebee_with_NVIDIA_driver
RUNTIME_PM_BLACKLIST="07:00.0 07:00.1"
Install NVIDIA & bumblebee:
sudo pacman -S bumblebee primus nvidia nvidia-utils virtualgl
Install 32bit driver for steam:
sudo pacman -S lib32-virtualgl lib32-nvidia-utils
Add user to bumblebee group:
sudo gpasswd -a $USER bumblebee
Set driver to nvidia:
$ sudo nano /etc/bumblebee/bumblebee.conf
Driver=nvidia
TODO / WIP:
- xorg.conf.external, bumblebee-external.conf to /etc/bumblebee/ for external setup
Bash Alias:
$ nano .bashrc
alias razerrun='PRIMUS_SYNC=1 vblank_mode=0 primusrun'
Test:
razerrun glxinfo | grep OpenGL
Install "bolt" for thunderbolt management:
sudo pacman -S bolt
# Authorize and store a device in the database
boltctl enroll
Currently Openrazer not used.
Issue: Settings are lost after suspend (Gnome, Wayland).
Working only with 176x in cheese, or 640x480 in guvcview with 15/1 frames.
This fix not really helped:
/etc/modprobe.d/uvcvideo.conf
## fix issue with built-in webcam
options uvcvideo quirks=512
Connection lost, maybe firmware