Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Lubuntu on Lenovo Yoga 2 Pro

Wifi

Add the following to /etc/modprobe.d/blacklist.conf

blacklist ideapad_laptop

Chrome

If chrome isn't scaling properly, you can force it by running something like

google-chrome --force-device-scale-factor=2

GDK

In ~/.profile, add the following

export GDK_SCALE=2

Grub

In /etc/default/grub, make the following change

GRUB_GFXMODE=1024x768

Then run sudo update-grub

LightDM

Ensure the following dpi setting in /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf

xserver-command=X -core -dpi 192

Add the following to /etc/lightdm/lightdm-gtk-greeter.conf

xft-dpi=192

Console

run sudo dpkg-reconfigure console-setup

  • select "UTF-8"
  • select "Guess optimal character set"
  • select "Let the system select a suitable font"
  • select "16x32 (framebuffer only)"

Volume

Volume buttons can be fixed by modifying this section of ~/.config/openbox/lubuntu-rc.xml

    <!-- Keybinding for Volume management -->
    <keybind key="XF86AudioRaiseVolume">
      <action name="Execute">
        <command>amixer -c 1 -q sset Master 3%+ unmute</command>
      </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
      <action name="Execute">
        <command>amixer -c 1 -q sset Master 3%- unmute</command>
      </action>
    </keybind>
    <keybind key="XF86AudioMute">
      <action name="Execute">
        <command></command>pactl set-sink-mute 1 toggle</command>
      </action>
    </keybind>

Then openbox --restart

Other

https://askubuntu.com/questions/667466/screen-tearing-in-ubuntu-with-nvidia-intel-graphics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment