Saturday, April 27, 2013

Install Google Chrome in Ubuntu 13.04 [SOLVED]

1. Open a terminal window.
2. Type in the following commands then hit Enter after each for the 32 bit version of Chrome.

wget -O libudev0_175-i386_NoobsLab.com.deb http://goo.gl/8hrxx
sudo dpkg -i libudev0_175-i386_NoobsLab.com.deb
sudo apt-get install libgconf2-4 libxss1
wget -O g-chrome-NoobsLab32.deb https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo dpkg -i g-chrome-NoobsLab32.deb && rm g-chrome-NoobsLab32.deb

3. Type in the following commands then hit Enter after each for the 64 bit version of Chrome.

wget -O libudev0_175-amd64_NoobsLab.com.deb http://goo.gl/JJukQ
sudo dpkg -i libudev0_175-amd64_NoobsLab.com.deb
sudo apt-get install libgconf2-4 libxss1
wget -O g-chrome-NoobsLab64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i g-chrome-NoobsLab64.deb && rm g-chrome-NoobsLab64.deb

For more, see the original article at the link below.

Skype Crashes after Installing Ubuntu 13.04 [SOLVED]

PROVED TO BREAK THE SYSTEM IF YOU HAVE THE NVIDIA DRIVERS ENABLED!

After upgrading from Ubuntu 12.10 to 13.04 I have installed skype. But it crashes time to time. What can I do to solve this problem?

You can also do the following way ...

sudo gedit /etc/ld.so.conf.d/skype.conf

copy and paste the following line in it
 
 /usr/lib/i386-linux-gnu/mesa/

and then run
 
 sudo ldconfig -v


Done

 http://askubuntu.com/questions/286005/skype-crashes-after-installing-ubuntu-13-04

Monday, April 1, 2013

“The following packages have been kept back:” Why and how do I solve it?


If the dependencies have changed on one of the packages you have installed so that a new package must be installed to perform the upgrade then that will be listed as "kept-back".
That article says sudo apt-get dist-upgrade will force the installation of those newer packages.

Note:

dist-upgrade will install all pending updates, with their new dependencies. If for some reason, you don't want to do that, you should use apt-get install package-name dependency-package-nameinstead.
http://askubuntu.com/questions/601/the-following-packages-have-been-kept-back-why-and-how-do-i-solve-it

Use TMPFS To Reduce Disk I/O

The /tmp folder receives a lot of hard disk read/write operations. You can simply use your system RAM instead of your hard disk to speed up read/write operations for the /tmp folder. To do this, you can follow these instructions:

- Open the terminal and edit the /etc/fstab file with this command:

sudo gedit /etc/fstab

or

sudo pluma /etc/fstab

- At the end of the file, add these two lines:

# Move /tmp to RAM

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

Save your file and exit. Restart now your system to apply the new changes.


http://www.upubuntu.com/2012/06/11-tips-to-speed-up-computers-running.html

RAM as Storage For the /tmp Directory: Make Ubuntu even faster!


Target audience

This tip is aimed at Linux users with 4GB or more ram. Those with less can also use this but they should reduce the amount of ram allocated.

Disclaimer

This tip involves messing around with a system file. If it goes wrong you could render your computer un-bootable. This is nothing that a live CD can’t fix.

Here we go

Edit the file /etc/fstab you can allocate some of your ram to the /tmp file system. This is down to the rather wonderful in memory file system tmpfs.
sudo nano /etc/fstab
Add the following to the end of the file to allocate 1/2 Gigabyte ram to your /tmp.
tmpfs /tmp tmpfs size=512m 0 0
Then simply run the command
sudo mount -a
If your distro does not use sudo then su to root instead. This gives a nice little speed boost.

ZRAM: Make Ubuntu ultra-fast

There is now a package available in the official Ubuntu 12.04 and newer repositories. Install it using:
sudo apt-get install zram-config




The service daemon will activate instantly upon install. You can verify this by typing in a terminal:
cat /proc/swaps
There should be some /dev/XXX entry (given you have a swap partition/file active) and two entries with "swap" in their name. If not, try rebooting and type in the command again.
There are no further actions neccessary.



Like Sergey "Shnatsel" Davidoff was quoted in that blog post, this package installs a script to run it as a service. The script automatically configures itself and the service starts up automatically. There is no further configuration needed. The service can be manually controlled via:
sudo service zramswap start|stop|status|restart|reload|force-reload

If you open the deb package with file roller you can see that only two files are installed:
/etc/init/zramswap.conf
/etc/init.d/zramswap
Along with some documentation files. The DEBIAN directory contains package meta data and commands to initialize the service. Thats all there is in the package. The corresponding devices are named after this scheme: /dev/zram[0-9]

Make sure to reboot Ubuntu and check if Zram started during boot. Follow the instructions as noted earlier to check by cat /proc/swaps

If you don't see your zram swap devices listed, (in my case too) then do this :

sudo su
update-rc.d zramswap defaults
This will list zram as a startup service...
To remove [type the following]:
sudo dpkg --purge zramswap-enabler
sudo dpkg --purge zram-config
http://askubuntu.com/questions/174579/how-do-i-use-zram