Advertisement
mrnagy

eos install

Apr 16th, 2014
813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.46 KB | None | 0 0
  1. #!/bin/bash
  2. echo "Vegyük fel a leggyakoribb csomagtárolókat?  n/i"
  3. read a
  4. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  5. sudo add-apt-repository ppa:libreoffice/ppa
  6. sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  7. sudo apt-add-repository ppa:versable/elementary-update
  8. sudo add-apt-repository ppa:otto-kesselgulasch/gimp
  9. sudo add-apt-repository ppa:conky-companions/ppa
  10. sudo add-apt-repository ppa:atareao/atareao
  11. fi
  12.  
  13. sudo apt-get update && sudo apt-get upgrade
  14.  
  15. echo "Telepítsem az alapvető programokat?  n/i"
  16. read a
  17. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  18. sudo apt-get install acpi ubuntu-restricted-extras ubuntu-restricted-addons numlockx ntfs-3g ntfs-config pinta gparted gimp gimp-data gimp-data-extras synaptic vlc transmission-gtk transmission-common cups-pdf dconf-tools gdebi perl perl-base perl-modules unace rar unrar p7zip-rar p7zip zip unzip sharutils uudeview mpack arj cabextract file-roller gedit gedit-developer-plugins gedit-plugins gdebi samba system-config-samba cifs-utils winbind grub-customizer conky-all lm-sensors hddtemp curl python-feedparser imagemagick mplayer smplayer b43-fwcutter firmware-b43-installer indicator-synapse elementary-tweaks gtk2-engines-pixbuf gimp-plugin-registry gimp-gmic gnome-terminal gnome-disk-utility conky conkyemail conkyforecast conkygooglecalendar conkygooglereader conkykeyring conkymisc conkytransmission my-weather-indicator
  19. fi
  20.  
  21. echo "Telepítsem a LibreOffice programcsomagot?  n/i"
  22. read a
  23. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  24. sudo apt-get install libreoffice libreoffice-gnome libreoffice-l10n-hu libreoffice-help-hu hunspell hunspell-hu libreoffice-pdfimport
  25. fi
  26.  
  27. echo "Telepítsem az asztali témákat, ikoncsomagokat?  n/i"
  28. read a
  29. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  30. sudo apt-get install elementary-dark-theme elementary-plastico-theme elementary-whit-e-theme elementary-harvey-theme elementary-blue-theme elementary-colors-theme elementary-lion-theme elementary-champagne-theme elementary-milk-theme elementary-emod-icons elementary-elfaenza-icons elementary-nitrux-icons elementary-enumix-utouch-icons elementary-plank-themes
  31. fi
  32.  
  33. echo "Telepítsem a Chorme böngészőt?  n/i"
  34. read a
  35. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  36. wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
  37. sudo dpkg -i google-chrome-stable_current_i386.deb
  38. wget https://dl.google.com/linux/direct/google-talkplugin_current_i386.deb
  39. sudo dpkg -i google-talkplugin_current_i386.deb
  40. fi
  41.  
  42. echo "Teszteljük az érzékelő kimeneteket?  n/i (Ha igen, közben válaszolj meg minden  YES/no kérdést YES -el!)"
  43. read a
  44. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  45. sudo sensors-detect
  46. fi
  47.  
  48. echo "Rejtett Auto-Start bejegyzések láthatóak legyenek?  n/i (Ha igen, a script futásának befejezése után a Rendszerbeállítások/Indítópultban tudod letiltani a feleslegesen induló elemeket! Pl:Bluetooth, Chat, Gwibber, Onboard, Orca, Személyes fájlmegosztás)"
  49. read a
  50. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  51. sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop
  52. fi
  53.  
  54. echo "Cseréljük le a kernelt és video drivereket frissebbre?  n/i"
  55. read a
  56. if [[ $a == "I" || $a == "i" || $a == "" ]]; then
  57. sudo apt-get install linux-generic-lts-raring xserver-xorg-lts-raring
  58. fi
  59.  
  60. echo "Egy kis takarítás...."
  61. sudo apt-get autoclean
  62. sudo apt-get autoremove
  63.  
  64. echo "A program sikeresen lefutott!" # The script ran succesfully
  65. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement