Skip to content

Instantly share code, notes, and snippets.

@dzinevich
Forked from adymo/gist:7b1e6db801ed6ae5c36f
Last active January 23, 2016 21:38
Show Gist options
  • Save dzinevich/f1867584393e5f0267ea to your computer and use it in GitHub Desktop.
Save dzinevich/f1867584393e5f0267ea to your computer and use it in GitHub Desktop.
Kubuntu 15.04 Linux on Dell XPS 13 2015 High DPI Setup

Xorg resolution [works]

  • not detected automatically from edid

  • check physical screen dimensions with xrandr

  • put those into /etc/X11/xorg.conf.d/90-monitor.conf

      Section "Monitor"
        Identifier ""
        DisplaySize 293 165 # xrandr reports 294, but 293 makes it 277x277dpi instead of 276x277
      EndSection
      
  • this makes kdm look normal

kubntu runs ssdm

add xrandr --dpi 196 to /usr/share/sddm/scripts/Xsetup

wifi requires

bcmwl-kernel-source package

screen blackout

workaround - close/open lid

reported to work in 4.4 kernel, testing right now

Qt5 High DPI support [works]

  • add this to /usr/bin/startkde, preferrably line 150 after $configDir/startupconfig call export QT_DEVICE_PIXEL_RATIO=2
  • this makes plasma desktop and all Qt5 applications scale widgets/menus/etc.

Fonts [works]

  • using KDE fonts configuration set fonts dpi to 192 (96*2, to avoid font rendering artifacts)
  • set window title font to 18px
  • this makes all KDE apps look normal (except for small icons in all KDE4 apps)

Mouse Cursor [mostly works]

  • set mouse cursor size to 48 in cursor theme
  • this fixes small cursor in plasma root window and applets
  • nothing will fix small cursor in skype

Skype [mostly broken, but bearable]

  • install qtconfig-qt4 and configure fonts there, will fix some qt4 apps too
  • picks up kde font sizes, but not everywhere
  • mouse cursor will become small in skype window
  • TODO

Gimp [mostly works]

Chromium [mostly works]

  • chromium-browser --force-device-scale-factor=2
  • google chrome should work with proper X settings as above

Firefox [works]

  • no changes required, works perfectly

Audio [works]

  • aptitude install pavucontrol
  • open pavucontrol, go to configuration, disable hdmi audio
  • (optional) in kde audio settings choose builtin speaker priority

Faster Intel Video Playback [Not Tested]

  • create /etc/X11/xorg.conf.d/10-intel.conf
      Section "Device"
        Identifier    "Intel Graphics"
        Driver        "intel"
        Option        "AccelMethod"  "sna"
        Option        "TearFree" "true"
      EndSection
      

Firefox Hardware Acceleration [Effect Unclear]

Flash Hardware Acceleration in Firefox [Mostly Works]

Konsole Rendering Artifacts [Use Alternative]

  • seems to be a bug in kde5-based konsole app itself
  • use alternative: sudo aptitude install yakuake

Touchpad Palm Detection [Use Alternative]

  • use KDE touchpad default settings, then set disable touchpad while typing to ~750ms
  • palm detection doesn't work in both ps and i2c modes

Grub [Works]

TTY [Works]

Unsolved Bugs

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