Tuesday, June 23, 2026

About THIS (the Universe)

 

This article here is about 'this'. This means everything that is observable. The universe, the world, the order or whatsoever we may call it. I will try to include everything I came to know about this by observing the information filtered through my own understanding and logic. It is my little effort to share my thinking and understanding of this. I am trying to make this article as small and concise as possible and will use many common assumptions without specific reference to details.

EQUATION OF EVERYTHING!

This = Energy + Order or Science + Spirit + Information + Force of God

Matter as we see it is just energy manifested into forms. It is scientifically proved that all matter is basically composed of only energy. So in the above equation, energy will include all of the observable matter (galaxies, stars, planets, life forms, etc), antimatter and energy types (Potential/Kinetic/Chemical/Nuclear energy). We all know that this is governed by certain laws and order. Although, the unimaginable vastness and non-uniformity of the universe, at first, makes us think that it is not very orderly, united or even. However, the cosmos is very precisely designed and the laws governing it are very strict and apply evenly (almost*), as much as we know so far. So, the order or science [science because it is discoverable], which keeps everything intact and in place is also a distinguishable part of the universe. But without the spirit everything has no meaning. This universe was created for experiencing and discovering it. Without mind/spirit, this is incomplete.

Information is clearly distinguishable from matter and energy. Neither is it the mind that creates it. Information is created by a mind and is processed by a mind. All the above mentioned entities are caused and governed by the force of the universe or the super-intelligent creator. Although God may be a separate entity from this universe, but how can we not associate the artist with his creation? Common sense and logic tells us that there is contingency in everything. It means every effect has a cause. If something created this, which as we will later look into, is unified, then that entity/creator should not be contingent. That is what also makes force of God/God separate from the creation/universe.

CAUSE and EFFECT

Cause and Effect is the prime rule of the universe. Everything that happens has a cause. Nothing is random or by chance.

It is the instinctive nature of humans to be curious. However, more often, people remain impressed and worried of effects, when they should be analyzing the causes.

Everything has a good and a bad side; we only have the power to choose by getting knowledge. So, here we come to our next section which is about choice.

FREEWILL

Freewill is the basis of existence. We wouldn't have been any different from animals or machines if we didn't have freewill. Our mind has choice and that’s why we exist individually. We choose and justify what we do. So, God's interference or order over us is illogical. As far as guidance from the Supreme Being for better human life is concerned, it is already there. We all have the intellect in us to guess what is right and what is not. As we grow up as kids, we demand justice in everything. We wouldn't want something from another person which is not good for us. But on the other hand we do things that are selfish. So, basically we demand justice, but when it comes to responsibility, we just ignore it for the sake of our ego. We would continue to grow like that and end up fighting over everything if we don't learn to live socially. Knowledge makes you social, responsible and makes you respect equality.

ABOUT POWER

As most believe that the world's existence is based on power and it’s the power which rules... Some say power always wins or its the age of power, but the reality is that power has always been there, always was and always will be. It’s always been our choice of how to use it which decides who wins and who loses in the worldly domain. So we can still have the win-win scenario for all, which is very easy if people start living morally and then there is the win-lose scenario which is popular worldwide and is the result of people attracted to doing selfish things for immediate return.

Because we are being dependent on each other more and more every day, the more we ignore the win-win scenario, the earlier we'll face its consequences on the life around us.

RELIGION AND SPIRITUALITY

I believe that the basic teachings and the ethics of all religions are the same. After all, religions are originated from human minds only. Broadly I would classify religion under philosophy.

Meaning of the word religion is to relate. People follow religion of many reasons; some just kind of inherit it from their parents and keep following it, some find the philosophy of a religion interesting so they like to be a follower. Then there are some who just don't care. Religion is a personal choice and can be unique for each one. Spirituality is different from religion because it quests on the spirit and on our relationship with the super-spirit/God. Man is spiritual by nature because he has the curiosity to relate himself with the spirit.

EVOLUTION

People debate and even fight over the two very popular but different opinions about the origin of life on earth. One is that god created the world and put man on earth. The second opinion is that existence of life is a mere coincidence. It is a random event that man was formed biologically and there is nothing more than biochemical reactions. But my opinion is a midway between the two!

I believe that evolution was created by God to fulfill the purpose of creating life in the universe. And the universe is intelligent enough by itself to originate life on planets. It doesn't feel logical to me that God is different from the universe and would have created Adam and Eve out of nothing and put them on earth. I think such ideas came into existence because man has a nature to feel special about him.

Hope you have a slightly better insight of the universe after reading this simple article. Comments and questions are welcome. Simplicity is Great.

Search based GUI in applications

 

Adding search to a GUI really improves usability and overall user experience. It can be a pain in the neck to manually search for a particular option in a complex GUI with several tabs such as Microsoft office word 2007. You need to remember all the options in order to be able to efficiently use the program. Most of the GUI based programs do not have search based GUI as of now and it is difficult to get used to the GUI without much effort.

In case there is a search based GUI and highlights options/buttons as we search for it using a suggesting keyword, that would make the task a hundred times easier.Recently i have used 1 or 2 programs with search based GUI and i think it is marvelous to have it. It is so intutive to use search based UI.

Suppose you have to add a media file to a word document and you are a novice user. In case there is no search based UI you'll have to go through all the options to find out that one button in that one tab which allows you to add media to the document. In case there is integrated search, you just type the keyword 'add media',naturally, and the button/tab containing that option is highlighted to get you started right-away. I particularly like the windows7/vista start menu because it offers instant search. I think every complex GUI based program should have such basic integrated search.

Rush Reloaded


Rising population has been a big issue for India in the 21'st century. There are way too many people in India especially in the metros. Its not a problem that any odd person can deal with, there needs to be rational population control rules/law for it. I wrote a small poem highlighting the core issue of India being so developed yet inhabiting a vast number of poor people. Hope you like it:


Rush's everywhere, rush's everywhere.But it is nobody's care.

Buses overloaded with people, streets overloaded with cars.No space to live on earth, begin the quest to mars.

Population of Delhi has expanded exponentially, Hits the most those who haven’t grown commercially.

At traffic signals is observed an inhuman scene,Every day, by me, it’s not easily seen.

Just a car's window is separating successful and poor,Humanity I think is still immature.

Take it as my word; it is going to be worse.Population, pollution, and bad politics are a curse.

India has enough but poorly managed.Let’s take action before whole earth is damaged.

 

Slitaz Linux Review

 



Small is powerful




How minimal do you think a complete GUI-based operating system size can be? I thought it has to be around 500-700Mb before I came to know about the smallest of small linux distros. The main contenders are DSL, puppy, slitaz and a few more. SliTaz 2.0 is a powerful distro(operating system) in just about 30MB. Its the best mini distro i've tried so far. It offers clean looks and solid apps with no compromise in usability.

Good:
1. Slim yet powerful File manager.
2. Firefox included in a 30mb distro!!
3. Grub install option.
4. Robust inbuilt system tools and utilities.(best feature)
5. Working Desktop effects!
6. Autologin/multiple accounts feature.
7. Perfectly working GUI-based package manager.

Bad:

1. Window manager crashes sometimes.(unlikely)
2. Absence of word/excel/presentations processor.(who needs those when we have google docs)


Democracy and Humanity

 


Every human knows right from wrong and to depict this character is called humanity.

Democracy is just a forceful method to make people comply with some of the basic rights of all human beings. Humanity on the other hand allows humans to be really free and righteous. The universal law should be humanity and democracy should be abandoned.

I dont understand why there is a need to rush for resources. Why there is need for anyone to work 9 hours or more each day to get his livelihood when there are plenty of resources and machines to do all the repetitive tasks. These days people are busy with their businesses and work life so much that they forget the real purpose of life. Ideally, there should be lots of time for recreation,fun,art and above all finding the reason for living which is totally apart from business.

Democracy allows anyone to earn as much as he can with legal methods. Those legal methods are bound by laws decided by society formed of the same people who are greedy, selfish and foolish. Which means that selfish people won't allow just distribution f resources. And which means that some people are always struggling for resources to feed and shelter themselves.

Most of the Indians think that if one is poor it is the cause of his own destiny. They don't understand that the real reason for poverty is that although the universe gives equal oppertunity to all, humans do not.

Fix for corruption

 

People advice to introduce this policy, make that amendment in law, and corruption shall be gone. But people tend to forget that the root of all corruption is the evil in the human mind.


The ability to differentiate between right and wrong is human's biggest ability. It gives man the ability to imagine,search, and reach anything.

Small bits make bigger parts and parts combined make the whole. Man can start doing things in small bits and pieces and expect a bigger and worthier end provided he is doing the righteous. Meaning righteous behavior can lead man to the good things in life and progress him to a way to find his purpose and the truth about life.

Right mindset is needed to understand anything. And that is why right mindset is needed to achieve anything.

Different people think differently and that is why they perceive differently. Perception affects understanding. Demented understanding of things already known to the mind may be the basic hurdle for it to understand something else just as some readers may think this article is crap and some may find it enlightening.


Mind always tends to think: "what is the immediate gain for me"? and that corrupts the mind. Believe me, thinker's mind is corrupted right at that very moment. One should set a higher goal for himself than just material success and that is possible with noble thinking.


Some say that there is no light in the world and it is all dark. The truth is imminent but can be seen with open eyes and open mind only, it is not for the blindfolded but for the wise.

Defence or Offense?

 

Defense Services are a complete waste of money and resources. War is the most foolish thing ever done by man. All animals fight but only man wages war. In fact, defense services is the wrong name given to armed forces. They should be aptly called forces, because they are means to force your will upon others!

It is all result of commercialization and profit based marketing that it is considered an honor to join forces and even considered to be an act of serving your fellow men. I do not coincide with that thought. IMHO, if one has to serve, he should raise the consciousness of people to do the right thing. War and military is just wrong. Yes, there are terrorism, violent activism and other bad stuff going on but Police, CRPF, ATS etc should be good enough to fight back. Army is just plain foolishness of man spending money on it is also a waste.

We should get our basics right. Why fight? Do your neighbor as you do yourself. You and your neighbor would both be benefited. I know that is not the case. But why? Science tells us to ask why. So should we. Well, there is a simple answer to that. Its like this because there is inequality amongst men. People fight of only that reason. Inequality of resources, both natural and intellectual, causes differences, and hence jealousy and hatred in society.

Nations should come closer to create a global governance. In that case there would be no need for borders and forces. In such a scenario, only regular law enforcement would be good enough and after a while and I hope even that wouldn't be needed if we follow good commandments.

Democracy is a foolish system of maintaining order in society. It is based on the false assumption that people are fair, care for others and can be inherently believed to write and follow good laws and commandments for just behavior.

Humans never followed humanity so here are a few tips to improve existing widespread governance system called democracy.

1.Equal opportunity for all. Now equal means truly equal. Not only educationally and by rights but also intellectually and upbringing-wise.

2. Minimum wage and a job for everyone as no-one wants to sit idle.

3. Wealth regulation and penalty on excessive wealth accumulation.

That's it. Simple but it will take time for the existing society and order to change in accordance.

Some questions that give rise to some more...

 


OBSERVATION #1 - Its so obvious that everything has an end. But do things are built as quickly as they end? Certainly Not.


Its always difficult to start and build something than it is to destroy it. (Physics geeks, please don't argue by saying that energy can neither be created nor destroyed, and don't feel bad as although I agree with the same but not speaking in the same sense. I am speaking in a broader sense, as in how we see things, and not how they behave in quantum physics.)


In that sense I believe the universe to be entropic. Everything is just rushing towards its end. Its plain to see.


Whatever is created has an end too.


Questions that arise - Why is it like that? Why there is an end to good things and bad. Is human race going towards an end? What is that end? Why is it necessary to go towards an end?



OBSERVATION #2 - Human race has done foolish things in the past and they continue to do so.


Well, this one may seem controversial and debatable to some. But IMHO, the above statement is true.


Wherever you look in history, you'll find that people fought over unlimited resources, did unjust and worst distribution of resources and then tried to show themselves as priests and people of God. They've tried to punish those who were just and truthful because the majority is egoistically blind enough NOT to face the truth, let alone understand it. And believe me, if you see things in their true sense despite of the fact that humans have progressed, things still haven't got any better!


Questions that arise - Why is human progress so slow? Why do so many good lives have to come to bitter ends before human race can finally grasp the truth? Can't we live forever as good souls?


OBSERVATION #3 - Physical world/phenomenon are difficult to understand.


It takes an entire lifetime to understand just one branch of physics and still there are so many questions left behind.


Questions that arise - Why are physical concepts so hard for the common man to understand? Are humans considered as one, poor by universal standards? Why would someone create a universe and make it mindbogglingly complex yet comprehensible? Why are we in a state of confusion about the universe? Why are we so confused that we've to use the word 'maybe' with every answer we give to a genuine questioner.


Comments and Answers welcome. More to come soon...


Indian Politics

 

The Problem

Indian politics is in bad shape. Political parties keep blaming each other for the havoc that is there, and do virtually nothing to solve it.

Now, different people have different opinions. So, people do have conflicts in their opinions. But the truth is always one. It is not different for different people. There may be different ways of understanding the same thing but truth is always one.

"Politics is not a game. It is an earnest business.
-Winston Churchill "


Good governance can only be achieved when the people(and hence their representatives) are on the same page. That can be done only with finding the truth/right thing to do amongst the varying opinions on a(each) subject, which is possible with argumentation where compulsory expression of truth is mandatory/complied to.


So productive argumentation on each subject shall lead to a better society and a better nation. But people don't speak the truth. They shout lies. That being said, it is clear why there is no good governance in India.

IMHO, democracy is a weak system for governance when people are not true to each other and are selfish. In such a scenario, one needs to be vigilant and strict laws have to be imposed to the society. I say imposed because I don't remember signing a contract of citizenship where I have to abide by all the laws set by others!


"If you have ten thousand regulations you destroy all respect for the law."
Winston Churchill


"A genuine leader is not a searcher for consensus but a molder of consensus."
Martin Luther King, Jr.



Solution

Well you can sure make a change in the current democratic function but it'll take a hell lot of effort and more than a life-span to set things straight in India.

So, the way to go is to change the mindset of the people first. One man will not make the entire difference in society but he can be the initiator to a revolution where people just follow and in turn make a difference to the society. For better governance, we need better society. For a better society we need better people. For better people, we need each human being to be good and follow the righteous path.


Fighting won't resolve issues. Vote bank politics will not make any party win in the true sense. Parties following good politics(or claiming to do so) will not succeed unless they also turn the bad people to their side. People say it is sometimes necessary to fight. It shouldn't be if people understand that good for one is good for all.

The only solution according to me is to make people believe in a win-win situation. And this is a very tough thing to do.


"Let us not seek the Republican answer or the Democratic answer, but the right answer. Let us not seek to fix the blame for the past. Let us accept our own responsibility for the future."
-John F. Kennedy


ROSA Desktop Marathon 2012 - The Perfect Linux Desktop

 



Installing and fiddling with various Linux distributions has been my passion since 2006. Its been 6 long years and I have tried almost every type of Linux distribution there is. But I have never come across such a good looking and fully-capable out of the box distro as the new ROSA Desktop Marathon 2012!

Well ROSA Linux is a fork of Mandriva which is itself of the Mandrake Linux family. Mandriva has been losing focus lately so two main distributions have taken over using the Mandriva strong base which are namely Mageia and Rosa.

I have liked Mandriva since I first installed it. It has a great Control Center, integrates well with KDE and has worked fine with the Hardware I had so far. However, one thing that has always bothered Linux users is the availability of proprietary drivers for hardware chips. Especially graphics cards. To be more specific, Nvidia and ATI ones. That has been the case with Mandriva, Ubuntu or any other distribution you name. Ubuntu is the big name in the marked but it was Mandriva which first came across the idea of fully supporting Nvidia graphics cards out-of-the-box with Mandriva 2011h (Hydrogen).

Rosa desktop carried forward the legacy of Mandriva 2011.h, did some customization and made a few tweaks into the user interface to launch an amazing new OS in the time Mandriva was facing its bad days.

No other Linux distribution that I've tried so far has been able to give such a value to the user out of the box as Rosa does. 5 stars to the Rosa developers!

Here are 10 good reasons why I like ROSA Desktop Marathon 2012 :

1. Great out of the box support for all my hardware which includes an Nvidia graphics card. (a big +)

2. Reliable Mandriva base and own software repository.

3. Amazing looks! ROSA Icon theme and the window borders look awesome.

4. Latest KDE stable.

5. Rocketdock with simplewelcome which are great apps according to me. Rocketdock replaces the KDE standard taskbar using Icons only task-manager and Simplewelcome is the start menu work-alike thing which has a facebook like timeline feature integrated into it! Isn't that great folks?

6. Klook installed by default.

7. Rosa doesn't annoy us with Error messages like Ubuntu 12.04 (a big +)

8. Google-gadgets is in the package manager! (strange as google gadgets is a laid down project).

9. Gtk themes work great with Rosa because it has Gtk engine pre-installed

10. LTS release looks promising and there is hope for 'even better' future versions.

Some dislikes:

Although these tiny flaws can be overlooked but its really a matter of perception:

1. Search doesn't find all the installed applications. For eg. konqueror doesn't display in the list of applications although it is installed.

2. Package manager needs a little work. It shows information for each package downloaded in a popup window which kind of breaks the UI flow and integration.

3. The Technical support application called Sphere (yes, for the first time there is free linux tech-support, at least for the sake of it!) didn't work for me.

4. Some essential apps like Gparted and Gimp don't come pre-installed.

Go for it. Cheers.

Its the people, not the system (to blame)

 




Today i saw the India's republic day parade on TV.

This event is a tribute to the freedom fighters who fought for a good reason that made all the progress in India possible. It is also a showcase of all the progress that was made in the past 60 odd years since the inception of the Republic of India.

Then I watched some news, made up by some of the foolish, ignorant, partial and irresponsible media people. They mostly showed(extrapolating though) how Indians take pride every time the parade marches through Rajpath. Then I watched the President's address to the nation on youtube. He spoke so emotionlessly about so many great things that happened to India like Gandhi and the freedom on India. Later, I watched a video on the embarrassing condition of traffic on Indian city roads interrupting the ambulance services to the extent that medical care is unable to reach anyone desperate for it in time.

The question that went through my mind after watching these events through the day: Have we done enough to be proud yet? Shouldn't we be ashamed instead, looking at India's condition today despite so many efforts by so many great people and visionaries at the time of the freedom struggle?

We say that we respect Gandhi ji so much so that we call him the father of the nation. At the same time we do not follow his visions and principles. Let's be honest to ourselves. We do not care for others at all. We do not believe in cleanliness and beautification of our surroundings. We produce, watch and talk about cheap Bollywood movies and TV shows which are totally disgusting to say the least. They have a powerful adverse impact on the society. The condition of cities and the standard of living is worst but still most of us do nothing about it.

True, accomplishments of the past are something to be cherished upon and celebrated. But haven't we celebrated the same thing over and over enough already? It looks like, we are so happy about the accomplishments of our ancestors that we've forgot our responsibilities!

Its undeniable that we owe a lot to the freedom fighters and the visionaries of India who shaped our future. They struggled and sacrificed to make the common man powerful. We enjoy the benefits of a democratic society and the rich cultural, social, scientific, philosophical and vedic heritage of India, all because some people made good choices in the past. But looking at our behaviour, it seems, the next generations wouldn't be so preveliged afterall.

Thursday, November 17, 2022

Linux Tips and Tricks

 

Helpful Tips and Tricks for Linuxbies

Disclaimer : I came upon these tips and tricks on the Internet searching for solutions to the problems i came across over the course of almost three years of using Linux. Some of these have been copied from the Internet for my sole use. I compiled this document for my own convenience and I dont take responsibility for any harm done to your computer or settings by using any of the tricks below.. So, use at your own risk.

Add files to Totem playing list from Nautilus

just use nautilus-actions-config and use the following settings:

Label: Tooltip: Add to totem playlist

Icon: /usr/share/pixmaps/totem.xpm

Action: totem

Parameters: –enqueue %M

Appears if file matches filenames: *.mp3 ; *.ogg ; *.mpc ; *.aac ; *.wav ;

*.ac3 ; *.avi ; *.ogm ; *.mpg ; *.mpeg ; *.wmv ; *.rm ; *.ram ; *.vob ; *.asf

Appears if selection contains: only files

Appears for multiple: true

Package search from terminal(command line)

apt-cache search packagename

eg. If you want to serach for a package named similar to sysinfo then type 'apt-cache search sysinfo' into terminal.

Use Audacious Skins

Download some skins of Winamp, extract it and copy it to "/usr/share/audacious/skins/" (not "~/.audacious/Skins" which is popular on the Internet). Remember that you should use "sudo".

sudo nautilus /usr/share/audacious/skins/

Then I change it to the active skin in the "preference" of Audacious

Autostart in KDE

KDE for all its eye candy and general slickness really sucks on some basic points. One of these is with auto-starting programs upon login. Suggestions to get this working almost always involve having the use the command-line or following a prolonged series of steps for a task which should ideally involve no more than a few clicks. Usually, most people suggest the following as a solution even to newbies:

Open up Konqueror. Navigate to your home folder.

Click on View. Select Show Hidden Files.

Look for a folder named .kde and open it.

Look for a folder named Autostart and open it.

Right click inside Konqueror. Select Create New and Text File.

Give the text file the name of the program you would like to autostart.

Open the file using Kate or the text editor of your choice.

Type #!/bin/bash on the first line.

Type the command to launch your program along with any necessary switches.

Save the file.

Right click on the file, select Properties and the Permissions tab.

Finally, check the is executable box and click OK to complete the process.

Are you fucking kidding me? I know that user-friendly Linux is still something of an oxymoron. However, this is really pushing it. Convinced that there had to be a better solution, I decided to google some more and eventually found that the recommended procedure is actually the following:

Open up Konqueror. Navigate to your home folder.

Click on View. Select Show Hidden Files.

Look for a folder named .kde and open it.

Look for a folder named Autostart and open it.

Click on the K Menu icon and navigate to the program that you would like to auto-start.

Drag the icon for said program into the Konqueror window and select Copy Here when prompted.

And that's it! No text editors. No jargon. No code. If you bookmark the Autostart folder, then it becomes an even easier process very similar to that in Windoze. That said, the whole idea of placing the Autostart folder inside a hidden folder smacks of idiocy.

Switch between GDM and KDM

When you have Gnome and KDE both installed on the Ubuntu, you may need to switch between the window managers gdm and kdm. Here's how you do it from terminal.

sudo dpkg-reconfigure gdm or sudo dpkg-reconfigure kdm

Activate Hidden Icons in Ubuntu(Gnome)

Give Me My Trash Can!

The developers who designed Ubuntu’s desktop decided to keep the desktop largely clean of icons. This included relegating the Trash icon to its own applet at the bottom-right side of the screen. Many people find using the applet a little difficult and miss the desktop trash can icon, which has been present on Windows and Mac OS desktops for more than 20 years.

The good news is that it’s easy to get the trash can back. Click Applications -> Accessories -> Terminal, and at the command prompt type gconf-editor. In the program window that appears, click the down arrows next to Apps, then Nautilus (you’ll have to scroll down the list a little), and then click Desktop. On the right side of the program window, put a check in the trash_icon_visible entry. The Trash icon should then instantly appear on your desktop! To delete the old Trash icon at the bottom right, simply right-click it and select Remove from Panel.

You can also put a check in the computer_icon_visible, home_icon_visible, and documents_icon_visible entries if you wish to see Computer, Home, and Documents desktop icons. By putting a check alongside network_icon_visible, you can add a My Network Places–style icon to the desktop too.

Be careful when using the Configuration Editor program. It lets you configure just about every aspect of the GNOME desktop and doesn’t warn you when you’re about to do something devastating, so the potential for accidental damage is high.

Enqueue in Audacious in KDE

Open a mp3 file's properties->edit file type->select audacious->click edit->paste the following : -

audacious --enqueue "${FILE}"

EOL compatibility issue fixed

Introduction

Windows and Linux handle text files differently in terms of line breaks. Windows uses (invisible) \r \n characters (carriage return and newline) to represent where the line ends and a new line starts, however, Linux (and all Unices) use \n character for the same purpose. This is the point which makes Linux-created text files look garbled in Microsoft Windows.

There are of course several ways to convert Linux text files to Windows. Intermediate/advanced users may find using sed or awk a perfect tool to convert the files, but in this article I will go with easier solutions.

Kate

KDE's text editor, Kate, has built-in functions to save the text file in Windows format. To do this, open your text file in Kate, go to Tools → End of Line → Windows/DOS. Kate will automatically change all the line breaks and you will be able to save your file in a Windows-proof format.

If you are carrying text files between Linux and Windows computers frequently, then doing the above may not be your perfect solution. In this case, I recommend telling Kate to save the line breaks as Windows/DOS compliant for every file. Go to Settings → Configure Kate and on the left pane under the “Editor Component” part select “Open/Save” option. In the right pane, select “DOS/Windows” as the “End of Line” and un-tick the “Automatic end of line detection.” Click “Apply” and then “OK” to exit.

If you are using Gnome or any other window manager, you can use Kate without any problems.

Yes, everyone wants graphics, or better, the ability to customize things to suit different situations. I have always suggested programmers regarding interfaces and programs in genre to let the user be comfortable to set and change almost every aspect of program GUI, at least icons, fonts, backgrounds and often ii found some programs being too customizable, on the contrary.

Let's take a look at GRUB 2, also called grub-pc by updates that the Debian distro suggests. GRUB 2 is the successor of the GRUB bootloader, commonly shipped within the majority Linux distributions. Basically i will cover only some graphical aspects that GRUB 2 seems to be strong with: customization of fonts, background, console modes directly set by GRUB 2 itself, no more limitation to the resolution of 640x480 pixels at startup, can be used bigger background pictures also at the resolution of 1650x1050 pixels.

Our favorite kernel parameter vga=791 for example, is now deprecated (if using GRUB 2), and it's a little tricky to set correctly the console mode. The configuration file for GRUB 2 is now called grub.cfg in place of the old menu.lst whose we were addicted, but resides in the same directory /boot/grub. Things are very distribution specific i think, but remain the fact that configuration changes rely on the grub.cfg file that we have to alter in some way. Debian is putting the defaults into /etc/default/grub where you can find and set common used parameter easy to understand.

"For example i use Debian within VirtualBox at a resolution of 1280x800 for the console and also for the Xorg server. If you want you to start with this resolution also for GRUB 2 (remember in the past was very limited this feature, and if you are using VirtualBox or other virtualization programs the annoying result was in resizing the window and than enlarging upon the system goes into graphical mode, for example, with the splash screen: usplash, splashy and others), very nice, no more discrepancies between modes: the line to change into the /etc/default/grub file is GRUB_GFXMODE=1280x800 and then issuing update-grub. The resulting action is to write the line set gfxmode=1280x800 into the grub.cfg file."

We are half a way to our objective, to change also the resolution of our console. We need two conditions, the terminal must be set to insmod vbe line MUST be present in your configuration file (this ensure correct console mode settings, if you note this instruction is almost identical to load a kernel module) and the option gfxpayload=keep MUST be set. This will keep our 1280x800 resolution also for the console, YEAH! no more resizing on VirtualBox! and this is not the end. Someone reported that adding gfxpayload=my_resolution will be able to set a different resolution for the console instead of having the same of the GRUB 2 menu, sincerely i have not tested it. Why i have not tested it? The strong point is that to change grub.cfg requires a little more effort than editing it with a text editor, because all your changes will be discarded when you run the command update-grub.

/boot/grub/grub.cfg excerpt :

setgfxmode=1280x800
setgfxpayload=keep
insmod gfxterm
insmod vbe

update-grub reads the configuration stored in the /etc/default/grub file and the scripts that resides into the /etc/grub.d directory at least on Debian (i suppose is the same for other distributions). To set the option gfxpayload=keep i had to modify one of this file cause i discovered that this line MUST be the next after the gfxmode one, like you can note above.

You have to find the file or script responsible to change the content of your grub.cfg configuration file and append the appropriate line, after the gfxmode sentence, gfxpayload=keep to keep the same resolution of the GRUB 2 menu for the console (wider resolutions result in smaller console fonts). In my case i had to edit the script 00_header stored into the /etc/grub.d directory.

There are other scripts into this directory, responsible to set other parameters, like theme (background picture an font color), distribution and custom OS. To change the background image of your GRUB 2 menu is almost the same process, find the script or configuration file that change the attribute of the background_image instance of the grub.cfg, and change the line pointing to the image (usually a .png or .tga file) with the one you like, i have tested it with a resolution of 1650x1050 pixels modifying the script 05_debian_theme, in my case, stored into /etc/grub.d directory as well.

Install Moodbar for Amarok on Ubuntu

First,install the compiler by this command:

sudo apt-get install build-essential

And install the libraries and required programs

sudo apt-get install fftw3-dev libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer-tools gstreamer0.10-plugins-ugly gstreamer0.10-plugins-good

Download and extract moodbar :

wget http://pwsp.net/~qbob/moodbar-0.1.2.tar.gz

tar -xzvf moodbar-0.1.2.tar.gz

Now,go into the directory and compile:

cd moodbar-0.1.2

./configure --prefix=`pkg-config --variable=prefix gstreamer-0.10`

make

sudo make install

Launch Amarok and go to “Settings -> Configure Amarok” and from “General“, select “Use moods“. There are three different colour moods to choose from.

View personal and system fonts

As root, open nautilus/dolphin window and type "fonts:///" in the location bar.

Fix for Openoffice spellcheck problem

If spellcheck doesn't work out of the box, check the language set in the Font tab of your text style. Select English there and spellcheck will be activated.

Another way i found: Go to regional and language in system settings and choose the language US english/ UK english from there. It should be fine after that.

Rebuild Icon Cache(Ubuntu)

Sometimes the icons go bad like some broken icons or no icons at all. To fix all icons, type this in the terminal:

sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/hicolor

Remove menu delay in Ubuntu(Gnome)

Type

echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0

in a terminal

And it simply removes the little delay when navigating menus.

Force Resolution

Its been an issue with Kubuntu 10.04 that the resolution doesn't stick after rebooting system. The workaround for this is to set the resolution every time you login by adding this program entry into autostart.

xrandr --output VGA1 --mode 1280x1024 (where VGA1 is the name of your display, type xrandr in terminal to find out)

Kill Desktop Manager (Desktop Environment)

It may happen that sometimes a desktop manager like lxde or kde doesn't load properly and you're stuck somehwere in between login and full desktop loaded states. This command can be of real help there and then :

sudo kstop kdm or sudo kstop gdm

You need to type this in shell. Press Ctrl+Alt+F1 to go to shell. It will work even if login doesn't work. After the desktop manager is stopped, type startx and then press Ctrl+Alt+F7 to go back to the login screen where you can choose another desktop manager like Gnome and login like normal.

Restore Gnome Desktop

There is a way to reset your Desktop settings back to their defaults in Gnome.

If you don’t have access to your graphical (GUI) desktop to delete these folders in Nautilus or you’re stuck at the login screen, drop to a terminal by hitting CTRL + ALT + F1, login to your account, and run this command:

rm -rf .gnome .gnome2 .gconf .gconfd .metacity

Get back to your GUI desktop by hitting CTRL + ALT + F7.

Login and VOILÀ! Just like the first time you ever logged into your Gnome desktop.

Fix Filesystem errors

Sometimes linux wont boot properly if the filesystem(ext3/ext4/etc.) has become corrupt.

For fixing filesystem errors use a linux live cd and type in the terminal

fsck /dev/sda1 (assuming sda1 has your linux partition)

Fix and Repair Partition Table linux and windows

 How to Repair Partition Table


Many of us love to play around with our boxes and customize it to our liking. I love to give my box the best possible look with the best software underlying it. But even in the finest environment and with utmost care, sometimes computers behave in ways we don't want them to. I love Linux and always keep on trying the newest distributions. One of the most common problems that one can face while playing with Linux distributions is a partition table error. Partition table is basically meta-data stored on the first sector of a hard-disk that contains information about the disks partitions such as type, capacity and whether its primary or logical, etc.

Partition table can be corrupted due to many reasons like a boot-sector virus, an unsuccessful operating-system installation and even by certain softwares. I've encountered the situation many times when an installation is incomplete or unsuccessful and I get a bad partition table. And I tell you a bad partition table can really cause you a lot of headache!


Possible Effects of a Bad Partition Table :


  1. Linux fails to detect any partitions.

  2. Linux fails to install properly. The installation goes up to where it'll say that installation is complete but when you reboot, you don't see any OS entry in the boot-loader.

  3. You are unable to boot the computer.

  4. You are unable to do certain operations with your partitions such as shrinking or resizing.


Here's how the problem starts:


Suppose you have Microsoft windows on your computer, and you're trying to install a new Linux say Ubuntu. But Ubuntu fails to install (I know....mostly Ubuntu doesn't fail, but its just an assumption) and it leaves your computer in a very undesired state where your partition table is corrupted, the windows boot-loader has been overwritten and the Ubuntu won't boot .

Now Ubuntu will not even reinstall because it can't detect the partitions on the hard-disk. When you boot up the live CD and run the installer, it says that for installation to take place, the partition table needs to be initialized, deleting all data on the hard-disk. Most of us won't like to do that unless we have a hard-disk backup image. So the last resort for you is to somehow repair the partition table!


Here's how to fix it:


1. Going back to where you started :


Reinstalling windows is one of the ways to fix it because Windows can read the disk partitions even when the partition table is corrupt(yes, somehow it does, provided your MBR is otherwise intact). But you don't want this as a possible makeover because it will wipe out your existing installation of Windows. Moreover, although Windows will install, you may not be able to install Linux over it until the partition-table is fixed. So you'll be back in the position where you started – installing Linux over Windows.


2. Partition Table Doctor comes to the Rescue :


Now that you've Windows installed, you can run many partition-table recovery softwares among which, PTD is the best. PTD can really fix partition tables. You need the full version to save any changes you do with PTD. Choose the option that says 'Rebuild Partition Table'(if I remember it correctly). It'll take only a few minutes to detect the existing partitions and only a few seconds to rebuild the partition-table.


3. GParted Comes to the Rescue


Sometimes fixing the partition table using PTD doesn't help(as was the case with me), in that case Gparted can be of great help. Gparted is a free software and it comes bundled with several Linux live CD's including Ubuntu. You can also run Gparted from a live CD. All you have to do with Gparted to fix the broken partition-table is to do some changes like edit or shrink a partition, create a new one out of existing space or so. Then save the changes to the disk. Reboot and now you shall be set free!


Happy Linuxing Guys.

Update..

Active@ Partition recovery is also an easy way to repair your partition table. You just need to download Active@ partition recovery and run the quick scan or super scan depending on how bad your partition's health is (which is depending on how many times you have overwritten data on the same sectors of the hard-disk), and choose the partition to repair. It takes just a few seconds to restore the partition information.

It will even tell you if any of your current partitions would be overwritten when restoring an old one! If such is the case with your PC, don't lose hope, you can still recover the contents of the partition by making a raw data image of the partition. It takes a while (a few hours actually) to write the partition image using this method but it restores all your data and doesn't even change your current partitioning setup.

Sunday, November 13, 2022

Magento - Brief Overview

 


We are in the age of Information Technology and e-commerce boom has taken place recently in India. Until the early 2000’s people in India were still buying stuff directly from stores, the primary reason being the unfamiliarity of online sellers. Now, with so many active online sellers in India, people are keen to spend their money into buying from online stores. There is proven transaction security and much ease in the overall process of purchasing. Apart from this, there are many other alluring reasons to shop online like there is wider choice, competitive prices, and delivery at your doorstep.

Most of all, online shopping is the ‘in’ thing these days. It’s considered modern and cool to shop from the convenience of your home.


Magento has played a big role in the e-commerce boom all over the world and India is no exception. Magento is an e-commerce web-application development platform, released in March 2008. Magento community version is free to use and customize. In just a few years, Magento has changed the scene of the e-commerce market very rapidly by bringing other ecommerce-platforms to its feet!

Figure1: Graph plotting Magento’s share in the e-commerce market today.
Figure1: Graph plotting Magento’s share in the e-commerce market today. | Source

Magento Features

Let us look at why Magento has grown so much in the market despite of other big names like OpenCart and osCommerce. We will look at the features Magento provides over other shopping carts and why it is so beneficial to build your e-commerce store with Magento.

Inbuilt Features:

  1. Catalog Management –
    1. Batch Import/Export of Products: Magento allows import and export of catalog from other stores. So if you had a store in, say for example, osCommerce and you want to switch to Magento for obvious reasons, you don’t need to worry about re-entering all the product information. You can directly port the products from osCommerce to Magento using the inbuilt CSV import.
    2. Digital Products Support – Apart from the regular tangible stuff, magento has provision for digital stuff like e-books and other downloadable items.
    3. Magento allows you to easily generate coupons/discounts/special prices without the knowledge of computer programming
    4. Catalog Browsing –
      1. Layered navigation for filtering of products in categories.
      2. Product Comparisons
      3. Product Reviews
      4. Checkout and Payment –
        1. One page checkout
        2. Guest checkout
        3. Multiple payment options supported with integrated Paypal and Paypal Express.
        4. Excellent Customer Service Features –
          1. Customer dashboard with features like previous orders, wishlist, reordering, order tracking etc.
          2. Guest order status
          3. International Support -
            1. Multiple languages are supported
            2. Multiple currencies are supported

Customizability

Many a times the above features are unable to cater to the very unique and complex seller needs. That’s where Magento’s custom modules/extensions come into the play. Magento is fully customizable but it is not that easy to customize. It is always better to go to an expert with your customization needs to build a custom and complete e-commerce solution for you.

Community support

As Magento is growing in popularity, the number of people in community is also growing. There are a lot happening simultaneously in the Magento Community online. A lot of questions are being asked in the forums, new features being requested, bugs being reported and fixed and hence new releases of Magento Community are releasing one after another.

It is the truly the era of Magento e-commerce and both an online seller or someone aspiring to become one can take the benefit. Here are some of the businesses who have used and benefited from the Magento Platform:

Figure2: Some businesses who use Magento

Thursday, December 29, 2016

Nuclear Supremacy Tug-of-war, Destructive Tendencies of Countries & other Problems of the World



Problems :
  1. Countries are concerned more about nuclear capabilities and missile ranges than eradicating poverty and bringing happiness to the lives of the common man.
  2. Articles are being published that so and so country is this much capable to bring a holocaust to so and so countries. Such news breeds negativity and rivalry among countries, who ideally should be working together towards betterment and to resolve conflicts. War is not a solution, not now! We all know a third war will bring humanity down to its knees and may cause imbalance in nature to the extent of an irreversible state.
  3. Countries flaunting military supremacy. This will not be needed when all the countries in the world are friendly. There are better things to focus on like renewable energy sources, health services, science and technological advances, humanitarian causes, better law and order than to flourish war-like conditions.
  4. Defense is not there for just defense anymore, power-hungry countries are using armies as a mean of proving their superiority and power over regions/countries through irrational means such as taking the help of terrorist organisations.
  5. Power-hungry and ill-motivated leaders.
  6. No resolve in decade-old grudges and conflicts among countries.
  7. Increasing craziness, demotivation and inability to fix the chaos leads to a loss in the sense of well-being of the common man. We tend to think of this chaos as the new normal.
Bringing order to the world :

  1. People should really start believing in the you win-I win reality. This is much easily said than done. However, what people believe is really the cause of all human decisions. The decision to believe in the win-win policy alone can have an astounding effect on humanity. So making this happen could change the world forever, and for good. 
  2. Countries should focus more on humanitarian causes and policies. This involves making sure that Nobody should face adversities because of a bad system or policy that people have chosen to follow. 
  3. World authorities should work to bring order to the world as a whole by resolving differences and conflicts among people and by making humanity the prime responsibility and a prime law for all.










Friday, September 25, 2015

Hassle in even disconnecting an already poor service - MTNL broadband - My story


A lot of MTNL users have stopped using MTNL in the last few years, as their service is becoming poorer by the day. I thought otherwise earlier, because luckily, for me, MTNL connection was working without a glitch for the last 6-7 years.

But recently, I had to experience the overall poor service of MTNL Delhi (Mahanagar Telephone Nigam Limited) when I moved to a new house. I'll tell you what made me decide disconnecting a 6-year old MTNL broadband connection.

MTNL's service has been very good at my older place(a different pin code but same exchange). A solid line with good speeds for unlimited connections at a fair price. I was a happy customer once.

Initially, I had some difficulties in getting them to shift the connection to the new home. The MTNL guys who came to install the connection at my new place were not able to make it working at all. As soon as I got past those problems and my Internet started working, I had new problems. Broadband will only work sometimes and with lesser speed than what I was paying for. I kept calling MTNL technical support and customer care again and again but every time I lodged a complaint, the very next day I could see, on their on-line complaint tracking tool, that it has been resolved. Although it would not. I even called the Area manager, but how can the area manager solve the problem when he keeps sending the same guys over and over again to solve the same problem which they were not able to fix firstly.

This continued for a month.

As broadband is a daily need, eventually I got fed up, had to give up my MTNL connection, land-line along-with.

It was not an easy affair to get the connection disconnected either. Firstly there is no option to do this on-line, which should have been the easiest for the customer and the ISP, both. You still need to fill-up a regular paper form and get it signed with various departments of MTNL, just to, should I say, get rid of the MTNL services! They even ask for a ID proof for the disconnection of MTNL services. Why need an ID proof when I am an already verified customer using MTNL services for so long?

For people who are fed up of MTNL's poor service and decide to disconnect -
Please make sure when you mark a reason for disconnection, simply choose shifting/moving to another city, for your own ease. In case you select 'Not satisfied from services' on the form, they will not submit the request for disconnection unless you get it signed from yet another department/section.

So what I understood from my experience with MTNL is that either they have good infrastructure laid out at some places and not at others. Or, specifically for our new area, the guys are not trained properly to troubleshoot/fix problems and the higher officials just do not care.

Later, I got myself installed the local cablewala's Hathway broadband.

Thursday, November 20, 2014

Bodh - The cognition of knowledge


 


The ability to differentiate between right and wrong is a human being's biggest ability. It gives man the ability to imagine,search, and reach anything. 

Small bits make bigger parts and parts combined make the whole. Man can  start doing things in small bits and pieces and expect a bigger and worthier end provided he is doing the righteous. Meaning righteous behavior can lead man to the good things in life and progress him to a way to find his purpose and the truth about life.

Right mindset is needed to understand anything. And that is why right  mindset is needed to achieve anything.

Different people think differently and that is why they perceive  differently. Perception affects understanding. Demented understanding of  things already known to the mind may be the basic hurdle for it to  understand something else just as some readers may think this article is crap and  some may find it enlightening.


Mind always tends to think: "what is the immediate gain for me"? and that  corrupts the mind. Believe me, thinker's mind is corrupted right at that very moment. One should set a higher goal for himself than just material success and that is possible with noble thinking.


Some say that there is no light in the world and it is all dark. The truth is imminent but can be seen with open eyes and open mind only, it is not for the blindfolded but for the wise.

Tuesday, July 17, 2012

About Truth


We are time bound beings and the truth is ever changing, so to know the complete truth, we must be able to look beyond the realm of time. Its easy to get corrupt and corruption only brings more of it.

While this seems to be a bad situation, it is not so because of the existence of freewill. We control what we want and that makes us the master of our destiny. Its important to note that I am talking about the humanity as a whole here. So, it implies that in order to succeed as individuals, we must come together as one! More on this later...

Monday, May 07, 2012

Serious people, seriously missing

People aren't serious at all. They don't take life seriously. People think of freewill as a joke and make wrong use of it. It is not appreciable at all. They do evil deeds just because they can and when they are free to do so. They do not have any respect for life but they only fear someone who may hurt their ego or harm them. If nobody is there  to forcefully stop them of doing what they foolishly and knowingly do, they would keep doing so.

Age is a state of mind

I have met people who show intelligence beyond their age and i have met people who are dumb as a tree even after seeing so much life. This makes me think whether age is the time past since birth or is it a state of mind? I strongly feel it is the latter. Gaining more experience makes the mind wiser and wiser mind is mightier and should be known as more aged. Another way we can see age as a  state of mind is how we perceive the world around us. Perception, which again is a state of mind, makes us feel the way we feel and live life. And that is how people see us as being old or young.

About THIS (the Universe)

  This article here is about 'this'. This means everything that is observable. The universe, the world, the order or whatsoever we m...