Posts

installing language pack from command line

To install language from terminal you have to first know the code for the language (for example bn is code for Bengali and hi is the code for Hindi). Now first install the basic language packages for your desktop using the following code: sudo apt-get install language-pack-[cod] language-pack-gnome-[cod] language-pack-[cod]-base language-pack-gnome-[cod]-base It is not still done, because every other software may have its won language pack. To know which more package you have to install more you can use the following command check-language-support -l [cod] And then install those packages also. Example: Suppose you want to install language pack for Bengali, so first run the command sudo apt-get install language-pack-bn language-pack-gnome-bn language-pack-bn-base language-pack-gnome-bn-base Then run check-language-support -l bn And then from list install language packs for all applications. Source: http://askubuntu.com/questions/149876/how-can-i-install-one-language...

Solving different time problem in windows and ubuntu

In Windows and Ubuntu dual boot machine you may some time find that the time are different. This is because windows treat BIOS clock time as local time while Ubuntu treat BIOS clock time as GMT. So Windows display same time as BIOS clock but Ubuntu add/subtract time difference from GMT and show. For example Indian standard time is +5:30 hour ahead of GMT. Ubuntu will add 5:30 hour with BIOS clock and show. So there will be always difference in Windows time and Ubuntu time. To solve it just run the following command  sudo gedit /etc/default/rcS and find the portion which says "UTC=yes" and chance it to "UTC=no"  (Without quotes)   Hope this will solve the problem.   Cheers APaul Source: http://ubuntuguide.net/fix-different-time-clock-between-windows-and-ubuntu

Marging partition in gparted

Image
  Figure 1: Main window of Gparted Figure 2: Resize/Move window We can resize our disk partition or marge with another partition in Ubuntu using gparted . First you have to install gparted using following command: $ sudo apt-get install gparted Now open gparted . You may need to give administrative password. When opened it will look like the figure. First you have to unmount the partition(s) you want to resize or marge. Just right click > unmount Again right click on the partition you want to resize or marge and then select resize/move option This will open another window like the second image, you can drag and resize your partition and marge with another partition. Now click on resize/move button. Your partition size should be changed now. For more detail answer visit the following link of askubuntu.com and check the several good answers. http://askubuntu.com/questions/51272/how-do-i-repartition-with-gparted Though this doesn't delete the data in ...

Colour highlighting GNUPLOT code in gedit.

Gedit by default show colour highlighting for the gnuplot code. But we can easily make it. We just have to download the language definition file and copy to the proper folder. The language definition file is a .lang file. You can download the gnuplot language definition from the following linke. https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions Download the file and copy the file to the folder /usr/share/gtksourceview-2.0/language-specs/ . You can use the following command $ sudo cp /your/download/location/gnuplot.lang /usr/share/gtksourceview-2.0/language-specs/  Now if you open any gnuplot code file with gedit you can see all the colours. But there is a problem, it will show colour highlight only for those file having extension .plt , but gnuplot can have extension .gp also. So to add .gp also in colour highlighting you have to add one line in the .lang file. If you check the file carefully you can see that there is a protion like this. <language id= "gnu...

Flash player problem in chromium in Ubuntu 14.04

After Updating to Ubuntu 14.04 I have noticed that chromium is showing error message that Flash Player is not installed, even though it is installed and Firefox is working properly with this. Reason for this problem The reason behind this problem is, till now chromium used Netscape Plugin API for flashplayer support. But starting from Ubuntu 14.04 chromium stopped using Netscape Plugin API. Hence there will be a issue. Solution To solve this issue we will use pepper flash player. This is a stable version of flash player from google. There is a paper flashplayer available in Ubuntu repo, which will download and extract flashplayer and set up fro Chromium. To install this flash player run the following command in the terminal. sudo apt-get install pepperflashplugin-nonfree sudo update-pepperflashplugin-nonfree --install Now restart chromium browser, chromium will now play flashplayer properly. Hope this will be helpful for you. Cheers A.Paul

Email disappearing from IMAP and Webmail Interface after using pine/alpine

I generally check departmental mail through IMAP using Thunderbird or using web interface using SquirrelMail . But some time, speciall when I am using someone else's computer, I check mail through pine at the remote server. But from few days I have seen that when ever I am checking any mail using pine, the mails are disappearing from the IMAP or from web interface. So when I tried to find out the reason behind this I have learned that pine moving all mail from /var/spool/mail/$USER to /home/$USER/mbox . All other client are actually looking mail in the previous folder.    You can prevent this by making the following changes to the .pinerc file. Add the following line at the end of the file.  disable-these-drivers=mbox Most probably the above line without mbox may exist some where at the file, just do a search to find out where it is and change the value as above. Now pine will not move any mail but the old mail that already moved will be in the mobox folder so you will not see ...

Refreshing tex installation in Windows and Ubuntu

In miktex go to admin>settings (admin) and in general tab click refres FNDB button In texlive in Ubuntu go to root directory by command cd / then run the command sudo texhash or you can run command texconfig and a window will open up with lots of option, choose "rehash rebuild file name data base".   Cheers APaul