-
-
Save usametov/6f5c22aee14d717f29a3c91a37016177 to your computer and use it in GitHub Desktop.
a version that I was editing and lost track of what I changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu install | |
Also see earlier install guide https://gist.github.com/jr0cket/7655cf6f0dcd889ca0dbb0edb2b544c2 | |
## X1 Extreme installation | |
Download Ubuntu server iso image | |
burn image to usb | |
Enter and f1 to open bios config | |
- remove secure boot | |
### Run Ubuntu server install | |
Set region | |
#### manual partition | |
delete all existing partitions | |
create 250 Mb unformatted partition on each disk | |
create 980 Gb unformatted partition on each disk | |
Create raid partition with two 980Gb partitions | |
Create LVM on raid partition, set encryption | |
### Snaps | |
Install heroku snap | |
### nvidia hardware support | |
apt get install ubuntu-drivers-common | |
;; List the devices and recomended drivers | |
ubuntu-drivers devices | |
;; install the recommended drivers | |
sudo ubuntu-drivers autoinstall | |
When desktop is running, use nvidia-settings and set to mixed (intel and nvidia) | |
#### Laptop tools | |
sudo apt install laptop-mode-tools | |
?? config?? | |
#### Customise desktop | |
Install regolith (desktop) | |
``` | |
sudo add-apt-repository ppa:regolith-linux/release | |
sudo apt install regolith-desktop | |
``` | |
Practicalli Solarized Light theme for Regolith | |
https://github.com/practicalli/regolith-solarized-light/ | |
Ubuntu desktop meta package ?? Not essentail, but saves installing individual packages | |
;; sudo apt install ubuntu-desktop | |
sudo apt install gnome-tweak | |
Ubuntu fonts | |
`sudo apt install fonts-ubuntu` | |
Update the firmware (on the latest version, 0.1.28) | |
sudo fwupdmgr update | |
# Development environment | |
## Git | |
sudo apt-get install git | |
clone .gitconf from github jr0cket/dotfiles-ubuntu repo | |
### GitHub and GitLab SSH keys | |
Generate key with | |
ssh-keygen -t rsa -C "[email protected]" | |
Add new SSH key to GitHub account | |
https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account | |
Add key to Ubuntu key manager (Gnome Keyring - https://wiki.gnome.org/action/show/Projects/GnomeKeyring) | |
On first use of the new ssh key, i.e. clone a repository over SSH ([email protected]:practicalli/graphic-design.git) you are automatically prompted to save it to the Gnome keyring (assuming you are using the Gnome or Unity desktops) - a graphical popup displays, check to unlock keys at login. | |
## Zsh | |
Install zsh from Ubuntu software center | |
Install prezto | |
## Java environment | |
openjdk-11 | |
sudo apt-get install openjdk-11-jdk | |
## Emacs | |
Version 26.3 | |
Spacemacs develop | |
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
Practicalli spacemacs configuration | |
git clone https://github.com/practicalli/spacemacs-config | |
TODO: refactor this repository and remove the top level, so that I can clone directly to .spacemacs.d | |
### External tools for emacs | |
clj-kondo clojure linter | |
ripgrep for searching | |
sudo apt install ripgrep | |
Locate files with `SPC f L` - helm-locate | |
sudo apt install locate | |
## Clojure environment | |
Clojure CLI tools - https://clojure.org/guides/getting_started | |
``` | |
curl -O https://download.clojure.org/install/linux-install-1.10.1.507.sh | |
chmod +x linux-install-1.10.1.507.sh | |
sudo ./linux-install-1.10.1.507.sh | |
``` | |
install rlwrap for clj | |
`sudo apt install rlwrap` | |
Clone the deps.edn config to .clojure | |
``` | |
mkdir -p ~/projects/clojure | |
git clone https://github.com/practicalli/deps-edn-examples ~/projects/clojure/deps-edn-examples | |
mkdir ~/.clojure | |
ln -s ~/projects/clojure/deps-edn-examples/deps.edn ~/.clojure/deps.edn | |
``` | |
Add rebel.readline configuration | |
### Leiningen | |
Check which version in in ubuntu pakage manager | |
Install leiningen using official linux shell script. Will need to check that ~/bin is in the path | |
clone a few clojure repos to test leiningen is working | |
## Heroku Toolbelt | |
Install from snap ?? | |
## Node.js for GitBook and Hexo static site generators | |
nodejs package available in Ubuntu | |
# Broadcasting / screencasts | |
sudo apt install obs-studio | |
Install screenkey | |
Configuration: https://gist.github.com/jr0cket/258ac175629cf16bf072dafb081f80a9 | |
Lightworks (pro video Editor) | |
https://www.omgubuntu.co.uk/2020/02/lightworks-20-release-features | |
Blender modeling, animation, video editing | |
sudo apt install blender | |
## Apps | |
Geeqie - image viewer | |
## Screen grabs and screen casts | |
Openshot | |
Shutter | |
Kazam screencaster | |
## Graphics stuff | |
gimp | |
inkscape | |
scribus | |
blender | |
## Drop box for Lean Pub books | |
download from the Dropbox website, confirm installation of the additonal software package for Ubuntu. | |
## Ebook reader & manager | |
Calibre | |
FBReader | |
## Performance testing | |
Battery life. | |
Charging up time | |
Processes using a lot of cpu, or keeping cpu running unneccessarily. Use system monitor. | |
### LastPass install | |
Firefox plugin | |
https://lastpass.com/misc_download2.php | |
follow prompts to install | |
Login to lastpass to enable password management | |
## OBS Setup | |
> Issue: High CPU 100% when using video capture device, i.e. for webcam | |
> after installing laptop-mode-tools and v4l-utils the fans seem to be on much less | |
Install codecs | |
sudo apt install ubuntu-restricted-extras | |
http://ubuntuhandbook.org/index.php/2019/10/install-multimedia-codecs-ubuntu-19-10/ | |
Login to YouTube and get stream key | |
### Run OBS | |
Run automatic configuration wizzard with YouTube stream service and bitrate of 6000 - youtube recommendation https://support.google.com/youtube/answer/2853702?hl=en-GB | |
Tweak settings to make sure they are good enough - seems good | |
## Setup Scene Collection | |
Scene Collection > new | |
Practicalli Study Group | |
Switch between scene collections in the Scene collection menu | |
## Set up scenes and sources | |
Switch between scenes to have a very smooth transition between video and audio sources. | |
For example, start a stream with a full screen webcam scene and then change to a desktop view with just a thumbnail webcam | |
Rename the existing scene to 'webcam full screen' and add a Video Capture Device as a source. | |
Accept the properties defaults. In the canvas, drag the corner of the video to fill the whole screen. Add image sources for graphic overlays that add channel branding. | |
Create and add a nice 3rd banner for the webcam view, with the tag line of the Practicalli channel, "Discover the fun in functional programming", book thumbnails (slideshow?), website address, github repo and twitter handle. | |
Create a second scene called desktop. Add a Screen Capture source and call it laptop desktop. Add a video capture device for the thumbnail of the webcam. Use the existing webcam source and scale down in the canvas. Add any other branding. | |
> Use the up and down arrows on the Sources menu to raise or lower a source, if it is hidden behind another source | |
Create a third scene called Editor that just includes the Emacs editor using the Window Capture source. | |
Keyboard shortcut to switch between scenes? | |
Clojure logo colour hash codes | |
https://www.schemecolor.com/clojure-logo-colors.php | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment