Advertisement
metalx1000

My Default setup - 2015

Feb 7th, 2015
1,820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.23 KB | None | 0 0
  1. user=metalx1000
  2. adduser $user
  3.  
  4. apt-get install aptitude xorg xfce4 xclip vim xfce4-whiskermenu-plugin dos2unix gpm git task-xfce-desktop
  5. service gpm start
  6.  
  7. apt-get install nmap gimp ffmpeg mplayer midori ettercap-text-only wireshark xfce4-power-manager sudo xpdf xfce4-goodies gpm libcurl3 libnss3-1d zsh
  8. apt-get install pulseaudio paprefs pulseaudio-module-jack pavucontrol paman alsa-tools-gui jackd alsa-utils
  9. apt-get install iceweasel midori cups axel xinput hexedit binwalk
  10. apt-get install kdenlive blender terminator zynaddsubfx libappindicator1 imagemagick
  11. apt-get install mtp-tools mtpfs #For Android and other MTP storage devices
  12.  
  13. wget -O .screenrc     http://git.grml.org/f/grml-etc-core/etc/grml/screenrc_generic
  14. wget -O .vimrc        http://git.grml.org/f/grml-etc-core/etc/vim/vimrc
  15. wget -O .zshrc        http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc
  16.  
  17. #make zsh default shell
  18. chsh -s /bin/zsh root
  19. chsh -s /bin/zsh $user
  20. vim /etc/hosts
  21.  
  22. #set default from IPv6 to IPv4 for programs such as aptitude and wget
  23. #uncomment the line "precedence ::ffff:0:0/96  100" /etc/gai.conf
  24. echo 'precedence ::ffff:0:0/96  100' >> /etc/gai.conf
  25.  
  26. ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
  27. /sbin/hwclock --systohc
  28.  
  29. #chrome browser
  30. #wget "https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb" -O /tmp/chrome.deb
  31. wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" -O /tmp/chrome.deb
  32. dpkg -i /tmp/chrome.deb
  33. #apt-get -f install
  34.  
  35. adduser $user sudo
  36. visudo
  37.  
  38. usermod -a -G pulse,pulse-access,vboxusers,dialout $user
  39. #add these lines to /etc/pulse/default.pa
  40. load-module module-jack-sink
  41. load-module module-jack-source
  42. vim /etc/pulse/default.pa
  43.  
  44. apt-get install apache2 mysql-server phpmyadmin
  45. mkdir ~/www
  46. ln -s ~/www /var/www/html/$user
  47.  
  48. #shortcut for menu popup
  49. xfce4-popup-whiskermenu
  50.  
  51. #XFCE and pulseaudio volume controls
  52. #amixer -D pulse sset Master 5%+
  53. #amixer -D pulse sset Master 5%-
  54. #amixer -D pulse set Master Playback Switch toggle
  55. pactl set-sink-volume @DEFAULT_SINK@ -10% #Down 10%
  56. pactl set-sink-volume @DEFAULT_SINK@ +10% #Up 10%
  57. pactl set-sink-mute @DEFAULT_SINK@ toggle
  58. #then set Jack as fallback in Pulseaudio volume manager by clicking green check mark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement