Harsh Kumar’s Weblog

How t play .swf files in Linux

Posted by: harsh1kumar on: October 25, 2008

This is for my reference.

Open the .swf file with firefox. That will do the trick.

Tags: ,

Colored Syntax in Vi editor

Posted by: harsh1kumar on: October 21, 2008

This is for my further reference.

Vim

Vim

This methord will give different beautiful colours to functions, strings, comments, keywords, etc f

or c, c+, etc.

For ubuntu first install the package vim-full. Then make a file in your home directory with the name .vimr. Type this in command line:

viĀ  ~/.vimrc

Put this line in this file:

:syntax enable

Then you are done. Next time you will see beautiful colours in your source code.

Tags: ,

Proxy setting for amarok in Gnome

Posted by: harsh1kumar on: October 19, 2008

This post is for my reference. This may only work in older Amarok, that is Amarok 1.4.

1) Clean all proxy settings in amarok’s configuration page

2) Edit ~/.kde/share/config/kioslaverc and add the following section and settings

[Proxy Settings][$i]
ProxyType=1
httpProxy=http://username:password@proxyserver:port/
httpsProxy=http://username:password@proxyserver:port/
ftpProxy=http://username:password@proxyserver:port/

3) Save the file and restart amarok!

Source : http://ubuntuforums.org/showthread.php?t=331981

Why Google Chrome ??

Posted by: harsh1kumar on: October 4, 2008

Google launched it’s new open source web browser a few days back. It is called Google Chrome. Generally I am very excited when Google launches a new product. But this time I didn’t liked this move by Google. I have been using Firefox for sometime now and I am very happy with it. I liked the Firefox 3 which was released sometime back. It made Firefox even better. What I don’t understand is this – ” What is the need of another open source browser project. Firefox is doing great. There are also many other great open source browsers.

Chrome Logo

Chrome Logo

I tried out chrome for sometime. Liked its look and feel. Its feels really nice with some great features. But I think that Google has worked with Mozilla in the past and Mozilla has included Google as the default search engine in Firefox. If Google thought that something was lagging in Firefox they should have joined in the development of Firefox so as to improve the standard of an already great browser. Linux and Firefox are the best mascots of the open source movement. If Google is really committed to open source philosophy, it should try to make Firefox better and not launch its competitor. I have read in one blog post (I don’t remember where) that this may be a strategy by Google to save money it now contributes to the Firefox project for including it as default search engine. With Chrome Google will be able to save that money and also popularize it’s other products like Gmail and Google Earth. The early adopters of Chrome will be the people who use Firefox now. So most likely Chrome will dig into the market share of Firefox.

I didn’t liked this move by Google even as Google says that it will release native Linux version soon and not something running under wine. But I think that in the world of opensource everyone has the right to make their own softwares and I it is good that such a big firm taking interset in developing open source products. But I still don’t understand why we need Chrome.

 

November 2009
M T W T F S S
« Apr    
 1
2345678
9101112131415
16171819202122
23242526272829
30