deb http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ karmic-bac. kports main restricted universe multiverse
$ sudo apt-get update and $ sudo apt-get upgrade
and hosts
$ gedit /etc/hosts # My Dropbox have new hosts file
Click on"System", "Administration", "Software Sources". Click on the "Other Software"tab. Click on"Add...", and enter the line:**deb http://badgerports.org lucid main** Click on"Add Source" Click on"Authentication", then on"Import Key File" Download this [GPG key file](http://badgerports.org/directhex.ppa.asc), ID 0E1FAD0C, and select it in the "Import Key File" window Click on"Close", then "Reload" when the pop-up appears. You're all set!
#!/usr/bin/env xdg-open [Desktop Entry] Name=Sublime Text 2 Comment=Sublime Text 2 Exec=/home/hivan/software/"Sublime Text 2"/sublime_text Icon=/home/hivan/software/Sublime Text 2/Icon/128X128/sublime_text.png Terminal=false Type=Application Categories=Application;Development; StartupNotify=true
设置权限:可执行文件!
and
1 2
$ cd /home/hivan/software/"Sublime Text 2"/ $ sudo cp "Sublime Text 2.desktop"/usr/share/applications