Skip to content

Instantly share code, notes, and snippets.

@githubnando
Last active October 4, 2017 18:25
Show Gist options
  • Save githubnando/d1c5eadca1cc69e2ccc56801f7370988 to your computer and use it in GitHub Desktop.
Save githubnando/d1c5eadca1cc69e2ccc56801f7370988 to your computer and use it in GitHub Desktop.
Fedora 25|26 Afterinstall - Things TODO
#!/bin/bash
NC='\033[0m'
CO='\033[0;31m'
function display {
echo -e "$CO $1 $NC"
}
display "RPM FUSION FREE AND NONFREE"
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
display "Gnome Tweak Tool"
sudo dnf install -y gnome-tweak-tool
display "Host Connector Gnome Shell Extensions"
sudo dnf install -y chrome-gnome-shell
display "Development, Native and Common Tools"
sudo dnf install -y npm git exfat-utils fuse-exfat deluge
display "Sublime 3 3126"
curl -LO https://download.sublimetext.com/sublime_text_3_build_3126_x64.tar.bz2
tar xvjf sublime_text_3_build_3126_x64.tar.bz2
cp -rf sublime_text_3/sublime_text.desktop /usr/share/applications/sublime_text.desktop
mv sublime_text_3 /opt/sublime_text
ln -s /opt/sublime_text/sublime_text /usr/bin/subl
display "Arc Theme + Flat Icon Remix"
sudo dnf install -y arc-theme
display "Centered New Windows"
sudo dnf install -y dconf
dconf write /org/gnome/mutter/center-new-windows true
display "VLC Player and CODECS"
sudo dnf install -y amrnb amrwb faad2 flac ffmpeg gpac-libs lame libfc14audiodecoder mencoder mplayer x264 x265 gstreamer-plugins-espeak gstreamer-plugins-fc gstreamer-rtsp gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer1-plugins-base gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base-tools gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-good
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install -y vlc
display "Spotify"
dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
sudo dnf install -y spotify
display "Guake terminal + ZSH + Shutter"
sudo dnf install -y guake zsh shutter
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
display "Hostname"
hostnamectl set-hostname palebluedot
display "Popcorntime"
curl -O http://mirror02.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz
mkdir popcorn; tar xvzf Popcorn-Time-0.3.10-Linux-64.tar.xz -C popcorn
mv popcorn /opt/popcorn
echo -e '[Desktop Entry]\n Version=1.0\n Name=Popcorn Time\n Exec=/opt/popcorn/Popcorn-Time\n Icon=/opt/popcorn/src/app/images/icon.png\n Type=Application\n Categories=Application' | tee /usr/share/applications/popcorntime.desktop
display "Paper Icons"
git clone [email protected]:snwh/paper-icon-theme.git paper-icon
cd paper-icon
sudo dnf install -y dh-autoreconf
./autogen.sh && make && sudo make install
display "Google Chrome Stable"
curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo dnf install -y lsb libXScrnSaver
rpm -i google-chrome-stable_current_x86_64.rpm
display "Phpstorm 2017.2.4"
curl -LO https://download.jetbrains.com/webide/PhpStorm-2017.2.4.tar.gz
tar xvzf PhpStorm-2017.2.4.tar.gz
sudo mv PhpStorm-172.4155.41 /opt/phpstorm
echo -e '[Desktop Entry]\n Version=1.0\n Name=Phpstorm\n Exec=/opt/phpstorm/bin/phpstorm.sh\n Icon=/opt/phpstorm/bin/phpstorm.png\n Type=Application\n Categories=Development' | sudo tee /usr/share/applications/phpstorm.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment