Skip to content

Instantly share code, notes, and snippets.

@diniremix
Last active February 28, 2018 01:34
Show Gist options
  • Save diniremix/56cb0d1093e1c9747dc585efa38279bc to your computer and use it in GitHub Desktop.
Save diniremix/56cb0d1093e1c9747dc585efa38279bc to your computer and use it in GitHub Desktop.
elementary OS Loki post install
# elementary OS post install
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common --no-install-recommends
sudo apt install ubuntu-restricted-extras libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install audacious audacious-plugins
sudo apt install screenfetch
sudo apt install rar unrar zip unzip xz-utils p7zip-full p7zip-rar sharutils file-roller
sudo apt install synaptic gdebi dconf-editor
sudo apt install gparted filezilla
sudo apt install python-virtualenv
sudo apt-get install python-dev
sudo apt install git gitk git-gui git-flow
# elementary tweaks
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
sudo apt-get update && sudo apt-get install elementary-tweaks
# battery
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start
# spotify
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install spotify-client
# Sublime Text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
# alternative repository
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
# green-recorder
sudo add-apt-repository ppa:mhsabbagh/greenproject
sudo apt update
sudo apt install green-recorder
# nodejs
curl -sL https://deb.nodesource.com/setup_4.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
apt-get install nodejs
# to generate awesome api docs
npm install -g aglio
# Install Java 7
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
wget -c "http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz"
wget -c "http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz.hash.txt"
sudo cp -v jdk-7u80-linux-x64.tar.gz /var/cache/oracle-jdk7-installer/
sudo apt-get install oracle-java7-installer
# enable all Startup Applications
cd /etc/xdg/autostart
sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop
# disable single click pantheon
gsettings set org.pantheon.files.preferences single-click false
# fix samba
sudo chmod 744 /usr/lib/gvfs/gvfsd-smb-browse
# Remove Guest Session
sudo sh -c "echo 'allow-guest=false' >> /usr/share/lightdm/lightdm.conf.d/40-pantheon-greeter.conf"
# accelerate startup
sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabled
# disable bluetooth on startup
sudo nano /etc/rc.local
#add this line
rfkill block bluetooth
#otherwise
sudo systemctl stop bluetooth
sudo systemctl disable bluetooth
# clean
sudo apt-get autoremove
sudo apt-get autoclean
# Remove Applications
sudo apt remove screenshot-tool -y
sudo apt remove pantheon-mail -y
sudo apt remove maya-calendar -y
sudo apt remove epiphany-browser -y
sudo apt remove audience -y
# Qt 5.7.1 (android support)
# https://wiki.qt.io/Install_Qt_5_on_Ubuntu
wget -c "http://download.qt.io/official_releases/qt/5.7/5.7.1/qt-opensource-linux-x64-android-5.7.1.run"
chmod +x qt-opensource-linux-x64-android-5.7.1.run
./qt-opensource-linux-x64-android-5.7.1.run
sudo apt-get install build-essential
sudo apt-get install libglu1-mesa-dev
# mysql libs for python
sudo apt-get install python-dev libmysqlclient-dev
# create soft link for xampp
sudo mkdir -pv /var/run/mysqld
sudo ln -sv /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock
# and restart mysql daemon
# install budgie-run-dialog
sudo add-apt-repository ppa:budgie-remix/ppa
sudo apt update
sudo apt install budgie-core python-keybinder
# open dconf-editor and go to
org > gnome > desktop > wm > keybindings > panel-main-menu
# replace [‘<Super>space’, ‘<Alt>F2′] to [‘<Super>space]
# open system settings and go to
keyboard > Shotcuts >Custom
# ceate a new custom shotcut
# 'budgie-run-dialog' and assing alt+F12 shorcut
# enjoy!
# additional info for themes (if apply)
# disable theme
gsettings set com.solus-project.budgie-panel builtin-theme false
# use dark theme
gsettings set com.solus-project.budgie-panel dark-theme true
# disable dark theme
gsettings set com.solus-project.budgie-panel dark-theme false
# some websites
http://entornosgnulinux.com
http://entornosgnulinux.com/2016/08/23/altf2-renovar-ejecutar-comando-run-dialog/
http://entornosgnulinux.com/2016/04/24/conky-vision-en-elementary-os-loki-y-ubuntu-xenial/
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment