Archives For jimingkui

HPLIP, HP Linux Imaging and Printing released v3.13.11 with many new HP printers and Debian 7.2/6.0.8 support. Here’s how to install it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint.

As you may know, HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux. The HPLIP project provides printing support for over 2,080 printer models–including; Deskjet, Officejet, Photosmart, PSC (Print, Scan, Copy), Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.

The latest v3.13.11 added support for the following new printers:

  • HP Color LaserJet Pro MPF M176 series
  • HP Color LaserJet Pro MPF M176n
  • HP Color LaserJet Pro MPF M177 series
  • HP Color LaserJet Pro MPF M177fw
  • HP Color LaserJet Enterprise M750 Printer series
  • HP Color LaserJet Enterprise M750n
  • HP Color LaserJet Enterprise M750dn
  • HP Color LaserJet Enterprise M750xh
  • HP Color LaserJet Enterprise M855 Printer series
  • HP Color LaserJet Enterprise M855dn Printer
  • HP Color LaserJet Enterprise M855xh Printer
  • HP Color LaserJet Enterprise M855x+ Printer
  • HP Color LaserJet Enterprise flow M880 Multifunction Printer series
  • HP Color LaserJet Enterprise flow M880z Multifunction Printer
  • HP Color LaserJet Enterprise flow M880z+ Multifunction Printer
  • HP LaserJet Pro MFP M127 series
  • HP LaserJet Pro MFP M127fn
  • HP LaserJet Pro MFP M127fw
  • HP Officejet 2620 All-in-One
  • HP Officejet 2621 All-in-One
  • HP Officejet 2622 All-in-One

Also added supported for Debian 7.2, Debian 6.0.8, and added Pin Printing support for HP LaserJet m5035 MFP device.

Install HPLIP:

The .run installer is available in sourceforge.net. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run:

wget http://prdownloads.sourceforge.net/hplip/hplip-3.13.11.run

Then give executable permission:

chmod +x hplip-3.13.11.run

Finally start the installing process and follow the prompts. It will automatically install this tool and configure your connected HP printers.

sh hplip-3.13.11.run

hplip 3.13.11

The latest Nvidia Legacy GPU driver 304.116 has improved compatibility with recent Linux kernels. Here’s how to intall it if you have an old graphics card that is no longer supported in the regular NVIDIA Unified Graphics Driver.

What’s New in Nvidia 304.116:

  • Updated nvidia-installer to consider the “libglamoregl.so” X loadable extension module to be in conflict with the NVIDIA OpenGL driver. This module can cause the NVIDIA libGL to be loaded into the same process (the X server) as the NVIDIA libglx.so extension module, which is not a supported use case.
  • Improved compatibility with recent Linux kernels.
  • Updated the NVIDIA OpenGL driver to write temporary files to $TMPDIR if it is set, instead of unconditionally writing to /tmp.
  • Updated a fallback of writing temporary files to $HOME/.nvidia to use $HOME/.nv instead, as the latter path is already used for other NVIDIA driver related files.
  • Install Nvidia 304.116:

    Before getting started, remove previous installed Nvidia proprietary drivers in terminal (Ctrl+Alt+T):

    sudo apt-get purge nvidia-current

    Then download the driver from official links below:

    Nvidia 304.116 for Linux 32 bit

    Nvidia 304.116 for Linux 64 bit

    Follow the steps below to install it:

    1. Press Ctrl+Alt+F1 to switch to command console. Login with your username and pasword.

    2. Kill the graphic session with the command below:

  • For default LightDM:
    sudo service lightdm stop
  • For Gnome GDM:
    sudo service gdm stop
  • For Linux Mint MDM:
    sudo service mdm stop
  • 3. Give executable permission to the installer:

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

    4. Start the installer and follow on screen prompts:

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

    5. Restart and done.

    sudo reboot

    If for some reason the driver does not work properly for you, re-do step 1 & 2 and followed with command below to uninstall this driver:

    sudo sh ~/Downloads/NVIDIA-Linux-*-304.116.run --uninstall

    Blender 2.69, the latest stable release of the popular 3D creation software finally is available for Ubuntu & Linux Mint via PPA one week after Blender 2.69 was official announced.

    What’s New in Blender 2.69:

    Modeling:

    A new hidden wire display option was added to help with retopology. Mesh Bisect is a new tool to cut meshes in half. The Bridge, Edgenet fill, Grid fill and Symmetrize tools were improved. New curve and lattice editing tools were added too.

    Cycles Rendering:

    Hair rendering was improved with a new Hair shader and reorganized settings. Subsurface scattering uses a new sampling algorithm and now supports bump mapping and texture blurring. Sky rendering now uses a more accurate sky model. New blackbody, vector transform and HSV nodes were added. The non-progressive integrator was renamed to Branched Path Integrator, and is now available for GPU rendering.

    Motion Tracker:

    The Motion tracker now supports plane tracking, which can be used to replace billboards, screens and other flat things in footage.

    More Features:

    Lists in the user interface can now be resized, sorted and filtered. Further there are small improvements for vertex parenting, empty objects, the shrinkwrap modifier, mask editing, armatures, f-curves and drivers.

    Addons:

    FBX Import support has been added and FBX/OBJ can now export split normals (without the need for the edge split modifier).

    Bug Fixes:

    In addition to the new features, over 270 bugs that existed in previous releases have been fixed.

    Install or Upgrade Blender 2.69:

    The PPA has updated for Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, Linux Mint 13/14/15/16.

    PPA now works for Ubuntu 14.04 LTS, Ubuntu 14.10 and Linux Mint 17 / 17.1.

    To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

    sudo add-apt-repository -y ppa:thomas-schiex/blender
    
    sudo apt-get update
    
    sudo apt-get install blender

    NOTE that the packages doesn’t include pre-compiled CUDA kernel. If you want to use the Cycles renderer with CUDA support, you have to install the CUDA toolkit on your system to do runtime compilation of the CUDA kernel:

    sudo apt-get install nvidia-cuda-toolkit

    blender 2.69 in ubuntu 13.10

    This quick tutorial is going to show you how to display or re-hide ‘hidden’ startup applications in Ubuntu 13.10 Saucy Salamander.

    There’s a built-in utility in Ubuntu, which allows to add, remove, and edit additional startup applications. By default the system auto-start services are hidden, here’s how to show it in the box.

    Before:

    no apps in startup applications utility in ubuntu 13.10

    After:

    show hidden apps in startup applications

    To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below:

    sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

    Then re-open the utility and you’ll see all ‘hidden’ apps.

    If you just want to change some settings and then hide them again, run this command in terminal:

    sudo sed -i 's/NoDisplay=false/NoDisplay=true/g' /etc/xdg/autostart/*.desktop

    That’s it. Enjoy!

    The latest Nvidia Driver for Linux 331.20 has been released today with lots of changes. Here are new features and how to install it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04 and Linux Mint.

    What’s New in Nvidia Linux 331.20:

    This Long Lived Branch version 331.20 brings following changes:

  • Added support for NVIDIA OpenGL-based Framebuffer Capture (NvFBCOpenGL). This library provides a high performance, low latency interface to capture and optionally encode the composited framebuffer of an X screen. NvFBC and NvIFR are private APIs that are only available to approved partners for use in remote graphics scenarios.  Please contact NVIDIA at GRIDteam@nvidia.com for more information.
  • Fixed a bug that prevented configuration files containing application profiles from being loaded when directories were present in the application profile configuration search path.
  • Deferred initialization of libselinux in the NVIDIA OpenGL driver, in order to avoid a problem where libselinux might not be ready when the NVIDIA libGL shared library is first loaded.
  • Fixed a bug that could lead to memory exhaustion in OpenGL applications running on 32-bit systems.
  • Added nvidia-uvm.ko, the NVIDIA Unified Memory kernel module, to the NVIDIA Linux driver package. This kernel module provides support for the new Unified Memory feature in an upcoming CUDA release.
  • Fixed a bug that caused the X server to fail to initialize when DisplayPort 1.2 monitors were assigned to separate X screens on the same GPU.
  • Fixed a bug that could cause a deadlock when forking from OpenGL programs which use some malloc implementations, such as TCMalloc.
  • Fixed a bug that prevented Warp & Blend settings from being retained across display configuration changes.
  • Fixed a bug that prevented some settings changes made via the nvidia-settings command line interface from being reflected in the nvidia-settings graphical user interface.
  • Changed the clipping behavior of the NVIDIA X driver on Trapezoids and Triangles for some RENDER operations to match the behavior in newer versions of Pixman:
    http://lists.freedesktop.org/archives/pixman/2013-April/002755.html
  • Fixed a bug in MetaMode tracking that could cause spurious error messages to be printed when attempting to add or delete Metamodes via NV-CONTROL.
  • Fixed a bug that caused the NVIDIA X driver to attempt to load the X11 “shadow” module unconditionally, even in situations where the driver had no need to use the module. This could result in the printing of spurious error messages, on X servers where the module was not present.
  • Fixed a bug that prevented display configuration changes made with xvidtune(1) from working correctly.
  • Fixed a bug that occasionally caused display corruption in GLX applications while changing the display configuration.
  • Fixed a bug that prevented glReadPixels from working correctly when reading from Pixel Buffer Objects over indirect rendering, when the image width is not a multiple of 4.
  • Added a new NV-CONTROL attribute, NV_CTRL_BACKLIGHT_BRIGHTNESS, for controlling backlight brightness.
  • Fixed a bug that prevented nvidia-settings from creating display device configuration pages for newly connected DisplayPort 1.2 Multi Stream Transport downstream devices.
  • Added GPU utilization reporting to the nvidia-settings control panel.
  • Fixed a bug in the nvidia-settings control panel that prevented users from configuring stereo, when stereo was not already configured.
  • Added support for reporting the tachometer-measured fan speed on capable graphics boards via nvidia-settings and the NV-CONTROL API. The preexisting mechanism for reporting fan speed reports the speed of the fan as programmed by the driver.
    For example, `nvidia-settings –query=[fan:0]/GPUCurrentFanSpeedRPM`.
  • Fixed a regression that caused GPUs that do not support graphics to not appear in nvidia-settings.
  • Fixed a bug that caused DisplayPort 1.2 multi-stream devices to stop working if they were unplugged and plugged back in while they were active in the current MetaMode.
  • Added support for multiple NVIDIA kernel modules. This feature allows users to assign different GPUs in the system to different NVIDIA kernel modules, potentially reducing the software overhead of coordinating access to multiple GPUs.
  • Added support for the EGL API on 32-bit platforms.  Currently, the supported client APIs are OpenGL ES 1.1, 2.0 and 3.0, and the only supported window system backend is X11.
  • Add a new option, AllowEmptyInitialConfiguration, which allows the X server to start even if no connected display devices are detected at startup.  This option can be enabled by running “sudo nvidia-xconfig –allow-empty-initial-configuration”
    This option is useful in RandR 1.4 display offload configurations where no display devices are connected to the NVIDIA GPU when the X server is started, but might be connected later.
  • Updated nvidia-installer to provide a scrollable text area for displaying messages from the /usr/lib/nvidia/alternate-install-present and /usr/lib/nvidia/alternate-install-available distro hook files. This allows for longer messages to be provided in these files.
  • Updated nvidia-installer to avoid recursing into the per-kernel “build” and “source” directories when searching for conflicting kernel modules in /lib/modules.
  • Added a system memory cache to improve the performance of certain X rendering operations that use software rendering fallbacks.  The X configuration option “SoftwareRenderCacheSize” may be used to configure the size of the cache.
  • Removed the “DynamicTwinView” X configuration option: dynamic reconfiguration of displays is always possible, and can no longer be disabled.
  • Fixed a bug that caused nvidia-settings to display incorrect information in its display configuration page when all displays on an X screen were turned off.
  • Updated nvidia-installer to only install the libraries libvdpau and libvdpau_trace if an existing installation of libvdpau is not detected on the system. This behavior can be overridden with the –install-vdpau-wrapper and –no-install-vdpau-wrapper options.
    Future NVIDIA Linux installer packages will no longer include copies of libvdpau or libvdpau_trace: VDPAU users are recommended to install these libraries via other means, e.g. from packages provided by their distributors, or by building them from the sources available at: http://people.freedesktop.org/~aplattner/vdpau/
  •  

    Download & Install Nvidia 331.20:

    First download the drivers from the official links below:

    Nvidia 331.20 for 32 bit Linux

    Nvidia 331.20 for 64 bit Linux

    Nvidia 331.20 for 32 bit ARM Linux

    For FreeBSD, Solaris, go to Unix Drivers download page

    Once downloaded, press Ctrl+Alt+F1 on your keyboard to switch to command console and login with your username and password. Remove previous Nvidia’s proprietary drivers if any:

    sudo apt-get purge nvidia-current

    You required to run command below to stop / close graphic session before installing process:

  • For Ubuntu LightDM (default):
    sudo service lightdm stop
  • For Gnome GDM:
    sudo service gdm stop
  • For Linux Mint MDM:
    sudo service mdm stop
  • Give permission to execute the downloaded installer:

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

    Finally start the installer and follow on screen prompts:

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

    Don’t remove the installer after installation, because if for some reason this driver does not work properly, you can remove Nvidia 331.20 via command below in TTY console:

    sudo sh ~/Downloads/NVIDIA-Linux-*-331.20.run --uninstall

    BitTorrent Sync reached 1.2.67, which improved speed with large files for Desktop users and added Android 4.4 support. PPA for Ubuntu 13.10, Ubuntu 14.04, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Linux Mint is ready and here I’ll show you how to install it.

    What’s New in BitTorrent Sync 1.2.67:

    For Desktop:

    • Improved speed with large files (in 1Gb LAN and on low-end CPU devices)
    • Restore modified files in read-only folder
    • API and UI-less mode
    • Advanced features available through API :
      • new secrets with support of read-only encrypted peers
      • synchronize selected files only

    For Android:

    • Android 4.4 support
    • Speed improvements
    • Redesigned Help pages
    • Various bug fixes

    Install BitTorrent Sync:

    This peer-to-peer file synchronization tool is available in launchpad PPA. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one to install it:

    sudo add-apt-repository -y ppa:tuxpoldo/btsync
    
    sudo apt-get update
    
    sudo apt-get install -y btsync btsync-user

    Once installed, you can start the indicator and/or web interface from Unity Dash shortcuts.

    Zim is a graphical text editor used to maintain a collection of wiki pages. Each page can contain links to other pages, simple formatting and images. Pages are stored in a folder structure, like in an outliner, and can have attachments. Creating a new page is as easy as linking to a nonexistent page. All data is stored in plain text files with wiki formatting. Various plugins provide additional functionality, like a task list manager, an equation editor, a tray icon, and support for version control.

    Zim can be used to:

    • Keep an archive of notes
    • Take notes during meetings or lectures
    • Organize task lists
    • Draft blog entries and emails
    • Do brainstorming

    Zim handles several types of markup, like headings, bullet lists and of course bold, italic and highlighted. This markup is saved as wiki text so you can easily edit it with other editors. Because of the autosave feature you can switch between pages and follow links while editing without worries.

    zim desktop wiki in Ubuntu

    Install Zim Desktop Wiki:

    We can easily download & install latest Zim Desktop Wiki in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint from the links below:

    Zim Desktop Wiki DEB & Source Code

    So far, the latest is Zim 0.60 which is also available in Ubuntu Software Center for Ubuntu 13.10 and higher.

    Audacious 3.4.2 has been released with annoying bugs fixed. This tutorial shows how to install it via PPA in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal, Linux Mint and Elementary OS.

    Audacious fixed following bugs:

    • Opening an Internet channel takes too long at the first time
    • SDL error: Failed to open audio stream: XAudio2: XAudio2Create() failed at open..
    • incorrect playtime length
    • NULL pointer segfault due to vfs async race
    • some opus file won’t play
    • Time label shows wrong time if slider is dragged beyond its upper limit

    To get started installing Audacious 3.4.2, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below to add the PPA:

    sudo add-apt-repository -y ppa:nilarimogard/webupd8

    Then you can install it from Ubuntu Software Center after checking for updates. Or run commands below instead:

    sudo apt-get update; sudo apt-get install -y audacious audacious-plugins

    audacious 3.4.2 in ubuntu 13.10

    Giada is a minimal, hardcore audio tool for DJs and live performers. Just pick your sample, drop it in any channel, and start the show by using this tiny piece of software as a loop machine, drum machine, sequencer, live sampler, or effect (VST) host. Giada aims to be a compact and portable virtual device for production use and live sets.

    Giada 0.8.0 brings initial MIDI input support. It also fixes many annoying bugs and introduces some minor improvements.

    Changelog:

    • initial MIDI input support
    • Fix freeze when recording audio inputs on a second channel
    • Fix ‘R’ button to show up even if the channel has no actions
    • Fix weird drawings of keypress actions in action editor
    • Free channel: delete ‘R’ button as well
    • Shift+key does not kill loop mode channels in a wait status
    • Fix issue with ‘R’ button and newly added actions
    • Remove “left”/”right” labels from main buttons

    Download & Install Giada:

    First check your OS type under System Settings -> Details. Choose to download the DEB from the official links below:

    Giada for Linux, DEB (32 bit)

    Giada for Linux, DEB (64 bit)

    Then uncompress the package and click to open the .deb file in result folder with Ubuntu Software Center.

    Finally click install button. Once installed, start Giada from Unity Dash.

    The latest Linux Kernel LTS 3.10.18 has been released today. Similar to Kernel 3.11.7, this kernel brings lots of updates and bugfixes for USB, wireless drivers, ARM, ipv6, tcp. See the changelog for details.

    This tutorial shows you how to install / upgrade Linux Kernel 3.10.18 in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, Linux Mint and Elementary OS.

    To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens:

    1. Run commands below one by one to download the DEBs:

    For 32 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-headers-3.10.18-031018-generic_3.10.18-031018.201311040835_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-headers-3.10.18-031018_3.10.18-031018.201311040835_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-image-3.10.18-031018-generic_3.10.18-031018.201311040835_i386.deb

    For 64 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-headers-3.10.18-031018-generic_3.10.18-031018.201311040835_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-headers-3.10.18-031018_3.10.18-031018.201311040835_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.18-saucy/linux-image-3.10.18-031018-generic_3.10.18-031018.201311040835_amd64.deb

    2. Once downloaded, both 32 bit and 64 bit system can use commands below to install them:

    sudo dpkg -i linux-headers-3.10.18-*.deb linux-image-3.10.18-*.deb

    Restart your computer and done!

    If for some reason, ths kernel does not work properly on your system. Remove Linux Kernel 3.10.18 via:

    sudo apt-get purge linux-headers-3.10.18-* linux-image-3.10.18-*