Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## [5a] Game Preparation
- mkdir "$HOME/Games" # Make Directory
- cd "$HOME/Games" # Change Directory
- ## [5b] DoomRL (Game)
- wget --retry-connrefused --waitretry=3 --no-check-certificate "http://drl.chaosforge.org/file_download/37/doomrl-linux-x64-0997-lq.tar.gz" # Download DoomRL
- tar -zxf "doomrl-linux-x64-"*"-lq.tar.gz" # Unzip DoomRL
- rm "doomrl-linux-x64-"*"-lq.tar.gz" # Remove Zipfile
- mv "doomrl-linux-x64-"*"-lq" "Doom RL" # Change Filename
- chown -R $USER: "$HOME/Games/Doom RL" # Fix Ownership
- sed -i 's/Graphics = "TILES"/Graphics = "CONSOLE"/g; s/SoundEngine = "DEFAULT"/SoundEngine = "NONE"/g' "$HOME/Games/Doom RL/config.lua" # DoomRL Configuration
- ## [5c] DiabloRL (Game)
- wget --retry-connrefused --waitretry=3 --no-check-certificate "http://diablo.chaosforge.org/file_download/13/diablorl-linux-x64-050.tar.gz" # Download DiabloRL
- tar -zxf "diablorl-linux-x64-"*".tar.gz" # Unzip DiabloRL
- rm "diablorl-linux-x64-"*".tar.gz" # Remove Zipfile
- mv "diablorl-linux-x64-"*"0" "Diablo RL" # Change Filename
- chown -R $USER: "$HOME/Games/Diablo RL" # Fix Ownership
- sed -i 's/graphics = true/graphics = false/g; s/console_y = 33/console_y = 25/g' "$HOME/Games/Diablo RL/config.lua" # DiabloRL Configuration
- ### [6a] General System / Shell Configurations
- sudo ufw enable # Enable Firewall
- ## Enable Stock Gnome 3 Interface
- sudo apt-get install -y git gnome-session ubuntu-gnome-default-settings # Download Stock Gnome 3 Interface
- mkdir "$HOME/.local/share/gnome-shell/extensions" # Make Directory
- cd "$HOME/.local/share/gnome-shell/extensions" # Change Directory
- ## Username on Top Bar
- sudo apt-get install -y gir1.2-gmenu-3.0 # GnoMenu Framework
- git clone "https://github.com/brendaw/add-username-toppanel.git" # Username on Top Bar (Gnome 3 Extension)
- mv "add-username-toppanel" "add-username-toppanel@brendaw.com" # Rename to Enable
- ## NetSpeed Plugin
- # git clone "https://github.com/hedayaty/NetSpeed.git" # NetSpeed on Top Bar (Gnome 3 Extension)
- # mv "NetSpeed" "netspeed@hedayaty.gmail.com" # Rename to Enable
- ## Dash to Dock Plugin
- # git clone "https://github.com/micheleg/dash-to-dock.git" # Dash to Dock (Gnome 3 Extension)
- # mv "dash-to-dock" "micxgx@gmail.com" # Rename to Enable
- # cd "$HOME/.local/share/gnome-shell/extensions/micxgx@gmail.com" # Change Directory
- # make # Make File
- # make install # Install Dash to Dock
- ## Datetime Format Plugin
- sudo apt-get install -y git nodejs # Datetime Format Framework
- mkdir "$HOME/.local/share/gnome-shell/extensions" # Make Directory
- cd "$HOME/.local/share/gnome-shell/extensions" # Change Directory
- git clone "https://github.com/Daniel-Khodabakhsh/datetime-format.git" # Datetime Format (Gnome 3 Extension)
- cd datetime-format # Change Directory
- git checkout release # Git Checkout
- node --use_strict build.js # Install Datetime Format
- ## [6b] Set Desktop Background
- wget --secure-protocol=TLSv1_2 --output-document "$HOME/Pictures/F7C-Hornet-Background.jpg" "https://i.imgur.com/qiRge7d.jpg" # Primary image location
- wget --secure-protocol=TLSv1_2 --output-document "$HOME/Pictures/F7C-Hornet-Background.jpg" "https://i.imgsafe.org/7b/7b3bbab55d.jpeg" # Secondary image location
- gsettings set org.gnome.desktop.background picture-uri "file://$HOME/Pictures/F7C-Hornet-Background.jpg" # Set new background image
- ## [6c] Text Only Startup
- sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="text"/g' "/etc/default/grub" # Text only Startup (VM Configuration)
- sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="text"/g' "/etc/default/grub" # Text only Startup (Normal Configuration)
- sudo update-grub # Update Grub
- ## [6d] Custom Aliases
- echo "alias diablo='cd $HOME/Games/\"Diablo RL\" && ./rl'" >> "$HOME/.bashrc" # Alias for Diablo RL
- echo "alias doom='cd $HOME/Games/\"Doom RL\" && ./doomrl'" >> "$HOME/.bashrc" # Alias for Doom RL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement