Monday, July 26, 2010

Unable to move windows in KDE

Many times I have faced a problem where I am not able to move or resize windows in a KDE session. So must have you and wondered how to fix it.

Now there is help available to fix this issue:
kwin -replace

will replace the window manager and voila you can now resize and/or move the windows in KDE

Wednesday, July 14, 2010

using sed in alias in C shell

Using sed commands in your .alias file in C shell is always tricky. One example of the same is:

alias grf 'set fileNline = `echo "\!*" | sed -e "s/\([^ ]*\):\([0-9]*\):.*/+\2 \1/"`;gvim $fileNline'

This alias is called as:

grf file:line_num:

and then it open the file "file" in gvim with cursor at line "line_num".

Friday, July 9, 2010

Accomplishment is important

Not losing focus is the key. It’s about switching your focus from quantity to quality, and making sure that you use your productivity for a greater good: reaching your goals. Wonderful insights at http://workawesome.com/productivity/being-productive/

in reference to: iGoogle (view on Google Sidewiki)

Thursday, July 8, 2010

Parenting

Interesting insight on this blog entry in Freakonimics - http://freakonomics.blogs.nytimes.com/2010/07/07/the-paradox-of-parenting/
The crux is that parent's don't seem to enjoy parenting is a strange conclusion made by almost all studies in this field. I am not sure I fully subscribe to this theory as I oscillate between happiness and despair when parenting. Maybe its more despair than happiness, but one thing I am sure about it is that happiness definitely has a longer lasting effect than despair.

in reference to: iGoogle (view on Google Sidewiki)