- Create user
- Add online accounts as needed
- Ubuntu One
sudo apt update
sudo apt upgrade
sudo reboot
- Firefox login to sync extensions and bookmarks. Passwd is in Bitwarden.
sudo apt-get install chrome-gnome-shell gnome-tweaks vim curl python3-pip xdg-desktop-portal xdg-desktop-portal-gtk flatpak gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-keyring-daemon imagemagick libheif1 libheif-examples jq
sudo apt install flatpak
flatpak install flathub org.gnome.FeedReader
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
curl -O https://aka.ms/get-teams-linux
sudo apt install teams_1.3.00.958_amd64.deb
- Extensions
- https://extensions.gnome.org/extension/517/caffeine/
- https://extensions.gnome.org/extension/779/clipboard-indicator/
- https://extensions.gnome.org/extension/1206/clock-override/
- https://extensions.gnome.org/extension/307/dash-to-dock/
- https://extensions.gnome.org/extension/2/move-clock/
- https://extensions.gnome.org/extension/750/openweather/
- https://extensions.gnome.org/extension/517/caffeine/
- https://extensions.gnome.org/extension/2/move-clock/
- https://extensions.gnome.org/extension/708/panel-osd/
- https://extensions.gnome.org/extension/648/bitcoin-markets/
- run
gnome-tweaks
and configure extensions - Gnome Shell dark config https://gist.github.com/jfeilbach/562c87364533b003aaf49044c60555a9
sudo vim /etc/default/grub
- add
mitigations=off
- run
sudo update-grub
sudo reboot
(at some point)
- add
- run
gnome-tweaks
- go to extensions
- go to
Desktop Icons
- disable
Show the trash icon in the desktop
- Go to
Settings
- Then go to
Devices
- then go to
Mouse & Touchpad
- Enable
Natural Scrolling
curl https://gist.githubusercontent.com/jfeilbach/bcc72c4a1e74f4bea06963321ae35d04/raw/b6abf66b2f7f79bb2c0999d0d4ed534f1e58cae5/.bashrc > ~/.bash_aliases
curl https://gist.githubusercontent.com/jfeilbach/ > ~/.bash_profile
sudo update-alternatives --config editor
curl -O https://gist.githubusercontent.com/jfeilbach/455d6f75ceacec7bb3b63c777cdd1d0c/raw/acfc84f41ccd3c914feede2a057dbf2fad70eb3c/awscli.gpg.pub
gpg --with-fingerprint --import-options show-only --import < awscli.gpg.pub
gpg --import awscli.gpg.pub
curl -o awscliv2.sig https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip.sig
- `cd ~/Downloads ; awsurl='https://awscli.amazonaws.com' ; file='awscli-exe-linux-x86_64.zip' && curl -O "${awsurl}/${file}"
key='Primary key fingerprint: FB5D B77F D5C1 18B8 0511 ADA8 A631 0ACC 4672 475C' ; gpg --verify awscliv2.sig awscli-exe-linux-x86_64.zip && echo ${key}
unzip ${file} && cd ~/Downloads/aws && ./install -i ~/.local/aws-cli -b ~/.local/bin
- I you are not using
virtualenv
, to install globally:sudo pip install awscli
- Tab completion setup
- bash:
complete -C aws_completer aws
- zsh:
- For zsh please refer to
bin/aws_zsh_completer.sh
. Source that file, e.g. from your~/.zshrc
, and make sure you runcompinit
before:$ source bin/aws_zsh_completer.sh
- The bash compatibility auto completion (
bashcompinit
) is used. For further details please refer to the top ofbin/aws_zsh_completer.sh
- For zsh please refer to
- bash:
sudo ~/Downloads/aws/install --bin-dir /home/jason/.local/aws-cli --install-dir /usr/local/aws-cli --update
aws ec2 authorize-security-group-ingress --group-name MySecurityGroup \
--ip-permissions '{"FromPort":22,"ToPort":22,"IpProtocol":"tcp","IpRanges":[{"CidrIp": "0.0.0.0/0"}]}'
sudo update-alternatives --config editor
- Cleanup default installed files:
- sudo rm -rf /usr/share/hplip
- sudo rm -rf /etc/hp
- sudo rm -rf ~/.hplip
- sudo rm -rf /var/lib/hp
- Download client https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
chmod 700 hplip-3.19.12.run
- run
./hplip-3.19.12.run
- Follow Instructions
- run
hp-doctor
- Pray.
- Support https://launchpad.net/hplip Most likely it will be ignored forever, as HP barely supports this thing.
- Be sure you already have run
aws configure
before setup of fed cli tool - Download from confluence
sudo cp -v ~/Downloads/fed-linux-amd64/fed /usr/local/bin/fed && sudo chmod -v 755 /usr/local/bin/fed
- username="[USAC ID]"
- Build an AWS CLI profile
fed --username <username> list
- Get the AWS account ARN(s) for profile
fed --username <username> list
- This is the ARN(s) from the above output
- Store the profile
fed -u <username> add -p <profile name> <ARN>
- Inspect your ~/.aws/credentials file
- Do this for each profile you want added to your AWS configuration
- There no remove command. Manually edit ~/.aws/credentials
- Generate access key, secret access key, and session token
fed -u <username> up <profile>
- Edit credentials file as needed
- Optional: add "region = us-east-1"
- Optional: increase timeout, maximum is 12 hours, add "fed_role_duration = 43200" Otherwise the default value is one hour. I never was able to get this to work.
- Store Username as env var
- If your your localhost username does not match your PIN you can set and environment variable called 'FED_USERNAME'
- You can now simply run:
fed up <profile>
, e.g.fed up di
- You can now simply run:
- Set Default profile
- If you spend time in a particular AWS profile you might want to set the environment variable called 'AWS_DEFAULT_PROFILE'
- e.g. export AWS_DEFAULT_PROFILE='di'
- Test each profile
- export CONFIG_FILE="$HOME/.aws/credentials" ;
fed up <profile> ; cat ~/.aws/credentials
; for profile in $(awk '/^[/ { gsub("]", ""); print $2 }' < $CONFIG_FILE); do aws ec2 --profile $profile" done
- export CONFIG_FILE="$HOME/.aws/credentials" ;
sudo update-alternatives --config gdm3.css
curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install google-chrome-stable_current_amd64.deb
rm -vf google-chrome-stable_current_amd64.deb
sudo apt purge google-chrome-stable
rm -rvf ~/.config/google-chrome/
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
- sudo apt-get install apt-transport-https
- Channel
- Stable
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
- Dev
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
- Stable
- Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text