Thursday, November 15, 2012

Install NVIDIA 310.19 Linux Driver In Ubuntu 12.10/12.04/Linux Mint 13



Nvidia has released a new driver (310.19) for Linux platforms which brings major performance improvements and threaded OpenGL performance optimizations.

The driver's release notes haven't been published yet in the Nvidia website, but here are some of the changes in this release taken from Phoronix:


Configuring Stereo Support From NVIDIA Settings 
Configuring ViewPortIn and ViewPortOut From NVIDIA Settings 
Fixing The Meta-Mode Book-Keeping 
Configuring Rotation And Reflection Per Display Device

This boost in performance in Nvidia latest Linux drivers is the result of VALVE's move in porting its games to Linux.

Driver Installation

You can install the NVIDIA 310.19 Linux driver from PPA with these commands at your own risk under Ubuntu 12.10/12.04/Linux Mint 13:

sudo add-apt-repository ppa:xorg-edgers/ppa 
sudo apt-get update 
sudo apt-get install nvidia-current nvidia-settings

For manual installation, you can run these commands:

cd && wget http://dl.dropbox.com/u/47950494/upubuntu.com/nvidia-310.19 
chmod +x nvidia-310.19
Enter now CLI mode by pressing CTRL+ALT+F2, login and run these commands to complete the installation of the driver:

sudo service lightdm stop 
cd && sudo sh nvidia-310.19 
sudo reboot
To install the driver from Recovery Mode, check this article.

How To Install And Configure A DHCP Server In Ubuntu 12.10 Server (Quantal Quetzal)



In this tutorial, we will help you set up and configure a DHCP server in Ubuntu 12.10 (Quantal Quetzal) server. This little guide is also workable for Ubuntu 12.04 Server (Precise Pangolin).



Getting Started

   1. Installing The DHCP Server

To install the DHCP server, run this command:

sudo apt-get install isc-dhcp-server

   2. Configuration

Let's now enable the DHCP server for your network interface by editing the /etc/default/isc-dhcp-server file:

sudo nano /etc/default/isc-dhcp-server

In this file, locate INTERFACES="" and add your network interface (eth0 for example):

INTERFACES="eth0"



For multiple network interfaces, you may add them as follows:

INTERFACES="wlan0 eth0"

When you finish, press CTRL+X, type Y (yes) and press Enter to save the new modifications. Finally, restart the DHCP server with this command:

sudo service isc-dhcp-server restart

Wednesday, November 14, 2012

How to Fix/Repair ATI Catalyst AMD Video Driver on Ubuntu 12.xx


ATI Catalyst drivers are blocking the system? Have you stopped abruptly installation of the latter, and now you can no longer use the X server Ubuntu 12.10 or Ubuntu 12.04 Precise Quantal? You “forced” a bit ‘too his hand, and your Catalyst refuse to work? Well, then this is just the guide for you: we will see how to restore the drivers AMD / ATI Catalyst using recovery mode Ubuntu.
Maybe you could think that that option boot system was there only as a formality, but it is not! The recovery mode has its uses: it is possible to perform diagnostics, recovery and system repairs regardless of the damage it caused during the various sessions of use. E ‘for this reason that, today, upubuntu suggests how to use the recovery mode if the ATI Catalyst drivers suddenly they stopped working, something that happens regularly – for example – after a change kernel or operating system upgrade.
First, the selection screen of GRUB, if we have a version of GRUB less than 2.0 we select
Into Our OS-with-our-kernel (recovery mode / recovery mode)
such as
Ubuntu, with 3.xx-y.generic (recovery mode)

and give ENTER. Or, if we GRUB 2.0, have to bring us in ”Advanced options for Ubuntu”: find there the recovery mode! (Small tip: if GRUB does not appear, start the computer by pressing and holding the SHIFT key after the BIOS POST).
Wait kernel initialization after that, in the next window, select ”Network” (will allow you to enable the network). The system will notify you that your disk will be remounted in read / write mode: you confirm and wait for the loading.
 How to Fix/Repair ATI Catalyst AMD Video Driver on Ubuntu 12.xx
At this point we get back to the main screen, hence selected root (Open a root shell) and dates sent. At this point, the steps are the same people who normally perform from terminal to install the ATI drivers. Eye could happen that the layout of the keyboard is the American one. First, for the avoidance of doubt, a moment update the system with the commands
Into sudo apt-get
update sudo apt-get upgrade

And now, let’s install the ATI drivers (the last are the 12.10) by following the steps in this guide.
After the procedure, we can exit the shell by typing the command of recovery
Into exit
And then selecting from the main window ”Resume” – “Restore normal startup.”

How to Create Empty File (Add Contextual Menu) with Terminal on Nautilus 3.6



To create an empty file there are at least two ways: use the terminal – and the touch command – or open a text file and save it, without content, in the position we want. Up to 3.4 Nautilus was also possible to create a new file via the context menu: enough to give a right click on an empty spot in the current directory / the desktop and select Create New > Blank Document . Too bad this feature has been eliminated in Nautilus 3.6.
So how to regain – in Nautilus 3.6 – the same functionality without using tricks complicated? The methods are two, both valid, and expose them there below.

