Last active
May 14, 2021 04:18
-
-
Save iamdey/4278482 to your computer and use it in GitHub Desktop.
Post install script for my debian based desktop
This file contains hidden or 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 | |
# gnome shell | |
# http://askubuntu.com/questions/73030/can-i-get-unity-style-super1-9-keyboard-shortcuts-for-launching-apps-in-gnome | |
sudo apt-get install gnome-shell wmctrl xbindkeys | |
cat """ | |
#Terminal | |
"wmctrl -xa Terminal || terminal" | |
Alt + 1 | |
#Terminal | |
"wmctrl -xF -R nautilus.Nautilus || nautilus" | |
Alt + 2 | |
#Launch or switch to Konsole | |
"wmctrl -xa Firefox || firefox" | |
Alt + 3 | |
#Launch or switch to IRC client | |
"wmctrl -xa Netbeans || ~/applications/netbeans-7.3/bin/netbeans" | |
Alt + 4 | |
""" > ~/.xbindkeysrc | |
""" | |
Application au démarrage : ajouter xbindkeys | |
""" | |
# vim | |
sudo apt-get install vim git curl git-svn mysql-client dia gitg php5-cli pgadmin3 | |
sudo apt-get install subversion | |
## java | |
#sudo apt-get install openjdk-7-jre | |
## Netbeans | |
# http://netbeans.org/downloads/index.html | |
#sh ./netbeans-7.2-ml-php-linux.sh | |
### plugins | |
# http://plugins.netbeans.org/plugin/44143/udevi-symfony2-plugin | |
# http://plugins.netbeans.org/plugin/41315/lesscss-module | |
# default install: http://plugins.netbeans.org/plugin/37069/php-twig | |
# default install: symfony2 | |
# https://github.com/madflow/flow-netbeans-markdown | |
# ruby : http://plugins.netbeans.org/plugin/38549 | |
# https://blogs.oracle.com/geertjan/entry/hidden_netbeans_feature_show_spaces | |
# http://mrhaki.blogspot.fr/2008/06/display-hidden-dot-files-and.html | |
## vagrant | |
sudo apt-get install vagrant | |
sudo apt-get install nfs-kernel-server | |
## owncloud client | |
sudo add-apt-repository 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /' | |
wget -q http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key -O- | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install owncloud-client | |
## imprimante 110C | |
#apt://brother-cups-wrapper-extra,brother-lpr-drivers-extra ? | |
## shell & terminal | |
sudo apt-get install zsh | |
chsh | |
""" | |
/bin/zsh | |
""" | |
#https://github.com/robbyrussell/oh-my-zsh | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
## config git | |
git config --global user.email $EMAIL | |
git config --global user.name $FULLNAME | |
git config --global color.ui true | |
git config --global push.default upstream | |
## TESTS | |
# edit config gnome/nautilus etc. | |
#sudo apt-get install dconf-tools | |
### dyndns | |
sudo apt-get install ddclient | |
""" | |
# /etc/ddclient.conf | |
ssl=yes | |
protocol=freedns | |
use=if, if=eth0 | |
server=freedns.afraid.org | |
login=esion | |
password='' | |
esion.mooo.com | |
""" | |
#sudo apt-get install miniupnpc natpmp-utils | |
#upnpc -a {IP_local} 22 2222 TCP | |
###packaging | |
#osc | |
#http://software.opensuse.org/download?package=osc&project=openSUSE%3ATools | |
#devscripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment