October 31, 2009

Restoring Empty Applications Menu in Ubuntu 9.04

Somehow my Applications menu got empty. I wasn't getting the list of applications on clicking it. I did the following, which had it restored.

1. varsha@varsha-laptop:~$ cd /home/varsha/.config/menus/

varsha@varsha-laptop:~$ sudo gedit applications.menu


If this is blank, this is the reason for your Applications menu being empty.

2. varsha@varsha-laptop:~$ cd /etc/xdg/menus/

varsha@varsha-laptop:~$ sudo gedit applications.menu


Copy the contents from /etc/xdg/menus/applications.menu to /home/varsha/.config/menus/applications.menu.

Save the file, and restart your system.

I hope this solves your problem.



October 20, 2009

Removing Old Kernels In Ubuntu

After upgrading your OS, you will find that there are multiple kernels on your system. This is because, new kernels have been installed, while your old kernels still remain. In order to free your GRUB and system from the old not-needed kernels, you can do the following.

1. Find out your recent and the latest installed kernel.

varsha@varsha-laptop:~$ uname -r
2.6.28-15-generic

You will get a similar output. This is the latest kernel installed on your system, and the one in use. This one is to be kept. Do not remove this. The kernels to be removed must be older than this.

2. Go to your Synaptic Package Manager via System-> Administration.

3. Hit Ctrl + F, and type linux-image-2, or type it in the Search box, and click Base System on the left pane. You get the list of installed kernels.

4. Carefully remove the old ones, by clicking them and selecting Mark for Removal. Then click Apply. Be careful. Do not remove the current kernel.

At the next system startup, you will see that the old kernels have been removed.



October 11, 2009

New GIMP Brush Sets

Visit the link http://www.junauza.com/2009/10/25-awesome-gimp-brush-sets-1000-free.html

Now, I guess you must have already installed these awesome brushes. I tried and really liked the way these new brushes can be used.

I tried them out myself, although I do not know how to use GIMP much.

To use these newly installed brush-sets, select Paintbrush from the Toolbox, and select the required Brush from the lower pane.




Converting jpg files Into pdf

This is really useful for students, as I am one of them too. Converting separate jpg files into a single pdf file is one of the most needed tasks anytime, but especially before the exams. What you have to do is:

1. Install imagemagick.

varsha@varsha-laptop:~$ sudo apt-get install imagemagick

Enter your root password.

imagemagick is installed.

2. Change to the directory where you have your jpg files.

varsha@varsha-laptop:~$ cd /media/disk/Study/Notes/

3. Convert.

varsha@varsha-laptop:/media/disk/Study/Notes$ convert *.jpg Notes-9.10.09.pdf


Happy studying!

Not only jpg to pdf, but imagemagick can also be used to convert image files from one format to another.



October 5, 2009

Sharing On LAN Using Samba

1. Install Samba.

http://www.debuntu.org/guest-file-sharing-with-samba

But a few additional changes may be required.

2. Open the file smb.conf.

varsha@varsha-laptop:~$ sudo gedit /etc/samba/smb.conf

3. In the [global] section, add the following line.

netbios name = 'name'
workgroup = 'workgroup'
usershare owner only = false

Rename your workgroup according to your Windows settings, and 'name' identifies you on the network.

Under [MyFiles],

force user = 'name'
force group = 'name'

Choose the 'name' carefully.

4. Then right-click any directory you want to share and select Sharing Options. Then check Share this folder, give an appropriate name to it, and click Create Share.

Notice that you get a small icon near the shared directory.

Hope it works for you!



October 4, 2009

How To Make Firefox Faster

I read the article, and found it really useful. The URL was updated on Twitter by Web Upd8. Here is the link:

http://www.linuxlinks.com/article/20091003160004352/Firefox-Tips-Page1.html.

I did not try all of the given tips, but my browser is faster than before, I realized. :)