Archive

Archive for the ‘linux’ Category

Taskwarrior – task

August 21, 2010 2 comments

After looking for many simple task managers around I have finally settled with Taskwarrior

It is simple, runs on the terminal, extremely lightweight as it is just a text data file which gets created. Also you can do some pretty complicated things with this. Along with simplicity of using it and having used it, it allows for a multitude of options. It has both simple and advanced features and a developers guide to create cool/useful plugins for linking it with something else you are comfortable using.

Also, I am using Git along with it to keep my task lists in sync. Also there are tons of features along with this. It’s simply elegant. I will be trying to sync some required tasks out of these with my google calendar in case I like to be buzzed. And with googlecl this is very easily possible.

Never have my todos looked so clean! Try it for yourself!

Advertisements

VYM – View your mind

February 7, 2010 Leave a comment

Its a graphical tool to create maps on the basis of your thoughts and see what you know graphically. Just install this and start it right away. Elegant, simple and great with numerous options to play around with your thoughts.

Check out this example

Check out some links which talk about VYM:

http://www.linuxlinks.com/article/20080422150503541/VYM.html

Download it from here

or on debian systems.

sudo apt-get install vym

Enjoy! Learn yourself..your mind.

Categories: linux, ubuntu Tags: , , ,

Paint in ubuntu

February 5, 2010 Leave a comment

If you are searching for a normal paint program on linux like MS paint, there are many, but the best and easiest, clean thing is “kolourpaint4”
Actually it is more than a Microsoft Paint clone. It is a photo editor and a paint software with much more than what MS paint offers. Visit this for more reviews.

At your terminal type –

sudo apt-get install kolourpaint4

Categories: linux, ubuntu Tags: , , ,

msttcorefonts removal

October 12, 2009 5 comments

Installing msttcorefonts never happened instead it created lots of troubles for me. It just never let me silently update, upgrade, install using APT

[zubin@mordor ~]$  sudo dpkg –purge msttcorefonts
(Reading database … 147255 files and directories currently installed.)
Removing msttcorefonts …
W: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf: not registered.
and many more…

dpkg: error processing msttcorefonts (–purge):
subprocess pre-removal script returned error exit status 1

These fonts were provided by Microsoft “in the interest of cross-
platform compatibility”.  This is no longer the case, but they are
still available from third parties.

–11:15:26–  http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe’
Connecting to 10.200.13.50:80… connected.
Proxy request sent, awaiting response… 407 Proxy Authentication Required
11:15:26 ERROR 407: Proxy Authentication Required.

–11:15:26– http://superb-east.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe’
Connecting to 10.200.13.50:80… connected.
Proxy request sent, awaiting response… 407 Proxy Authentication Required
11:13:00 ERROR 407: Proxy Authentication Required.

similar errors… you just cannot do apt stuff without doing something about this.

andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts

Solution:

The best way out of this annoying trouble is to remove these packages completely from the system which won’t get installed neither get removed

[zubin@mordor ~]$  sudo vi /var/lib/dpkg/info/msttcorefonts.prerm

remove or comment the defoma-font purge -all line 🙂

[zubin@mordor ~]$  sudo dpkg –purge msttcorefonts
(Reading database … 147255 files and directories currently installed.)
Removing msttcorefonts …
Purging configuration files for msttcorefonts …

[zubin@mordor ~]$  remove msttcorefonts
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package msttcorefonts is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[zubin@mordor ~]$ 🙂 🙂

Categories: linux, ubuntu Tags: , , , ,

Tweet using bash!

July 18, 2009 4 comments

#!/bin/bash
# Store this file with whatever the name in /usr/local/bin/
# SYNTAX: twit Your_message_here
###### You cannot twit nothing! ####################
if [ -z “$1” ]
then
echo “Dude, enter some message, it can’t be blank! Come on!”
exit
fi
message=”$@”
####### Check the length to stop the request from failing #######
max_length=”140″
length=”${#message}”
echo “Message: ” $message
#echo $length
if [ $length -gt $max_length ]
then
echo “Dude, bada lamba message hai, only 140 chars allowed at a time…..It is a microblogging website, yes they are having shortage of space”
exit
fi
########## Enter your username password ##############
username=”username”
password=”password”
url=”http://twitter.com/statuses/update.xml”
curl –basic –user $username:$password –data status=”$message” $url

I wrote this small script which lets you twit through your terminal
Yes $HTTP_PROXY needs to be set

Enter your username and password in the file
and you are done!

PS: Yeah I know many such scripts exist! I never said this is new 🙂

Categories: bash, linux, twitter Tags: , , , ,
%d bloggers like this: