Archives For jimingkui

Nvidia DriverNvidia has released the new display driver 325.15 (certified) for Linux. It’s easy to install or upgrade in Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal and Linux Mint.

Nvidia driver 325.15 supports new GPUs: GRID K340, GRID K350, NVS 315, Quadro K500M (full list of supported GPUs). It brings a lots of bug fixes and some improvements.

  • Changed the default PCIe interrupt delivery method from virtual-wire to MSI. Note that if the NVIDIA Linux driver fails to initialize with an error indicating that it is not receiving interrupts, MSI can be disabled by setting the module parameter “NVreg_EnableMSI=0” when loading the NVIDIA kernel module.
  • Removed support for Linux 2.4 kernels. The NVIDIA Linux driver now requires Linux 2.6.9 or later.
  • Improved the rendering performance of complex gradients.
  • Added support for configuring SLI Mosaic and Base Mosaic in the “X Server Display Configuration” page of nvidia-settings.
  • Updated nvidia-installer to look for the following files:
    /usr/lib/nvidia/alternate-install-available
    /usr/lib/nvidia/alternate-install-present

    These files may be provided by NVIDIA driver installers other than the official .run package maintained by NVIDIA, to alert nvidia-installer to the presence or availability of an alternative installation method. See the nvidia-installer(1) manual page for more information.
  • Generate a BadMatch error when applications attempt to create GLX pixmaps using glXCreatePixmap() or glXCreateGLXPixmapWithConfigSGIX() and the pixmap’s depth doesn’t match that of the specified GLXFBConfig.
  • Updated nvidia-settings to explicitly specify the direction of rotation for configuring per-display rotation configuration
  • Honor a GPU UUID as the GPU qualifier for X configuration options that allow GPU qualifiers (e.g. “MetaModes”).
  • Report GPU UUIDs in the X log when verbose logging is enabled in the X server.
  • Enabled conformant glBlitFrameBuffer() scissor test behavior by default. A driver-provided application profile enables the previous non-conformant behavior for applications that load libcogl, to work around a bug in older versions of libcogl.
  • Install Nvidia Driver 325.15:

    NOTE: Ubuntu by default uses the open source video driver Nouveau for your NVIDIA graphics card, you can enable it from Software & Updates -> Additional Drivers. This may interact better, and you may want to use this rather than NVIDIA’s official package.

    To get started, first download the driver from the Nvidia website. Here’s the link:

    Download Nvidia 325.15 for 32-bit Linux

    Download Nvidia 325.15 for 64-bit Linux

    You may check you system type (32-bit or 64-bit) by System Settings -> Details.

    To install it, you have to press Ctrl+Alt+F1 to switch to command console. Login with your username and password. When you’re in, follow below steps:

    1.) Stop graphical session:

    sudo stop lightdm

    2.) Give executable permission for your downloaded package:

    chmod a+x ~/Downloads/NVIDIA-Linux-*-325.15.run

    3.) Run the installer and follow the on screen prompts to start installing Nvidia Driver:

    sudo sh ~/Downloads/NVIDIA-Linux-*-325.15.run

    4.) Restart your computer via below command:

    sudo restart

    If for some reason the new drivers do not work properly, run below commands in Ctrl+Alt+F1 command console to remove Nvidia Driver:

    sudo stop lightdm
    
    sudo ~/Downloads/NVIDIA-Linux-*-325.15.run --uninstall
    
    sudo restart

    Enjoy!

    How to Reset Unity and Compiz in Ubuntu 13.10

    Last updated: August 9, 2013

    This tutorial shows you how to reset your Ubuntu 13.10 Saucy Unity and Compiz to the default settings if you messed up your desktop. All you need to do is run two commands in terminal.

    Don’t be scared if you’re not comfortable with terminal commands. Just copy the code via Ctrl+C, then paste into terminal via Ctrl+Shift+V and finally hit Enter to run.

    To get started, press Ctrl+Alt+T to open a terminal window. When it opens, run below command to reset Unity and Compiz settings:

    dconf reset -f /org/compiz/

    After running previous command, you need to run blow command to restart Unity.

    setsid unity

    To get back the default set of Unity Launcher icons, run below command and then log out and back in.

    unity --reset-icons

    If you want to restore default icon theme, use Unity Tweak Tool which is available in Ubuntu Software Center.

    This tutorial shows how to install BitTorrent server and desktop packages in Ubuntu 13.10 Saucy, 13.04 Raring, 12.10 Quantal, 12.04 Precise, 10.04 Lucid and Linux Mint via PPA repository.

    As you may know, BitTorrent Sync is a proprietary peer-to-peer file synchronization tool available for Windows, Mac, Linux, and Android. It can sync files between devices on a local network, or between remote devices over the Internet via secure, distributed P2P technology.

    Now there’s PPA repository offers ready to use server and desktop packages of the BitTorrent Sync application for Ubuntu and Linux Mint users.

    Install BitTorrent Sync Server:

    Press Ctrl+Alt+T to open terminal. When it opens, run below command to add the PPA:

    sudo add-apt-repository ppa:tuxpoldo/btsync

    Then run below commands to update package lists and install the server package:

    sudo apt-get update; sudo apt-get install btsync

    While the installation, you’ll get the configuration promts to setup download rate, listening ip and port, username and password to access the server.

    When everything is done, you can access it in your PC or Mobile Phone by going to http://ipaddress:8888/gui/

    Want to install or upgrade the latest version of Banshee Music Player? Well, here I’ll show you how to do it in Ubuntu and Linux Mint via its PPA repository.

    At the moment of writing this tutorial, the latest release is Banshee 2.6.1 and it’s available for Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, Ubuntu 11.10 Oneiric, and Linux Mint 15, 14, 13, 12.

    Add Banshee PPA:

    Press Ctrl+Alt+T to open terminal window for running commands. When it opens, copy below command and paste in terminal (Ctrl+Shift+V) and hit enter:

    sudo add-apt-repository ppa:banshee-team/ppa

    It will add the Banshee PPA repository to your system so that you can install and receive updates via package manager or apt-get command.

    Install / Upgrade Banshee

    For Linux Mint users (and Ubuntu users with Synaptic installed), open Synaptic Package Manager from the start menu. Click Reload to update package lists, search banshee and mark for installation or upgrade by right-clicking on result. Finally click Apply to install / upgrade.

    Both Linux Mint and Ubuntu can run below commands instead:

    sudo apt-get update; sudo apt-get install banshee

    Enjoy!

    Mozilla finally announced the stable released of Firefox 23. Ubuntu users will receive updates very soon. Here’s a guide to upgrade your Firefox to latest in Ubuntu 13.04 Raring, 12.04 Precise and 12.10 Quantal.

    In the new release, the mixed content blocking has been enabled to protect users from eavesdroppers and man-in-the-middle attacks on HTTPS pages, the about:memory’s functional UI (user interface) has been improved, the notifications of plugin installation has a simpler interface, and social share functionality has been added. (Release note)

    Upgrade to Firefox 23 in Ubuntu:

    Synaptic Package Manager provides a graphical way to upgrade to the latest Firefox web browser.

    To get started, open the tool and click Reload button to update package lists, search firefox in the box, right-click and choose “Mark for Upgrade”, and finally click the Apply to start upgrading.

    To install Synaptic Package Manager, click the link below to launch Ubuntu Software Center and click to install the package.

    Click to install Synaptic

    This tutorial shows you how to enable transparent top panel and titlebar in Unity Desktop, tested in Ubuntu 13.10 Saucy, 13.04 Raring.

    Transparent Panel in Unity:

    The CompizConfig Settings Manager has the opition to set panel opacity. It’s a little different to Ubuntu 12.04 Precise. Now the option is under Ubuntu Unity Plugin -> General tab.

    To get totally transparent panel:

      Set the value of Panel Opacity to 0
      Click to edit Background Color, change Opacity to 1

    To install CompizConfig Settings Manager, click the link below to bring up Ubuntu Software Center and click install button.

    click to install CCSM

    Transparent titlebar in Unity:

    Without installing special themes, you can directly adjust window titlebar transparency in Ubuntu Unity via Dconf Editor which is installed by default.

    Open dconf editor, then navigate to org/compiz/gwd. Change the value of “metacity-theme-active-opacity” and “metacity-theme-inactive-opacity” to set transparent titlebar for both focus & un-focus windows.

    The Netflix Desktop App has updated to version 0.8.0. This tutorial shows you how to install / upgrade it in Ubuntu 13.10 Saucy, 13.04 Raring, 12.04 Precise and 12.10 Quantal.

    In this release, it updated the French, Uyghur, Spanish translation, fixed some bugs and also added some new features. Here’s the details:

    • Added support for beesu sudo GUI.
    • Added a new package for loading Katsomo.
    • Updated the British English translation.
    • Updated the icon for the Maxdome package.
    • Replace test-xattr binary with python script.
    • Fixed tab characters in the command-line help.
    • Updated to the latest release of Firefox (22.0).
    • Now using a workaround for Katsomo locking up on exit.
    • Moved downloaded files to /var/lib/wine-browser-installer.
    • Disabled the client side graphics workaround on new Wine versions.
    • Disabled screensaver/suspend operations while the browser is running.
    • Added an override for the User Agent string so that Netflix always sees Firefox 18.0.
    • Now using fontconfig, in addition to debconf, to establish that msttcorefonts is installed.
    • Fixed dependencies so that the services could not get out of sync with wine-browser-installer

    The Netflix PPA has updated for Ubuntu 13.10, 13.04, 12.10, 12.04 and 10.04 users. To add this repository, press Ctrl+Alt+T to open terminal. When it opens, run below commands:

    sudo add-apt-repository ppa:ehoover/compholio

    After that, you can install the Netflix desktop app or receive updates when a new release comes out via below commands:

    sudo apt-get update; sudo apt-get install netflix-desktop

    Here’s a beginners’ guide to change your hostname or computer name in Ubuntu 13.04 Raring Ringtail. The default PC name was set when you were installing Ubuntu. You can easily change it to whatever you want both in Ubuntu Server and Desktop with this tutorial. To check your current name, go to top-right corner “gear” button -> About This Computer.

    Change Hostname in graphical way:

    There’s a graphical tool called gnome-network-admin, it provides a simple way to change your computer name in Ubuntu Desktop.

    You can search for and install this tool from Ubuntu Software Center. Or click the link below to launch it:

    click to install gnome-network-admin

    Change Hostname in Command Line:

    If you’re comfortable with editing a configuration file and running some terminal commands it’s not difficult to change your PC name manually.

    To check current hostname, run below commands:

    hostname

    To set a hostname until you restart, run:

    sudo hostname YOUR_NEW_NAME

    To change your computer name permanently, edit both /etc/hostname and /etc/hosts with your favorite editor and change your previous name to whatever you want.

    As you may know, ClassicMenu Indicator is a notification area applet that displays classic GNOME-style application menu on top panel of Unity Desktop.

    While the PPA repository is not available for Ubuntu 13.10 Saucy Salamander, you can directly download and install the Deb from its official website. Here I’ll tell you how to do it!

    To get started, press Ctrl+Alt+T to open terminal. When it opens, run below commands to download the installer:

    wget http://www.florian-diesch.de/software/classicmenu-indicator/dist/classicmenu-indicator_0.07_all.deb

    Then install the applet and fix dependency problem if any:

    sudo dpkg -i classicmenu-indicator_*.deb; sudo apt-get -f install

    Once installed, you can open it from Unity Dash. That’s it!

    If you’re dual booting Ubuntu with Windows 7 or other Operating Systems, you may wish to change boot order to set which OS starts by default. Well, In this tutorial I’ll show you how to do it in Ubuntu 13.10 Saucy and 13.04 Raring.

    There’s a GUI (graphical user interface) tool for editing Grub 2 boot loader, it called Grub-Customizer. You can install it in Ubuntu using the PPA repository. To do so, press Ctrl+Alt+T to open terminal, then run below commands one by one:

    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    
    sudo apt-get update
    
    sudo apt-get install grub-customizer

    With Grub-Customizer, highlight the OS entry and click up / down arrow button to change its order. Or set the default OS in General Settings tab.

    If you’re comfortable with running some terminal commands, it’s not difficult to change default OS without installing any third-party program.

    1.) Press Ctrl+Alt+T to open terminal. Edit the “/etc/default/grub” via below command and change GRUB_DEFAULT=0 to GRUB_DEFAULT=saved. This will make it easy to change default OS later.

    sudo gedit /etc/default/grub

    2.) Update grub to apply changes to grub configuration:

    sudo update-grub

    3.) After that, you can run sudo grub-set-default with the number of menu entry to boot (the first entry is 0) at any time, which will set the entry as default OS permanently. Or run sudo grub-reboot only for next boot.

    For example, below command will set Windows 7 as default OS (Windows 7 is 4 in picture at top) permanently.

    sudo grub-set-default 4