Archives For jimingkui

Audio Recorder Ubuntu

Audio-recorder is a handy tool allows to record your favorite music and audio to file. It supports for recording devices, such as microphone, webcam, audio card, music/movie players, Skype calls, browsers, etc.

With the Gstreamer plugins, the recorder supports output formats: OGG, Flac, MP3, AAC, and WAV.

Audio-recorder provides an advanced timer that can:

  • Start, stop or pause recording at a given clock time.
  • Start, stop or pause after a time period.
  • Stop when the recorded file size exceeds a limit.
  • Start recording on voice or sound (user can set the audio threshold).
  • Stop or pause recording on “silence” (user can set the audio threshold and delay).

The recording can be automatically controlled by MPRIS2-compatible media players. It can also record all your Skype calls without any user interaction.

Install Audio Recorder in Ubuntu:

This amazing software has been made into PPA, available for Ubuntu 14.10, Ubuntu 14.04. Old versions available from Ubuntu 10.10 to Ubuntu 13.10.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to add the PPA, update package lists, and install the recorder:

sudo add-apt-repository ppa:osmoma/audio-recorder

sudo apt-get update

sudo apt-get install audio-recorder

If you don’t want to add the PPA, you can grab the .deb package from Launchpad Page and click open it with Ubuntu Software Center and finally install the program.

For more output audio formats support, install gstreamer plugins (ubuntu 14.04 & higher):

sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer0.10-fluendo-mp3

Xfce desktop session in Ubuntu 14.04 /14.10 does not display Network Manager, Messaging Menu, Keyboard Input, and Power icons on the panel out-of-the-box.

Thanks to Mark Trompell, it’s quite easy to add those icons back to Xfce panel by a small plugin called xfce4-indicator-plugin.

1. To install the plugin, open Ubuntu Software Center, search for and install the package xfce4-indicator-plugin.

2. Once you have the plugin installed, right-click on Xfce panel and navigate to “Panel -> Panel Preferences ….

Under Items tab, add new item “Indicator Plugin” and put it right after the “Notification Area” plugin.

While the plugin includes the time and session menu, you can remove the “Clock” and “Action Buttons” from the list.

3. The xfce4-indicator-plugin includes the Global Menu indicator, which displays application menus on panel.

If you don’t like this feature, right-click on the Network Manager icon and select Properties. When it opens, tick the box after “Application Menus (Global Menu)” to hide the applet.

Log out and back in to apply the changes.

Oracle finally made the Virtualbox binary packages for Ubuntu 14.10 Utopic available in its official Linux repository. Which means running regular system updates via Software Updater will keep your Virtualbox release always up-to-date.

While Ubuntu 14.10 repositories provide the Virtualbox 4.3.18, the latest has reached the version 4.3.20. For the changelog, see the web page.

How to Add Virtualbox Repository in Ubuntu:

Open terminal from the Unity Dash or just press Ctrl+Alt+T on keyboard. When it opens, paste the command below into terminal and run to get the key:

wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add -

Type in your user password when it asks. Then run command to add the vbox repository for Ubuntu 14.10:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian utopic non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'

Now install Vbox 4.3 via your package manager after checking for updates. Or just run commands below one by one:

sudo apt-get update

sudo apt-get install virtualbox-4.3

Finally keep your system up-to-date by running regular system updates, which also keep your Virutalbox 4.3 series up-to-date.

Quick tutorial shows you how to install Android Studio, a new Android development environment developed by Google and based on IntelliJ IDEA, via PPA in Ubuntu 14.10, Ubuntu 14.10, Ubuntu 12.04 and the next Ubuntu 15.04.

Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.

On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine as server-side components.

Install Android Studio via PPA in Ubuntu:

Installing Android Studio in Ubuntu becomes easy. A Ubuntu PPA contains simple script that automatically downloads and installs the latest release from Google download server. So far, Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04 are supported.

1. Android Studio depends on Java, and Oracle Java 7 or 8 is recommended. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer oracle-java7-set-default

2. To add the Android Studio PPA, run the command:

sudo apt-add-repository ppa:maarten-fonville/android-studio 

Then update package lists and install the script:

sudo apt-get update

sudo apt-get install android-studio

Depends on your internet connection, it takes a few minutes downloading the source package.

Once installed, start the setup wizard from the Unity Dash (may need restart), or just run command /opt/android-studio/bin/studio.sh.

via: github

The fourth update of the latest stable Linux Kernel 3.17 was released recently. Greg Kroah-Hartman announced this kernel release and urged all users of Kernel 3.17 series to upgrade as soon as possible.

According to the release note, this kernel release brings various important improvements, such as architecture updates (ARM, and x86), and driver updates for wireless, ethernet, i915 and radeon, as well as other fixes. For details, see the official changelog.

Install / Upgrade to Kernel 3.17.4:

The Ubuntu Kernel Team has made the .deb installers of the kernel release, available for download at the link below:

Download Kernel 3.17.4 Debs

Depends on your OS type, 32-bit = i386 or 64-bit = amd64, download & install the .deb packages in below orders:

  1. linux-headers-3.17.4-xxxxxx_all.deb
  2. linux-headers-3.17.4-xxx-generic_i386/amd64.deb
  3. linux-image-3.17.4-xxx-generic_i386/amd64.deb

For Ubuntu Server without graphical user interface, run below commands to download & install the new kernel:

For 32-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704-generic_3.17.4-031704.201411211317_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704_3.17.4-031704.201411211317_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-image-3.17.4-031704-generic_3.17.4-031704.201411211317_i386.deb

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

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704-generic_3.17.4-031704.201411211317_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704_3.17.4-031704.201411211317_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-image-3.17.4-031704-generic_3.17.4-031704.201411211317_amd64.deb

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

When done, restart your machine. Note that for proprietary graphics drivers, you may re-build (or re-install) the driver to make it work with the new kernel.

If for some reason this kernel release doesn’t work properly for you, reboot into previous kernel (Grub -> Advanced -> select previous kernel) and run the command below to remove Linux Kernel 3.17.4:

sudo apt-get remove linux-headers-3.17.4-* linux-image-3.17.4-* && sudo update-grub

Vuze BitTorrent Client, previously Azureus, has recently reached 5.5.0 release with new features and enhancements. Here’s how to install or upgrade it in Ubuntu.

Vuze is written in Java, and uses the Azureus Engine. In addition to downloading data linked to .torrent files, Azureus allows users to view, publish and share original DVD and HD quality video content. Content is presented through channels and categories containing TV shows, music videos, movies, video games, series and others. Additionally, if users prefer to publish their original content, they may earn money from it.

What’s New in Vuze 5.5.0:

According to the release note, the new release brings:

  • A new visual guide
  • Additional tips and suggestions are provided for using Vuze.
  • Allow blocking of local DNS resolution attempts for trackers hosts when using a SOCKS proxy.
  • Shortcut implemented for download location using CTRL+ to save torrents
  • Additions of various console-UI commands to improve usability
  • Added Speed Limit Scheduler features.
  • Configuration pages now have shortcuts to access specific settings quickly

For more, see the Vuze blog.

Install Vuze 5.5.0 in Ubuntu:

For non-install version, download the official package from vuze.com, extract and finally run the executable from the result folder.

Or you can install Vuze from the Getdeb repository, just download below packages from the link page:

  • “azureus_5.5.0.0-1~getdeb1_all.deb”
  • “vuze_5.5.0.0-1~getdeb1_all.deb”

Vuze packages in Getdeb repository

Once downloaded, open the package via Ubuntu Software Center and click the install button one by one.

The Light Table IDE got a fairly major update a few hours ago by releasing the Light Table 0.7.0. And the 0.7.1 release was out just one hour later with few bug fixes.

Light Table 0.7.0 is a big clean up release with lots of little fixes, but there are a number of big changes that warranted it being a more significant version increase:

  • moved to the latest node-webkit and are now able to track nw’s progress directly since the menu changes made it upstream.
  • All plugin metadata is now hosted on github, this means that asking to remove/rename/change urls etc for plugins is just a matter of sending a PR.
  • Instead of having a disconnect between settings and plugins (which are really the same), every user now has a user plugin. This gives you a place to quickly create commands, tabs, behaviors, or whathaveyou without needing to jump through a bunch of hoops. This also means that your complete configuration with plugins and all can be zipped up and sent to someone.
  • Along with the user plugin, we’ve also changed the syntax of behavior and keymap files to make them much easier to both read and share. No more hunting for the right place to paste some behavior you’ve copied from someone else.

via: Light Table blog.

How to Install Light Table in Ubuntu:

The official website provides the binary packages for Linux. Here is how to install it in Ubuntu Unity. Tested in Ubuntu 14.10, should also work in Ubuntu 14.04 and Ubuntu 12.04.

1. Download the Light Table package from the link below:

Light Table Web Page

Depends on your OS type, select download Linux 32-bit or 64-bit package.

2. Once the downloading process finished. Press Ctrl+Alt+T to open terminal, and then run the command below to open the Downloads folder as root (Administrator), so that you have the privilege to extract the package to /opt/ for global use.

gksudo nautilus ~/Downloads

You need to install gksu from Ubuntu Software Center if you don’t have it installed.

When the folder opens, right-click on the package and select “Open With Archive Manager”.

3. Once the package opens, click the Extract button and select extract to Computer -> /opt/.

When done, close the Archive Manager and the Downloads folder.

Now you should be able to launch Light Table via command below:

/opt/LightTable/LightTable

4. If everything’s OK, let’s create an app shortcut so that you can launch it from the Unity Dash or Menu.

Run command below in terminal to create .desktop file and open it with Gedit text editor:

gksudo gedit /usr/share/applications/light-table.desktop

When the file opens, paste below into it and click the save button.

[Desktop Entry]
Version=1.0
Name=Light Table
GenericName=Text Editor
Exec=/opt/LightTable/LightTable
Terminal=false
Icon=/opt/LightTable/core/img/lticon.png
Type=Application
Categories=GTK;Utility;TextEditor;Application;IDE;Development;

Finally start Light Table IDE from the Unity Dash or Menu and enjoy!

The Evolve OS Budgie Desktop session released version 0.8 recently. Here’s how to install it in Ubuntu 14.10 and Ubuntu 14.04.

Budgie is the flagship desktop of the Evolve OS Linux Distribution. It’s designed with the modern user in mind, it focuses on simplicity and elegance. A huge advantage for the Budgie desktop is that it is not a fork of another project, but rather one written from scratch with integration in mind.

Budgie desktop is nearly one year old and now it works very well in Ubuntu. See the screenshots in Ubuntu 14.10:

How to install Budgie Desktop:

The developer has created an official PPA repository that contains Budgie binaries, available for Ubuntu 14.04 and Ubuntu 14.10.

To add the PPA and install the session, press Ctrl+Alt+T to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:evolve-os/ppa

sudo apt-get update

sudo apt-get install budgie-desktop

Or you can grab the .deb installer directly from the link below if you don’t want to add the PPA.

Budgie Desktop packages in Launchpad Page

Depends on your Ubuntu release edition and OS type, download & install the .deb package with:

  • trusty (or utopic) in name for Ubuntu 14.04 (or Ubuntu 14.10).
  • amd64 (or i386) in name for 64-bit (or 32-bit) system.

Once installed, log out and select login with Budgie session.

Corebird, Linux native GTK+ 3 twitter client has reached version 0.9 with great perfermance improvements. PPA’s ready for Ubuntu 14.04, Ubuntu 14.10, and Linux Mint 17.

What’s new in Cordbird 0.9:

  • Mentions, hashtags and links now get highlighted directly in the compose window
  • You can now click the avatar to edit and change the user account.
  • You can now toggle the “autostart” switch in each user account’s settings window.
  • The setting regarding the dark theme is gone (existing configurations will keep working).
  • When viewing an image of a tweet with multiple images/videos attached, you can now use the cursor keys to navigate between them.
  • Avatars in tweets and profiles now show if the user is verified.
  • Lots of the application should now react better to missing network connections.
  • Some things now get immediately applied instead of needing a restart
  • Add a back button in the top of window.
  • UI improvements.

For more, see the release page (Click the suspension points after the version number to view changes).

Install Corebird in Ubuntu:

While there’s no binary packages available for Ubuntu, I’ve made the latest Corebird into my PPA repository, available for Ubuntu 14.04 LTS, Ubuntu 14.10, and Linux Mint 17.

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

sudo add-apt-repository ppa:ubuntuhandbook1/corebird

sudo apt-get update

sudo apt-get install corebird

If you don’t want to add the PPA, grab the .deb installer directly from this page.

As a workaround to fix the background transparency bug, I’ve edited the .desktop file so that Corebird window uses the old fat scroll bars instead of the overlay scroll bars.

(Optional) To remove Corebird:

To remove the twitter client as well as the PPA repository:

sudo apt-get remove corebird

sudo add-apt-repository -r ppa:ubuntuhandbook1/corebird

If you’ve added the Gnome 3 PPA, install ppa-purge from Ubuntu Software Center. Then purge the PPAs via commands below:

sudo ppa-purge ppa:gnome3-team/gnome3

sudo ppa-purge ppa:gnome3-team/gnome3-staging

NVIDIA recently introduced the 346.xx graphics driver series for Linux with the release of the 346.16 beta driver. Xorg-Edgers PPA has made the binary packages available for Ubuntu 14.10 and Ubuntu 14.04

According to the release highlights, the new driver added below new features:

  • Added support for GeForce GTX 970M and GeForce GTX 980M GPUs.
  • Added support for decoding VP8 video streams using the NVCUVID API on GPUs with VP8 hardware decode support.
  • Added the ability to increase the operating voltage on certain GeForce GPUs in the GeForce GTX 400 series and later. Voltage adjustments are done at the user’s own risk.
  • Added accelerated support for r8g8b8a8, r8g8b8x8, b8g8r8a8 and b8g8r8x8 RENDER formats.
  • Added support for the EGL_EXT_device_base, EGL_EXT_platform_device, and EGL_EXT_output_base extensions.
  • Added support in nvidia-settings for GTK+3 UI, an option --use-gtk2 available to force the use of GTK+2 library.
  • Support for the latest Linux Kernel 3.17 / 3.18 series.
  • Performance improvements and various bug fixes.

For more changes and supported products, see the Nvidia page.

How to Install Nvidia 346.16 in Ubuntu:

Besides using the official installer package, you can install the new driver in Ubuntu 14.10, Ubuntu 14.04, or Linux Mint 17 from the xorg-edgers fresh X crack ppa.

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below and hit run to add the PPA:

sudo add-apt-repository -y ppa:xorg-edgers/ppa

2. Update the package lists and install the new driver:

sudo apt-get update

sudo apt-get install nvidia-346 nvidia-settings

(Optional) To purge the PPA:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:xorg-edgers/ppa

To remove the Nvidia 346 driver:

sudo apt-get remove nvidia-346