Method 1 – Create an extension for Nautilus 3.6

This is a very simple method , is to add a ‘ extension in Python for Nautilus 3.6 which is really to change the context menu : via terminal we first create the folder that will contain script , and immediately after, we will create the script itself. Translated into commands that corresponds to
mkdir-p ~ / .local / share / nautilus-python / extensions
gedit ~ / .local / share / nautilus-python / extensions / nautilus-acme.py

Clearly we can replace gedit with our favorite text editor. Inside the new file open, now, let’s write the following:
from os.path import join from
gi.repository import GObject, Nautilus

 class Acme (GObject.GObject, Nautilus.MenuProvider):
def __ init__ (self): pass

final new_empty_file (self, menu, folder):
with open (join (folder.get_uri (). replace ("file :/ /", ""), "new_file"), 'w') as f: f.write
('')
return
final get_background_items (self, window, CURRENT_FOLDER):
AcmeMenuItem = Nautilus.MenuItem (
name = "Acme :: NewEmptyFile"
label = "Create empty file "
tip =" Create a new empty file "
)

AcmeMenuItem.connect ('activate', self.new_empty_file, CURRENT_FOLDER)
return [AcmeMenuItem]

Save the file and restart Nautilus, with the command
nautilus-q
Done! Now, clicking the right mouse button on a blank part of our desk / a Nautilus window, we will directly support the “Create empty file.”

Method 2 – Use templates

This method is even easier: simply create an empty file in the folder ~ / Templates for always have it available. Then open a terminal and type
touch ~ Templates / File_Vuoto
after that restart Nautilus 3.6, with the command
nautilus-q
Done! We can now create a new empty file with the context menu of Nautilus, through Right click> Create Document> File_Vuoto.
thanks to webupd8 & askubuntu4c940  p 89EKCgBk8MZdE How to Create Empty File (Add Contextual Menu) with Terminal on Nautilus 3.6

Nautilus 3.6.3 (GNOME Files) Run and Install it on Ubuntu



Nautilus (also known as GNOME Files) – the default file manager for GNOME Shell – reaches the third maintenance update , thus arriving at version 3.6.3. No distortion of vision or functional (for those we have to wait Nautilus 3.8, a mockup can be found here), but a good changelog that carries a lot ‘of problems solved. Here they are:
    • Removed a problem that caused the mismanagement of symbolic links on remote volumes
    • removed columns “search filter”, which appeared duplicated when changing the search path
    • the search toolbar now accepts long file name directory
    • within the bookmark “Recent Files” also appears in the trash
    • adding the frame around the thumbnails, where this missing
    • disassemble the remote volumes no longer causes crashes Nautilus.

was also partially improved restaurant search, by introducing a hint of recursive search.

Files (Nautilus) 3.6.3 – Installation on Ubuntu 12.10 (or Ubuntu-based distributions)

Install the new manager files on Ubuntu is easy! Just add the PPA of GNOME 3 (which the drafting of the article has not yet been updated, and it will probably be tomorrow before ), update the package list and install … Nautilus! All this is to open a terminal and type
sudo add-apt-repository ppa: gnome3-team/gnome3
sudo apt-get sudo update
apt-get install nautilus

Files (Nautilus) 3.6.3 – Installation of all other distributions

All GNOME-based distributions will have the new Nautilus 3.6.3 between system updates offered by your package manager.

Tuesday, November 13, 2012

Install 15 Best Ubuntu 12.10 Themes For Unity And Gnome Shell



In this article, we will introduce 15 best GTK3 themes for Ubuntu 12.10 (Quantal Quetzal) compatible with Unity and Gnome Shell. The installation of the different themes will be from our PPA which can be added with these commands:


sudo add-apt-repository ppa:upubuntu-com/gtk3 
sudo apt-get update
To enable the themes given below, you can use Gnome Tweak Tool. To install it in Ubuntu 12.10, run this command:

sudo apt-get install gnome-tweak-tool

1. ClearNIX


sudo apt-get install clearnix 

2. reNIX


sudo apt-get install renix

3. Autumn GTK3 Theme


sudo apt-get install autumn-gtk3

4. Enyx Theme


sudo apt-get install enyx-theme 
5. DeLorean Dark Theme


sudo apt-get install delorean-dark-theme 
6. Win2-7 Remix


sudo apt-get install win2-7-remix-theme 

7. Nowa Theme


sudo apt-get install nowa-theme 

8. GtkDroid


sudo apt-get install gtkdroid

9. Zukiwi


sudo apt-get install zukiwi 

10. GnomishGray


sudo apt-get install gnomishgray-theme 

11. MediterraneanNight


sudo apt-get install mediterranean-theme 

12. DarkMint


sudo apt-get install darkmint-theme 

13. malys - rought


sudo apt-get install malys-rough-theme 

14. DeLorean varNaM Theme


sudo apt-get install delorean-varnam-theme 

15. Mac OS X Lion 


sudo apt-get install macx-lion