Last active
July 4, 2018 07:41
-
-
Save martynhaigh/5263492 to your computer and use it in GitHub Desktop.
My very hacky Kubuntu setup cheatsheet.
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
sudo apt-get update | |
sudo apt-get upgrade | |
// Setup admin password | |
sudo passwd | |
// INSTALL NVIDIA DRIVERS | |
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates | |
sudo apt-get update | |
sudo apt-get install nvidia-current | |
// OR INTEL | |
https://01.org/linuxgraphics/downloads | |
// INSTALL FLUX | |
sudo add-apt-repository ppa:kilian/f.lux | |
sudo apt-get update | |
sudo apt-get install fluxgui | |
// INSTALL DROPBOX | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - | |
~/.dropbox-dist/dropboxd | |
// INSTALL VARIOUS ESSENTIAL PROGRAMS | |
sudo apt-get install yakuake vim vlc gimp sqlite3 curl git-core git-gui gparted filelight xclip kubuntu-restricted-extras gparted wine pidgin libqt4-webkit build-essential hardinfo wiggle firestarter openssh-server tmux krfb samba | |
// tmux is multi terminal window management system - awesome! http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1 | |
// krfb = screen sharing | |
// fix google chrome issues on later versions of kubuntu | |
// http://linuxg.net/how-to-fix-dependency-issue-and-install-google-chrome-on-ubuntu-13-04/ | |
// Notes | |
// firestarter - firewall | |
// Open menu with windows meta key - http://blog.hanschen.org/2012/10/17/open-application-launcher-with-super-key/ | |
// remember to add programs to startup : System Settings -> Startup | |
// disable trackpad on mouse plug in - kde-config-touchpad package & Utilities->Touchpad Management and the application will have the option in GUI. | |
// disable trackpad on keyboard use - http://www.webupd8.org/2009/11/ubuntu-automatically-disable-touchpad.html | |
// remember to edit firewall rules to allow ssh | |
firestarter | |
// download synergy http://synergy-foss.org/download/?list | |
// add ssh keys : http://www.liberiangeek.net/2013/03/enable-ssh-in-ubuntu-13-04-raring-ringtail-and-force-users-to-use-ssh-keys-without-password-to-login/ | |
// http://www.julianfernandes.com/after-install-ubuntu-12-10.html | |
// INSTALL JAVA, ANDROID & INTELLIJ | |
// big thanks to Scott Spence | |
https://gist.github.com/spences10/5253968 | |
// these next items can be ignored | |
//install java | |
// http://blogs.igolovin.net/software/2012/09/23/nstall-java-jdk-7-in-ubuntu-12-04/ | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update && sudo apt-get install oracle-jdk7-installer | |
update-alternatives --display java | |
java -version | |
// install android | |
http://developer.android.com/sdk/index.html | |
// INSTALL MASTER ADB_USB.INI FILE FOR ANDROID | |
// http://blog.apkudo.com/2012/08/21/one-true-adb_usb-ini-to-rule-them-all/ | |
curl -L http://raw.github.com/apkudo/adbusbini/master/adb_usb.ini --O ~/.android/adb_usb.ini | |
// INSTALL SKYPE | |
// Get skype from http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux | |
cd ~ && wget -O - "http://download.skype.com/linux/skype-ubuntu-lucid_4.1.0.20-1_i386.deb" | sudo dpkg -i - | |
// dolphin services are downloaded to /home/martyn/.kde/share/apps/servicemenu-download/ - need to run the install.sh on each .desktop files need to be moved to /home/martyn/.kde/share/kde4/services/ServiceMenus/ | |
// FIREFOX | |
// Would be great to automate FF download with a script | |
// like http://kb.mozillazine.org/Installing_Firefox but without having to input the current version number | |
// remember to install get flash aid | |
// INSTALL SPOTIFY | |
echo 'deb http://repository.spotify.com stable non-free' >> /etc/apt/sources.list | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4E | |
sudo apt-get update | |
sudo apt-get install spotify-client-qt | |
// SETUP BASH | |
// https://wiki.archlinux.org/index.php/Color_Bash_Prompt | |
shopt -s cdspell | |
shopt -s nocaseglob | |
// Setup Virtual Desktops : Work, Files, Notes, Web, Chat, Music | |
Shortcuts : | |
Meta + D - desktop | |
Meta + E - Dolphin | |
Meta + F1-F4 - Go to virtual desktop | |
Meta + Ctrl + F1-F4 - Send window to virtual desktop | |
F12 to open console window (Yakuake) | |
//setup git | |
see http://progit.org/book/ch7-1.html for help setting up: | |
git config --global color.ui true | |
git config --global user.name "Martyn Haigh" | |
git config --global user.email "[email protected]" | |
git config --global credential.helper 'cache --timeout=7200' | |
git config --global core.editor kate | |
git config --global merge.tool kdiff3 | |
git config --global alias.t log --graph --oneline --all --decorate --color | |
git config --global alias.st status | |
git config --global alias.ci commit | |
git config --global alias.br branch | |
git config --global alias.co checkout | |
git config --global alias.df diff | |
git config --global alias.lg log -p | |
git config --global alias.pr pull --rebase | |
// NOTES | |
// To copy output of the following command to clipboard: | |
// $ sort -n -k 3, -k 2 file.txt | xclip | |
// To nsert files contents into the clipboard | |
// $ cat data.txt | xclips | |
// more at http://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/ | |
From http://debianhelp.wordpress.com/2011/09/12/to-do-list-after-installing-ubuntu-11-10-aka-oneiric-ocelot/ | |
#http://www.geekconnection.org/remastersys/ubuntu.html | |
# Special Note: Make sure to click on the Settings tab, and change your user name to your current logged in user name. On the main menu, make sure you click “User, whose settings will be used…”, and when you are done creating your custom Ubuntu OS, that should allow the live custom disc you have created to automatically login during bootup. You can then test your Custom Ubuntu ISO with Unetbootin, and transfer your Custom Ubuntu ISO onto a Flash Drive (needs to have at least 4Gb free space) and you can boot from that Flash Drive with your Custom Ubuntu Live to test it. | |
sudo kate /etc/apt/sources.list | |
deb http://www.remastersys.com/repository lucid/ | |
sudo apt-get install remastersys | |
sudo apt-get install b43-fwcutter ndisgtk ntfs-3g ntfs-config | |
look in to https://bbs.archlinux.org/viewtopic.php?id=108607 | |
http://www.tuxradar.com/content/more-linux-tips-every-geek-should-know | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment