Skip to content
David Schneider edited this page Aug 6, 2013 · 9 revisions

The Pixel is fully supported by crouton with only a few minor caveats you need to keep in mind.

When issuing the command to build your chroot, you will want to add -t touch to your command. If you are adding a desktop environment target such as Xfce or Unity, you can combine it with touch via something like -t touch,xfce.

Be aware that until your favorite window manager supports high-DPI displays, results may vary. Users are having good luck using Xfce with a few minor tweaks:

Option #1 - Use X11's -dpi flag:

  1. sudo enter-chroot

  2. Add -dpi 239 to /etc/X11/xinit/xserverrc, like so:

    #!/bin/sh
    exec /usr/bin/X -nolisten tcp "$@" -dpi 239
    

Option #2 change dpi settings in Xfce:

Support for dpi changes are quite spotty... but this way you get to keep text sharp.

  1. In Xfce, right-click the desktop and choose Desktop Settings.
  2. In Icons tab, increase the icon size. Recommended: 72.
  3. Close the window.
  4. Right-click the desktop and choose Applications > Settings > Appearance.
  5. In the Icons tab, select Humanity, Humanity-Dark, or Tango. GNOME icons are not resolution independent.
  6. In Fonts tab, enable Custom DPI and set it to 150, or adjust to your liking.
  7. Close window.
  8. Right-click the desktop and choose Applications > Settings > Panel.
  9. Use the slider to increase the size of the panel. Recommended for ease of touch: 72.
  10. Close the window.

This should give you an interface normal humans are capable of working with. If you have any more tips, please share them!

Option #3 change resolution

Trades the extreme definition for a more standard resolution that works perfectly with any window manager. You can use the included setres script to change your resolution to something custom. The script does not do sanity-checking, so you may end up with a blank screen and have to kill the chroot from Chromium OS if you give a strange resolution. Some examples:

setres 1920 1280
setres 1680 1120
setres 1440 960
setres 1280 850

You can make one of these resolutions persistent by following these steps:

  1. Generate a modeline:
cvt 1920 1280 60

It will output something like:

Modeline "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync
  1. Create a 10-monitor.conf file:
sudo vim /usr/share/X11/xorg.conf.d/10-monitor.conf

You should get something like this:

Section "Monitor"
  Identifier "Monitor0"
  Modeline "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync
EndSection
Section "Screen"
  Identifier "Screen0"
  Device "eDP1"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1920x1280_60" "1280x960"
  EndSubSection
EndSection

If you want a different screen resolution, replace modeline with the one generated by cvt for you.

Option #4 set screen size on Xorg so that dpi goes up to 240

Add a file /etc/X11/xorg.conf.d/90-monitor.conf to explicitly set the screen size, i.e. containing

Section "Monitor"
    Identifier             "<default monitor>"
    DisplaySize            270 180    # In millimeters
EndSection

These numbers are actually taken from the Xorg log file in /var/log -- no clear to me why the correct numbers don't end up being used. Not all apps handle this correctly