Advertisement
Guest User

Untitled

a guest
Feb 9th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. # README.md
  2. The following is an explanation of each file and what purpose it serves, as well as how the result is achieved.
  3.  
  4. ## 10-monitor.conf
  5.  
  6. 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.
  7.  
  8. ## chrome-autostart.desktop
  9.  
  10. 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
  11.  
  12. ## main.preseed
  13.  
  14. 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.
  15.  
  16. ## main-virtual.preseed
  17.  
  18. 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.
  19.  
  20. ## custom.conf
  21.  
  22. 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.
  23.  
  24. ## google-chrome-stable\_amd64\_80.0.3987.87-1.deb
  25.  
  26. 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.
  27.  
  28. ## id\_rsa.pub
  29.  
  30. This becomes both the public key for the account but also becomes an authorized_keys key to allow remote connection right off the bat.
  31.  
  32. ## sshd\_config
  33.  
  34. 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
  35.  
  36. ## .profile
  37.  
  38.  
  39. This file is the sets up a custom gschema to do a few things:
  40. * Disable the lock screen
  41. * Enable hiding of the ubuntu dock and set the intellihide mode
  42. * Disabling of the screensaver entirely
  43. * Disable idle-timeout to make sure the screen doesn't go to sleep
  44.  
  45. ## Consent To Send Stats, First Run, and Local State
  46.  
  47. These files are placed in the `~/.config/google-chrome` folder in order to supress messages from Chrome that appear on first run.
  48.  
  49. ## gnome-initial-setup-done
  50.  
  51. This file simply contains the word "yes" and serves the purpose of inhibiting the "Welcome to Ubuntu" dialog box from showing up.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement