a guest Feb 9th, 2020 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # README.md
- The following is an explanation of each file and what purpose it serves, as well as how the result is achieved.
- ## 10-monitor.conf
- This file is used to add an extra resolution mode for the 4k TVs. By default, Ubuntu only detects 4k resolutions and 1920x1080 resolutions. This will add a 1440p resolution by specifying the modeline for it.
- ## chrome-autostart.desktop
- This file is placed in the ~/.config/autostart directory in order to automatically start Google Chrome, maximized. This can be later modified by the user to their liking and will not require root permissions to do so. This file is simply a shortcut to the Google Chrome executable like you would find in /usr/share/applications
- ## main.preseed
- This file is the preseed file that will tell the ubiquity installer what defaults to use when setting up the mini PC. This will also run some commands(including what's in `post-install.sh`) at the end of the installation session in order to finish setting up the default-user account beyond what ubiquity (the system installer) was programmed to do.
- ## main-virtual.preseed
- This file is used when testing in a virtual machine the types of things that can be tested there. This file is missing the transfer of the `10-monitor.conf` file and uses `/dev/sda` as the primary disk instead of the `mmcblk0` device that's part of the Mini PCs hardware configuration.
- ## custom.conf
- This is a file copied into /etc/gdm3 that will set up autologin. I've read in a few places that this cannot be preseeded so I'm going this route instead, since it'll probably be more reliable anyway.
- ## google-chrome-stable\_amd64\_80.0.3987.87-1.deb
- Instead of adding the Google PPA using traditional methods, I opted to make sure that we can use a single version of the Google Chrome binary, in order to avoid errors upon installation. An internet connection is still required but we use dpkg -i to install instead of apt.
- ## id\_rsa.pub
- This becomes both the public key for the account but also becomes an authorized_keys key to allow remote connection right off the bat.
- ## sshd\_config
- This is a custom configuration file for the openssh server daemon to read the settings from. The settings have been modified to disallow root login as well as only permit pubkey authentication
- ## .profile
- This file is the sets up a custom gschema to do a few things:
- * Disable the lock screen
- * Enable hiding of the ubuntu dock and set the intellihide mode
- * Disabling of the screensaver entirely
- * Disable idle-timeout to make sure the screen doesn't go to sleep
- ## Consent To Send Stats, First Run, and Local State
- These files are placed in the `~/.config/google-chrome` folder in order to supress messages from Chrome that appear on first run.
- ## gnome-initial-setup-done
- This file simply contains the word "yes" and serves the purpose of inhibiting the "Welcome to Ubuntu" dialog box from showing up.
RAW Paste Data