FlintSable
2/21/2020 - 8:25 PM

Crouton Debian XFCE setup

#Changing a computer name
/etc/hostname

/etc/hosts
  127.0.0.1     localhost.localdomain localhost
  127.0.1.1     newname

# scaling 
# Appearance > Fonts > Custom DPI setting

# install macos theme
# unzip downloaded theme folder
mv /home/nicholas/downloads/downloaded-theme /usr/share/themes
mv /home/nicholas/downloads/downloaded-icon /usr/share/icons
# goto window manager and change max, resize, min buttons to left side


#install firefox
#download and move to ~/firefox
# extract tar
tar xjf firefox-73.0.1.tar.bz2 
mv firefox ~/firefox/
#then call to open 
~/firefox/firefox

# install git
sudo apt-get install git

# install whisker menu
sudo apt-get update; sudo apt-get install xfce4-whiskermenu-plugin

# install google chrome hack way

chronos@localhost / $ su vi /mnt/stateful_partition/crouton/chroots/debian/etc/pam.d/su-l
comment out this line ( with a # )
# session optional pam_keyinit.so force revoke
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

# install clion
sudo apt install cmake gcc g++ clang
sudo tar xfz ~/Downloads/CLion-*.tar.gz -C /opt
cd /opt/clion-<version>/bin
./CLion.sh

sudo enter-chroot -n buster
# enter root password
# enter chroot passphrase
install synaptics drivers
sudo apt-get install xserver-xorg-input-synaptics

# finding device name
# query system input devices
cat /proc/bus/input/devices

Pixelbook go
ACPI0C50:01 04F3:30C5 Touchpad

location of config file
/usr/share/X11/xorg.conf.d/50-mtrack.conf
/usr/share/X11/xorg.conf.d/70-synaptics.conf
refer to uploaded files for the config files 

relevent links 
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
https://howchoo.com/g/mdy0ngziogm/the-perfect-almost-touchpad-settings-on-linux-2
https://chromium.googlesource.com/chromiumos/platform/xorg-conf/+/refs/heads/stabilize-volteer-12665.B/50-touchpad-cmt-atlas.conf