Skip to content

Instantly share code, notes, and snippets.

@nro-bot
Last active January 3, 2019 01:19
Show Gist options
  • Save nro-bot/381d4f0d2893243fb9b298930d9fe72a to your computer and use it in GitHub Desktop.
Save nro-bot/381d4f0d2893243fb9b298930d9fe72a to your computer and use it in GitHub Desktop.
Ubuntu 18.10 on Thinkapd X1 Yoga Gen 2
* Brightness keys don't work. Instead
rui@chaiX1YG2:~$ xrandr --output eDP-1 --brightness 0.8
As a temp solutions, I created keyboard shortcuts for 0.8 (super-f6) and 0.3 (supers-f5) settings, using
gnome-terminal -e "sh \home\rui\brightdown.sh" (may require chmod +x)
Via the settings GUI -> add a custom shortcut
* Suspend doesn't seem to work
systemctl suspend -i
* Wayland works, but then cannot change brightness as above (no display named eDP-1)
* There is no option for scaling other than 100% or 200%.
Workaround - scale text in GUI (does not apply to text inside applications, e,g, Firefx)
rui@chaiX1YG2:~$ gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
## Works well
middle click key, sound buttons, wireless, auto-rotate when laptop tipped,
## Todo
Check out battery life (just browsing, half brightness) and during suspend
## Debug
There appear to be occasional issues switching window focus in firefox. And text in the location bar can appear on other half of screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment