Posts

Installing ibus-avro in Ubuntu 12.10

Avro OmicronLab is one of the best software to write Bengali using phonetic key board. Previously avro was not available for ibus (now default input method for Ubuntu) in Linux, But recently they made it available for ibus which is known as ibus-avro . It was working fine with Ubuntu 12.04, but due to some dependency problem it has stopped working with Ubuntu 12.10. Also reinstalling from .deb file or form official repository is not possible because of the same dependency problem. When trying to install from deb file or from repo, the following error message I was getting: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ibus-avro : Depends: gir1.2-gjsdbus-1.0 but it is not instal...

Git cloning behind proxy server

If you are behind proxy which is protected by firewall and want to use git clone using git:// protocol there is a huge chance that it will not work. But the beautiful thing is you can use http:// protocol instead. Which will work behind most of the proxy. So for example, suppose you want to clone ibus-avro from github.com/sarim. So normally you will run the following command: git clone git://github.com/sarim/ibus-avro.git Now if cloning fails, that means your proxy firewall is blocking it, you can run the following command instead. git clone http://github.com/sarim/ibus-avro.git Which will also clone the content of ibus-avro. Hope this will help. Cheers A.Paul

Micromax 352g modem in Ubuntu 12.10

Image
In one of my previous blog I have described how to configure Ubuntu 12.04 to use Micromax 352g Usb modem. But unfortunately this method is not working Ubuntu 12.10. But I have found another way to make same usb modem work in Ubuntu 12.10. First open terminal and run the following command: lsusb The out put will look something like this. Bus 001 Device 003: ID 0c45:63ea Microdia Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 002 Device 008: ID 1c9e:9605 OMEGA TECHNOLOGY Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Noter here the device ID for your modem. For my case it is 1c9e:9605 from OMEGA TECHNOLOGY . Now create a configuration file with above vendor and product id using following command: sudo gedit /etc/usb_modeswitch.d/1c9e:9605 And add the following...

Send in Email in Background in Thunderbird

Image
Mozilla Thunderbird is one of the best email client available for Windows, Linux and Mac. Here I will tell how to send email in background in Thunderbird, so that when you send any mail that irritating "sending email" popup will not come out in front of you. First go to Preferences window: In windows: tools>options In linux: Edit>preferences Now go to Advance tab > General   and click on Config Editor Button, When asked click on I'll be careful, I promise button.  Then search for mailnews.sendinBackground and then select it. Then right click and toggle it to true. Now Thunderbird should send your email in background. You may need to restart the Thunderbird. Cheers A.Paul

How to creat short form of a long command

Some time we need to use very long command frequently for some job in Linux. And it is very irritating to write same thing again and again when using frequently. But there is an option to make command short in Linux. You have to edit .bashrc file for that using following command: gedit .bashrc Then add the following command at the end of the file and save it, alias new_command='long old_command' For example I use the following command to connect my departmental server from my institute to check my departmental mail ssh my_username@physics.iisc.ernet.in Now if I want to make it short to suppose dmail, I can add the following line at the end of the .bashrc file alias dmail='ssh username@physics.iisc.ernet.in' After logout and login again you can now use the New_command (say dmail) instead of full long command. Hope this will be helpful. Cheers A.Paul

"could not get lock /var/lib/apt/lists/lock" problem

Some time when we run sudo apt-get update command we see the following error message: sudo apt-get update && sudo apt-get upgrade Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) One possible reason for this error is that you are probably running synaptic package manager or some installation is still going on on software manager or some where some installation or update or up-gradation is going on in system. But some time you find that nothing is going on but it still showing same problem. Then you can solve the problem using following command sudo rm /var/lib/apt/lists/* -vf sudo apt-get update && sudo apt-get upgrade Now your update should start properly. Cheers A.Paul

How to downgrade software if you have used ppa to upgrade it

In this blog I will tell you how to downgrade some software to Ubuntu's default version if you have upgraded that software using ppa. Many times we want to upgrade some software to its newest version. But Ubuntu does not provide update for all software except for some critical bug fixes or security update. But almost all software maintain there ppa for Ubuntu so that user can get the latest version of that software. But some time you may fill that you should not have upgraded that software to newest version as that is not properly integrated with Ubuntu. So you want to downgrade it. Here I will tell you how you can do that. First you have to install a ppa-purge software. You can do that simply using the following command, sudo apt-get install ppa-purge Now you can purge the ppa using the following command sudo ppa-purge ppa:user/ppa-name Which will automatically downgrade the software to default version of Ubuntu. Cheers APaul