20160504

Cinnamon Falco

Another quick reference guide and note to help me remember all the install setup stuff to get my PCs running on LinuxMint Cinnamon on my HP 14 Chromebook otherwise known as Falco.

Falco: model# C2B-C3A-P7B
Steps 1-5 are for the HP 14 Falco Chromebook. Steps 6-10 are applicable for all Linux Mint systems.
  1. Activate Dev Mode (Only need to do this once.)
    1. With the Chromebook off, press and hold "ESC + refresh key + Power"
      and follow the onscreen steps to complete Dev Mode activation.
    2. Set up and account for the Chromebook Admin.
    3. Log in.
    4. Synchronize
    5. Open a terminal, "CTRL + ALT + T" and enter the following:
      $ chronos sudo bash
      # chrossystem dev_boot_usb = 1 dev_boot_legacy = 1
      # sudo reboot
  2. Access Dev Mode (Do this every time you want to boot to ChromeOS Dev Mode.)
    1. At the Chromebook Dev Boot Screen press "CTRL + D"
  3. Activate RAM for Live Boot Disk Installation (Only need to do this once. for LM17.x)
    1. @ USB install screen countdown, press "Tab".
    2. @ 1st option press "Tab".
    3. @ end of code press "Space Bar" and add the following: mem-1980M
    4. This should allow a Linux USB Live Installer to work on a Chromebook.
  4. Access Legacy Mode (Do this every time you want to boot from USB.)
    1. At the Chromebook Dev Boot Screen press "CTRL + L"
    2. Press "ESC"
    3. Select the number of your USB drive
    4. If not already installed this is the point at which you would install your Linux flavor. Reboot and follow steps 4.1-4.3 to access the linux install.
    5. After installing Linux, removal of the mem=1980M from the grub boot is required for full RAM use. Open the grub boot file and remove all instances of "mem=1980M", save and close the file.
      $ sudo gedit /boot/grub/grub.cfg
      Reboot for the changes to take effect.
  5. Falco Hardware
    1. MFC-7440N Brother Printer/Fax/Scanner
      1. Install Printer Drivers
        1. Open a terminal and enter the following steps:
        2. $ wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7440nlpr-2.0.2-1.i386.deb
        3. $ sudo dpkg -i --force-all brmfc7440nlpr-2.0.2-1.i386.deb
        4. $ wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7440N-2.0.2-1.i386.deb
        5. $ sudo dpkg -i --force-all cupswrapperMFC7440N-2.0.2-1.i386.deb
        6. $ dpkg -l | grep Brother
      2. Configure the Printer by opening your system's Printer manager and select properties for MFC-7440N.
        1. Device: "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect"
        2. Device URI: lpd://(Your printer's IP address)/binary_p1
        3. Manufacturer: Brother
        4. Model: Brother MFC-7440N for CUPS (en) [note that this shows up at the bottom of the list]
      3. Install Scanner Drivers
        1. Open a terminal and enter the following steps:
        2. $ wget http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-5.amd64.deb
        3. $ sudo dpkg -i --force-all brscan3-0.2.11-5.amd64.deb
        4. $ dpkg -l | grep Brother
      4. Open a terminal and Configure the Scanner (use your IP, this one is mine)
        1. $ brsaneconfig3 -a name=Brother_Scanner model=MFC-7440N ip=192.168.100.112
        2. $ brsaneconfig3 -q | grep 7440N
    2. Falco Touchpad Fix - X11 cmt input driver : Hugh Greenberg
      1. $ sudo add-apt-repository ppa:hugegreenbug/cmt 
      2. $ sudo apt-get update 
      3. $ sudo apt-get install xf86-input-cmt
    3. Falco Keyboard Fix - https://wiki.archlinux.org/index.php/HP_Chromebook_14
      1. Open the keyboard.hwdb file for editing
      2. $ sudo gedit /lib/udev/hwdb.d/60-keyboard.hwdb
      3. Replace the "Chromebook 14" section with the following:
        # Chromebook 14
        # Top row keys (between ESC and power button) keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
        # Chromebook 14 fix
        # KEYBOARD_KEY_3b=back
         KEYBOARD_KEY_3b=f1
        # KEYBOARD_KEY_3c=forward
         KEYBOARD_KEY_3c=f2
        # KEYBOARD_KEY_3d=fullscreen #no defined key sym
         KEYBOARD_KEY_3d=f3
        # KEYBOARD_KEY_3e=refresh
         KEYBOARD_KEY_3e=f4
        # KEYBOARD_KEY_3f=switchvideomode
         KEYBOARD_KEY_3f=f5
        # KEYBOARD_KEY_40=brightnessdown
         KEYBOARD_KEY_40=f6
        # KEYBOARD_KEY_41=brightnessup
         KEYBOARD_KEY_41=f7
        # KEYBOARD_KEY_42=mute
         KEYBOARD_KEY_42=f8
        # KEYBOARD_KEY_43=volumedown
         KEYBOARD_KEY_43=f9
        # KEYBOARD_KEY_44=volumeup
         KEYBOARD_KEY_44=f10
        # KEYBOARD_KEY_db=search #Same position as caps lock key on most keyboards
         KEYBOARD_KEY_db=leftmeta

        Save and close the file.
      4. $ sudo udevadm hwdb --update
      5. Reboot to load the updated hwdb database.
      6. Use the Cinnamon Keyboard Shortcuts manager to configure the backlight and audio keys using the "Search" key and appropriate "F#" key as the combination keys.
    4. Falco Suspend Fix
      1. https://forums.linuxmint.com/viewtopic.php?t=163544
      2. http://realityequation.net/installing-elementary-os-on-an-hp-chromebook-14
  6. Auto Updates
    1. Open your terminal and run update:
      $ sudo apt-get update
    2. Install the “unattended-upgrades” package; This is the package used to install the updated packages automatically:
      $ sudo apt-get install unattended-upgrades
    3. Next, the configuration file needs to be edited; To configure the unattended-upgrades edit the /etc/apt/apt.conf.d/50unattended-upgrades file and make changes according to your needs:
      $ sudo gedit /etc/apt/apt.conf.d/50unattended-upgrades
    4. Make the following changes to 50unattended-upgrades:
      // Automatically upgrade packages from these (origin, archive) pairs.
      Unattended-Upgrade::Allowed-Origins {
      "${distro_id} ${distro_codename}-security";
      "${distro_id} ${distro_codename}-updates";
      // "${distro_id} ${distro_codename}-proposed";
      // "${distro_id} ${distro_codename}-backports";
      // You also have to add the following two Rows,
      // otherwise you'll just update the Mint-Packages.

      "Ubuntu trusty-security";
      "Ubuntu trusty-updates";
      };
      // And to minimize the tech support to friends and relatives on how to update :-D
      // Remove the //, so it's not a comment anymore, and the update will be done
      // when the PC is shut down.

      Unattended-Upgrade::InstallOnShutdown "true";
  7. Symbolic Links and File Syncs - This is so you don't store your personal files on the main drive. It helps with backup and expansion of your storage space.
    1. creating-a-symlink-from-one-folder-to-another-with-different-names
    2. how-to-store-pictures-folder-on-another-hard-drive
    3. See grsync for File Sync methods.
  8. Network Shares
    Open a terminal and enter the following steps:
    1. Edit smb.conf as root:
      $ sudo gedit /etc/samba/smb.conf
    2. Add a line right under the workgroup line towards the top of the file that looks like this:
      force user = $USER
      Save and Close the file.
    3. Make sure port 5353 is open. If you are not sure just disable the firewall if you are using one:
      $ sudo ufw disable
    4. Then restart samba:
      $ sudo service smbd restart
    5. Mount Windows Shares Permanently
    6. how-to-easily-access-your-home-network-from-anywhere-with-ddns
  9. Internet Browser Sync
    1. Firefox Sync
    2. Chrome
    3. LastPass
    4. Xmarks
  10. Aptik (Profiles, PPAs and PKGs)
    At this point it is a good idea to make any custom settings changes for example; desktop background, file management, screen savers, and power management behaviors
    1. Install PPAs and PKGs See cinnamon-crouton wiki for a list of recommended installs.
    2. Backup PPAs, PKGs, and User Profile
    3. Restore PPSs, PKGs, and User Profile
If something doesn't make sense in the steps, please click the link nearest the step and read up on it.