current blog subscriptions

Saturday, February 19, 2011

ubuntu 10.10 add fortune to gnome-terminal

make gnome-terminal display fortune with animals like Linu Mint default.
sudo apt-get update
sudo apt-get install cowsay fortune
echo "fortune | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf | head -n1)" >> ~/.bashrc

Tuesday, February 15, 2011

Sunday, February 13, 2011

ubuntu 10.10 added spell check and cursor position for mutt + vim

added this line to ~/.muttrc
set editor="vim -c \"set spell spelllang=en\" '+/^$'"


I found out the best wat to do this is to create a ~/.vim/after/ftplugin/mail.vim file and add the options in there. Then edit the ~/etc/vim/vimrc file to include the ":filetype plugin on" syntax.

Friday, February 11, 2011

ubuntu 10.10 added goobook for gmail + mutt contact integration

Adding this python script allows me to search my google contacts when composing a new message with mutt.
http://code.google.com/p/goobook/
sudo easy_install -U goobook
sudo easy_install hcs_utils 
~/.netrc
machine google.com
login your@google.email
password secret
added to ~/.muttrc
set query_command="goobook query '%s'"
bind editor <Tab> complete-query

Thursday, February 10, 2011

ubuntu 10.10 set vim to be default editor

ln -s vim /usr/bin/vi

ubuntu 10.10 added ~/bin to path for scripts

mkdir ~/bin && . ~/.profile && echo $PATH
vi ~/.bashrc
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

ubuntu 10.10 gcalcli for reading googlecalendar

gcalcli is a Python application that allows you to access your Google Calendar from a command line. It's easy to get your agenda, search for events, and quickly add new events. Additionally gcalcli can be used as a reminder service to execute any application you wan

ubuntu 10.10 added weechat for CLI interface to IRC

www.weechat.org/ 
sudo apt-get install weechat

Wednesday, February 9, 2011

ubuntu 10.10 newsbeuter + lynx + googlereader integration

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update && sudo apt-get install newsbeuter
vi ~/.newsbeuter/config
urls-source "googlereader"
googlereader-login "your-googlereader-account"
googlereader-password "your-password"
googlereader-flag-share "a"
googlereader-flag-star "b"
googlereader-show-special-feeds no
browser "lynx %u"
auto-reload yes
reload-time 60

Saturday, February 5, 2011

ubuntu 10.10 glipper, liferea, byobu, dropbox

I've added glipper for clipboard enhancements. Native Liferea integrates nicely with google reader. I can sync my google reader subscriptions with Liferea for a desktop client. Byobu is a nice gnome-terminal enhancement. Dropbox is installed on my droid and on my laptop. I have 2GBs of storage. I've already used if for linxu from scratch pdf book. 
GLIPPER
sudo apt-get install glipper
BYUBO
For Byubo I had to modify gnome-terminal default profile prefences:
ctrl + alt + t
Edit > Profile Prefernces > Title and Command > Check "Run a custom command instead of my shell" > Enter "byubo" in the command field.
LIFEREA + google reader subscriptions
Applications > Internet > Liferea Feed Reader
add google reader
Subscriptions > New Source > Google Reader

ubuntu 10.10 docky + stacks

Stacks, a cool file browsing way from Docky has been integrated into Docky by Ricotz and available from the PPA(supports Ubuntu 10.10 Maverick and 11.04 Natty).
Installation

First, remove Docky Development PPA if any:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:docky-core/ppa

Also, temporarily disable Elementary Art or Elementary Desktop PPAs (exclude Nautilus Elementary PPA. You can do this under Ubuntu Software Center -> Software Sources or via UbuntuTweak). And finally remove docky:

sudo apt-get remove dockty

Now, install Docky with Stacks from ricotz PPA and some dependences from zeitgeist-sharp PPA

sudo add-apt-repository ppa:zeitgeist-sharp/daily
sudo add-apt-repository ppa:ricotz/docky
sudo apt-get update
sudo apt-get install docky

As an alternative, download the deb package for Docky with Stacks from here

Thursday, February 3, 2011

ubuntu 10.10 using mutt with gmail

Mutt is a small but very powerful text based program for reading and sending electronic mail under unix operating systems, including support for color terminals, MIME, OpenPGP, and a threaded sorting mode.
http://www.andrews-corner.org/mutt.html


files:
~/.procmailrc
~/.msmtprc
~/.fetchmailrc
~/.muttrc

egypt internet restored

Tuesday, February 1, 2011

inssider wifi scanner

inSSIDer is the first award-winning Wi-Fi scanner to come out of the woodwork since the Netstumbler era.  Use inSSIDer to war drive or troubleshoot Wi-Fi channel placement.  This program will display all Wi-Fi access points within range and display their MAC address, SSID, RSSI, Channel, Vendor, Encryption, Max Rate and Network Type.  Use the filters feature to quickly sort through long lists of access points.  inSSIDer is maintained by MetaGeek LLC but was made possible by community development.

windows troubleshooting and optimizing performance


Disk Defragmenter is a Utility included in Microsoft Windows designed to increase access speed by rearranging files stored on a disk to occupy contiguous storage locations, a technique commonly known asdefragmenting. The purpose is to optimize the time it takes to read and write files to/from the disk by minimizing head travel time and maximizing the transfer rate. As of Windows XP, Disk Defragmenter is also used to improve system startup times.
defragmenting --- Start > Programs > Accessories > System Tools > Disk Defragment
CHKDSK is a command on computers running DOS, OS/2 and Microsoft Windows operating systems that displays the file system integrity status of hard disks and floppy disk and can fix logical file system errors. It is similar to the fsck command in Unix.
On computers running NT-based versions of Windows, CHKDSK can also check the disk surface for physical errors or bad sectors, a task previously done by SCANDISK. This version of CHKDSK can also handle some physical errors and recover data that is still readable.
disk check --- Double click My Computer icon > Right Click C:\ drive > Click Properties >
Tools > Error Checking > Check Now