Last active
August 29, 2015 14:07
-
-
Save jmmadruga/5442cfbca1e9013b8c15 to your computer and use it in GitHub Desktop.
Kubuntu 14.10 install scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -----------------$HOME/.abcde.conf----------------- # | |
# | |
# A sample configuration file to convert music cds to | |
# MP3 format using abcde version 2.5.3 | |
# | |
# http://andrews-corner.org/abcde.html | |
# -------------------------------------------------- # | |
# Specify the encoder to use for MP3. In this case | |
# the alternatives are gogo, bladeenc, l3enc, xingmp3enc, mp3enc. | |
MP3ENCODERSYNTAX=lame | |
# Specify the path to the selected encoder. In most cases the encoder | |
# should be in your $PATH as I illustrate below, otherwise you will | |
# need to specify the full path. For example: /usr/bin/lame | |
LAME=lame | |
# Specify your required encoding options here. Multiple options can | |
# be selected as '--preset standard --another-option' etc. | |
LAMEOPTS='--preset extreme' | |
# Output type for MP3. | |
OUTPUTTYPE="mp3" | |
# The cd ripping program to use. There are a few choices here: cdda2wav, | |
# dagrab, cddafs (Mac OS X only) and flac. | |
CDROMREADERSYNTAX=cdparanoia | |
# Give the location of the ripping program and pass any extra options: | |
CDPARANOIA=cdparanoia | |
CDPARANOIAOPTS="--never-skip=40" | |
# Give the location of the CD identification program: | |
CDDISCID=cd-discid | |
# Give the base location here for the encoded music files. | |
OUTPUTDIR="$HOME/" | |
# The default actions that abcde will take. | |
ACTIONS=cddb,playlist,read,encode,tag,move,clean | |
# Decide here how you want the tracks labelled for a standard 'single-artist', | |
# multi-track encode and also for a multi-track, 'various-artist' encode: | |
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}' | |
VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}' | |
# Decide here how you want the tracks labelled for a standard 'single-artist', | |
# single-track encode and also for a single-track 'various-artist' encode. | |
# (Create a single-track encode with 'abcde -1' from the commandline.) | |
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}' | |
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}' | |
# Create playlists for single and various-artist encodes. I would suggest | |
# commenting these out for single-track encoding. | |
PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u' | |
VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u' | |
# Put spaces in the filenames instead of the more correct underscores: | |
mungefilename () | |
{ | |
echo "$@" | sed s,:,-,g | tr / _ | tr -d \'\"\?\[:cntrl:\] | |
} | |
# What extra options? | |
MAXPROCS=2 # Run a few encoders simultaneously | |
PADTRACKS=y # Makes tracks 01 02 not 1 2 | |
EXTRAVERBOSE=y # Useful for debugging | |
EJECTCD=y # Please eject cd when finished :-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [Created by task 2.2.0 6/21/2014 11:28:44] | |
# Taskwarrior program configuration file. | |
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq', | |
# 'man task-tutorial', 'man task-color', 'man task-sync' or 'man taskrc' | |
# Here is an example of entries that use the default, override and blank values | |
# variable=foo -- By specifying a value, this overrides the default | |
# variable= -- By specifying no value, this means no default | |
# #variable=foo -- By commenting out the line, or deleting it, this uses the default | |
# Use the command 'task show' to see all defaults and overrides | |
# Files | |
data.location=~/MEGA/.task | |
# Color theme (uncomment one to use) | |
#include /usr/share/task/light-16.theme | |
#include /usr/share/task/light-256.theme | |
#include /usr/share/task/dark-16.theme | |
#include /usr/share/task/dark-256.theme | |
#include /usr/share/task/dark-red-256.theme | |
#include /usr/share/task/dark-green-256.theme | |
#include /usr/share/task/dark-blue-256.theme | |
#include /usr/share/task/dark-violets-256.theme | |
#include /usr/share/task/dark-yellow-green.theme | |
#include /usr/share/task/dark-gray-256.theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) 2014, Jerônimo Medina Madruga <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
## Check if you are root | |
if [ `whoami` != root ]; then | |
echo "Please run this script as root" | |
exit | |
fi | |
## Check the connection | |
if ! ping -c 4 www.google.com.br; then | |
echo "You need to be connected in order to use this script" | |
exit | |
fi | |
## Removing unwanted packages | |
apt-get purge amarok* apparmor apport* calligra* dragonplayer kaddressbook kcalc kontact* ktorrent* libpurple* muon-* sieve* telepathy* quassel -y | |
apt-get autoremove -y | |
## Adding third party repositories and updating packages | |
sh -c 'echo "deb http://archive.canonical.com/ubuntu trusty partner" >> /etc/apt/sources.list.d/canonical_partner.list' | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add - | |
add-apt-repository "deb http://download.videolan.org/pub/debian/stable/ /" -y | |
apt-add-repository ppa:falk-t-j/qtsixa -y | |
add-apt-repository ppa:kubuntu-ppa/backports -y | |
add-apt-repository ppa:libretro/stable -y | |
add-apt-repository ppa:maarten-baert/simplescreenrecorder -y | |
add-apt-repository ppa:nilarimogard/webupd8 -y | |
apt-add-repository ppa:ryochan7/antimicro -y | |
add-apt-repository ppa:stebbins/handbrake-releases -y | |
add-apt-repository ppa:ubuntu-desktop/ubuntu-make -y | |
add-apt-repository ppa:xorg-edgers/ppa -y | |
add-apt-repository ppa:webupd8team/java -y | |
apt-get update | |
apt-get -f install -y | |
apt-get dist-upgrade -y | |
## Installing packages | |
apt-get install abcde aegisub aegisub-l10n android-tools-fastboot android-tools-adb apache2-utils arduino build-essential byobu calibre cups-pdf exfat-fuse eyed3 gimp gimp-gmic filezilla firefox firefox-locale-pt focuswriter gcolor2 git-core git-doc git-gui gnuplot handbrake htop inkscape juk kdenlive kompare konversation lame libavcodec-extra lynx mesa-utils pandoc ppa-purge qbittorrent qtqr rhino speedcrunch ssh steghide sysstat task tasksel testdisk texlive texlive-lang-portuguese texlive-latex-extra texlive-publishers trimage ttf-ancient-fonts unetbootin unrar vlc vim-gui-common vim-runtime vym winff-qt xboxdrv youtube-dl -y | |
apt-get install libdvdcss2 simplescreenrecorder -y | |
## Console emulators | |
apt-get install antimicro libretro* libusb-dev libusb-0.1-4 retroarch sixad xboxdrv -y | |
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && dpkg -i google-chrome-stable_current_amd64.deb && rm google-chrome-stable_current_amd64.deb | |
wget -c https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/amd64/megasync-xUbuntu_14.04_amd64.deb && dpkg -i megasync-xUbuntu_14.04_amd64.deb && rm megasync-xUbuntu_14.04_amd64.deb | |
apt-get -f install -y | |
apt-get install kubuntu-restricted-extras oracle-java7-installer ubuntu-make -y | |
## Optional Packages & Repositories | |
# asciidoc asciidoctor beneath-a-steel-sky calligra choqok drascula flight-of-the-amazon-queen higan hollywood kdeconnect krita lure-of-the-temptress mame mame-extra mame-tools pcsxr scribus scribus-doc scribus-template ttyter virtualbox | |
# wget -c http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb && dpkg -i viber.deb && rm viber.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) 2013-2014, Jerônimo Medina Madruga <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
# Check if you are root | |
if [ `whoami` == root ]; then | |
echo Please do not run this script as root | |
exit | |
fi | |
# Check the connection | |
if ! ping -c 4 www.google.com.br; then | |
echo You need to be connected in order to use this script | |
exit | |
fi | |
cd ~ | |
git config --global user.name "Jerônimo Medina Madruga" | |
git config --global user.email "[email protected]" | |
git config --global color.ui true | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=3600' | |
git config --global push.default nothing | |
ssh-keygen -t rsa -C "[email protected]" -f ~/.ssh/git_rsa | |
mkdir ~/Git | |
wget -c http://www.ecofont.com/assets/files/ecofont_vera_sans_regular.ttf | |
mkdir ~/.fonts | |
mv ecofont_vera_sans_regular.ttf ~/.fonts | |
umake android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment