Sunday, August 12, 2012

Automatically changing wallpapers on Ubuntu


I was  meant to have a good collection of wallpaper from my friend Satya & tried to put them all scrolling in my Ubuntu desktop, searching for a while for this kind of program which could automate the changing of wallpapers on a Ubuntu Machine. I finally did find the program tonight. It’s called wallch. Open the terminal and type or search it in synaptics.

$sudo apt-get install wallch
Now when the program the installed run it and add your images folder or certain random images you would like to cycle through on desktop. It’s pretty feature rich.
Pro’s Include :
    + Changing wallpaper choosing images randomly
    + Change wallpaper in random time (2-20min)
    + Live earth wallpaper which works according to your Time Format
    + Automatic settings for startup

Tuesday, August 7, 2012

Access any archive file with one command - Ubuntu

Usually to unzip any kind of zipped file we use many kinds of application as well as commands. Hence when extracting archive files using the terminal, there will be archive formats having its own command syntax to extract it. Like, zipped files need to be extracted using the "unzip" command line tool, tar files need the "TAR" command, for 7z files, you need the "p7zip" package to be able to extract them, and so on.

Now no more  difficult to memorize Ubuntu commands, you can simply use a single command to help you extract the various archive formats from the terminal. This universal archive extracting tool is called ATOOL. To install it under Ubuntu 12.04 or older, run the following command:

sudo apt-get install atool

Using the cd command, go the the destination folder containing your archive file (7z, tar.gz, zip, etc.) and run the following command:
atool -x filename.ext

Example:
atool -x google-chrome-stable.tar.gz

If you prefer to extract the archive file in another folder path, use the following command:
atool -X /path/to/folder/ filename.ext

Example:
atool -X /usr/bin/  google-chrome-stable.tar.gz

For more parameters, run this command:
atool --help

Friday, August 3, 2012

Install Android 4.1 Jelly Bean Theme For Ubuntu 12.04/Linux Mint 13

The most elegant desktop customs charm the market now-a-days with Gnome-shell desktop environment. And the GTK3 as well as Gnome-shell theme are the flavors of this environment. Here
GtjDroid (Gtk & Gnome Shell)
GtkDroid is a new GTK3 theme inspired by the new Android 4.1 Jelly Bean OS. The theme is compatible with both Unity and Gnome Shell. It is compatible with Ubuntu 12.10/12.04/11.10 and Linux Mint 13 or older.

GtkDroid Installation :
The theme is available in two different styles (dark & light), you can install them all with these commands

sudo add-apt-repository ppa:upubuntu-com/gtk3

sudo apt-get update
sudo apt-get install gtkdroid


To enable the default style, run these commands :


gsettings set org.gnome.desktop.interface gtk-theme 'Jellybean-GTK'
gconftool-2 --set --type string /apps/metacity/general/theme 'Jellybean-GTK'

To enable the light version of GtkDroid, run these commands :
gsettings set org.gnome.desktop.interface gtk-theme 'Jellybean-GTK-Light'
gconftool-2 --set --type string /apps/metacity/general/theme 'Jellybean-GTK-Light'

Tuesday, July 17, 2012

Restore Grub2 after re-installation of Windows

Whenever we go for a dual booting in a system grub(Linux) overlaps the boot loader(Windows) & mbr has been rewritten so system doesn't fit to its base. So Grub is to be updated. There are other processes but we must prefer with a Livecd to enroll our banefits & it's also so simple. First boot from the livecd then Open the Terminal & run


sudo -i
mount /dev/sda7 /mnt
mount /dev/sda6 /mnt/boot  #skip this one if not have a separate /boot partition
grub-install --root-directory=/mnt/ /dev/sda

If you miss “grub.cfg” file,use following to recreate:
mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
chroot /mnt update-grub
umount /mnt/sys
umount /mnt/dev
umount /mnt/proc
exit
sudo update-grub

Disable Apport Error Report Dialog in Ubuntu 12.04

In fresh Ubuntu 12.04 installation, it keeps popping up annoying apport error report dialog on very log-in even after sending the error report. Here you are going to send the error report but the after the next minute it again pops.This simple tutorial will show you how to disable this dialog in Ubuntu.
Open up terminal from the dash home or press Ctrl+Alt+T, edit “/etc/default/apport” file with this command:
sudo gedit /etc/default/apport
enable=0

Save the file, and done!