Advertisement
Guest User

Untitled

a guest
May 24th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. ## [5a] Game Preparation
  2. mkdir "$HOME/Games" # Make Directory
  3. cd "$HOME/Games" # Change Directory
  4.  
  5. ## [5b] DoomRL (Game)
  6. wget --retry-connrefused --waitretry=3 --no-check-certificate "http://drl.chaosforge.org/file_download/37/doomrl-linux-x64-0997-lq.tar.gz" # Download DoomRL
  7. tar -zxf "doomrl-linux-x64-"*"-lq.tar.gz" # Unzip DoomRL
  8. rm "doomrl-linux-x64-"*"-lq.tar.gz" # Remove Zipfile
  9. mv "doomrl-linux-x64-"*"-lq" "Doom RL" # Change Filename
  10. chown -R $USER: "$HOME/Games/Doom RL" # Fix Ownership
  11. sed -i 's/Graphics = "TILES"/Graphics = "CONSOLE"/g; s/SoundEngine = "DEFAULT"/SoundEngine = "NONE"/g' "$HOME/Games/Doom RL/config.lua" # DoomRL Configuration
  12.  
  13. ## [5c] DiabloRL (Game)
  14. wget --retry-connrefused --waitretry=3 --no-check-certificate "http://diablo.chaosforge.org/file_download/13/diablorl-linux-x64-050.tar.gz" # Download DiabloRL
  15. tar -zxf "diablorl-linux-x64-"*".tar.gz" # Unzip DiabloRL
  16. rm "diablorl-linux-x64-"*".tar.gz" # Remove Zipfile
  17. mv "diablorl-linux-x64-"*"0" "Diablo RL" # Change Filename
  18. chown -R $USER: "$HOME/Games/Diablo RL" # Fix Ownership
  19. sed -i 's/graphics = true/graphics = false/g; s/console_y = 33/console_y = 25/g' "$HOME/Games/Diablo RL/config.lua" # DiabloRL Configuration
  20.  
  21. ### [6a] General System / Shell Configurations
  22. sudo ufw enable # Enable Firewall
  23. ## Enable Stock Gnome 3 Interface
  24. sudo apt-get install -y git gnome-session ubuntu-gnome-default-settings # Download Stock Gnome 3 Interface
  25. mkdir "$HOME/.local/share/gnome-shell/extensions" # Make Directory
  26. cd "$HOME/.local/share/gnome-shell/extensions" # Change Directory
  27. ## Username on Top Bar
  28. sudo apt-get install -y gir1.2-gmenu-3.0 # GnoMenu Framework
  29. git clone "https://github.com/brendaw/add-username-toppanel.git" # Username on Top Bar (Gnome 3 Extension)
  30. mv "add-username-toppanel" "add-username-toppanel@brendaw.com" # Rename to Enable
  31. ## NetSpeed Plugin
  32. # git clone "https://github.com/hedayaty/NetSpeed.git" # NetSpeed on Top Bar (Gnome 3 Extension)
  33. # mv "NetSpeed" "netspeed@hedayaty.gmail.com" # Rename to Enable
  34. ## Dash to Dock Plugin
  35. # git clone "https://github.com/micheleg/dash-to-dock.git" # Dash to Dock (Gnome 3 Extension)
  36. # mv "dash-to-dock" "micxgx@gmail.com" # Rename to Enable
  37. # cd "$HOME/.local/share/gnome-shell/extensions/micxgx@gmail.com" # Change Directory
  38. # make # Make File
  39. # make install # Install Dash to Dock
  40. ## Datetime Format Plugin
  41. sudo apt-get install -y git nodejs # Datetime Format Framework
  42. mkdir "$HOME/.local/share/gnome-shell/extensions" # Make Directory
  43. cd "$HOME/.local/share/gnome-shell/extensions" # Change Directory
  44. git clone "https://github.com/Daniel-Khodabakhsh/datetime-format.git" # Datetime Format (Gnome 3 Extension)
  45. cd datetime-format # Change Directory
  46. git checkout release # Git Checkout
  47. node --use_strict build.js # Install Datetime Format
  48.  
  49. ## [6b] Set Desktop Background
  50. wget --secure-protocol=TLSv1_2 --output-document "$HOME/Pictures/F7C-Hornet-Background.jpg" "https://i.imgur.com/qiRge7d.jpg" # Primary image location
  51. wget --secure-protocol=TLSv1_2 --output-document "$HOME/Pictures/F7C-Hornet-Background.jpg" "https://i.imgsafe.org/7b/7b3bbab55d.jpeg" # Secondary image location
  52. gsettings set org.gnome.desktop.background picture-uri "file://$HOME/Pictures/F7C-Hornet-Background.jpg" # Set new background image
  53.  
  54. ## [6c] Text Only Startup
  55. sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="text"/g' "/etc/default/grub" # Text only Startup (VM Configuration)
  56. sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="text"/g' "/etc/default/grub" # Text only Startup (Normal Configuration)
  57. sudo update-grub # Update Grub
  58.  
  59. ## [6d] Custom Aliases
  60. echo "alias diablo='cd $HOME/Games/\"Diablo RL\" && ./rl'" >> "$HOME/.bashrc" # Alias for Diablo RL
  61. 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