Skip to content

Instantly share code, notes, and snippets.

@ilyakatz
Last active December 17, 2015 05:59
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ilyakatz/5562463 to your computer and use it in GitHub Desktop.
Save ilyakatz/5562463 to your computer and use it in GitHub Desktop.
html5 video

Ubuntu 12.04 on Samsung ChromeBook

Prerequisites

  • perform system update
    • if you do it later it will ask for all kind of permissions to override various config files
    • change password for root
      • default password is user

###Fix trackpad sudo apt-get install git cd Downloads git clone https://github.com/jbdatko/chrubuntu_trackpad.git chrubuntu_trackpad/fix_trackpad.sh logout and log back in

###Update time zone

###Enable two finger scrolling http://www.whatthetech.info/trackpad-touchpad-fix-chrubuntu/

  mkdir ~/backup
  sudo cp /var/lib/alsa/asound.state ~/backup

###Fix sound -http://www.whatthetech.info/fixing-sound-chromebook-chrubuntu/

###Fix flash http://retrofatty.blogspot.com/2013/02/chrubuntu-install-and-fixes.html

   cd ~/Downloads/ && gunzip flashplayerarm.tar.gz
   mkdir flash_fix && tar -zxf flashplayerarm.tar.gz -C ./flash_fix
   cd flash_fix
   sudo cp libpepflashplayer.so /usr/lib/chromium-browser/plugins
   sudo cp default /etc/chromium-browser

###Make sure that user is not auto logged in - cp /etc/lightdm/lightdm.conf ~/backup/ - http://askubuntu.com/questions/106428/how-to-disable-automatic-login

###Fix brightness buttons

###Restore brightness after reboot

  • Currently, there is a bug where brightness is reset after reboot: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/870805

  • Hack around it is to store you favorite value after reboot

        cp /etc/rc.local ~/backup/
        BRIGHTNESS_FILE=`ls /sys/class/backlight/*/brightness`
        echo "echo `cat $BRIGHTNESS_FILE` > $BRIGHTNESS_FILE"
    
  • Add the output of the above line to /etc/rc.local before return 0:

###Optional installs sudo apt-get update sudo apt-get install chromium sudo apt-get install locate sudo updatedb sudo apt-get install pithos ###3G

HTML5 videos

   sudo apt-get install x264

###Fix USB3

   cp /etc/modprobe.d/blacklist.conf ~/backup
   add to /etc/modprobe.d/blacklist.conf

        blacklist uas

###Give yourself a way to go back to chrome

Right click

  • It is not broken, just different. Click on the touchpad with two fingers

###Add ability to hibernate (Note: doesn't seem to work if you physically close the lid)

   sudo install hibernate
   echo SLEEP_MODULE=hibernate >> /etc/pm/config.d/00sleep_module

To hibernate manually

   sudo hibernate

Restart to have "Suspend" option appear in top-right options

Not sure if this is relevant anymore

  • allow to put computer into suspend mode
    • cd /usr/share/X11/xorg.conf.d

    • cp 10-monitor.conf ~/backup/10-monitor.conf.backup

    • add the following

          Section “Monitor”
            Identifier “Monitor0″
            Option “DPMS” “false”
          EndSection
      
    • in the Section "Screen", add the following

           Monitor	 “Monitor0″
      
    • http://www.whatthetech.info/chrubuntu-known-issues/#comment-529

@pnkfelix
Copy link

Your step for "allow to put computer into suspend mode" is missing the part about adding a line for the Monitor into the Screen section, as documented in Bob's original post. You might want to update that.

@ilyakatz
Copy link
Author

ilyakatz commented Jul 9, 2013

@pnkfelix, thanks, added

@nmmmnu
Copy link

nmmmnu commented Sep 6, 2013

Can you explain how one can "steal" the ChromOS display driver for X and use it in Linux?

@ilyakatz
Copy link
Author

sorry @nmmmnu, don't know how to do that

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