Archives For November 30, 1999

As you may know, DrJava is a lightweight programming environment for Java designed to foster test-driven software development. It includes an intelligent program editor, an interactions pane for evaluating program text, a source level debugger, and a unit testing tool.

This tutorial shows you how to install DrJava via getdeb repository in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04 and their derivatives such as Linux Mint, Elementary, etc.

To get started, download and install the deb from the below link which will add the GetDeb repository to your system:

Download getdeb package

For Linux Mint, you can directly enable getdeb repository from Software Sources.

To install DrJava, click Reload button and search and install drjava package in Synaptic Package Manager. Or, run below command in terminal (Ctrl+Alt+T):

sudo apt-get update; sudo apt-get install drjava

DrJava Ubuntu

Update-20170107: The tutorial should also works on current Ubuntu releases, including Ubuntu 16.04, Ubuntu 16.10, Ubuntu 14.04 and their derivatives. To uninstall, simply run commands:

sudo apt-get remove drjava && sudo apt-get autoremove

And the getdeb repository can be removed by going to System Settings -> Software & Updates -> Other Software tab.

Linus Torvalds has announced the Linux Kernel 3.11. Here are the new features and how to install / upgrade new kernel in Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and Linux Mint.

Linus Torvalds wrote on the mailing list:

As some people noticed, I got distracted (“Ooh, look, a squirrel..”)
and never wrote an announcement for -rc7. My bad. But it wasn’t
actually all that interesting a release apart from the date, and it
had a silly compile error in ohci-pci if you hadn’t enabled
CONFIG_PM_RUNTIME, so we’ll just forget -rc7 ever happened, ok?
Instead, go and get the real 3.11 release, which is out there, all
shiny and ready to be compiled and loved.

Since rc7 (ok, I lied, it happened) there’s been just small fixes.
Most of them came in from the networking tree, but there’s some all
over: some random filesystem fixes, a couple of sound fixes, a
/proc/timer_list fix, things like that. Nothing really stands out
(unless you happened to use the new soft-dirty code, that had a buglet
that could really hurt), but let’s hope we don’t have some silly
configuration that doesn’t even compile this time around.

Shortlog appended.

Linus

The Linux Kernel 3.11 Features:

Graphics:

  • The DRM driver changes dominate the Linux 3.11 kernel! The big feature is Radeon dynamic power management support has finally come to AMD’s open-source driver along with early support for the Radeon HD 8000 “Sea Islands” GPUs. Phoronix tests have shown Radeon DPM is successful at improving power use and lowering temperatures while delivering great performance.
  • There’s a new DRM display driver for the Renesas R-Car SoC.
  • Intel Haswell improvements and Valley View / Bay Trail support is now ready for Linux desktop usage.
  • H.264 / MPEG-2 video decoding for Nouveau with select NVIDIA GPUs bearing the VP2 engine as part of the PureVideo HD support. This is exposed in Gallium3D via the VDPAU state tracker. There’s also early GK110 GPU support. The NVIDIA GK110 is the firm’s latest high-end Kepler GPU.

Disk / File-System:

  • LZ4 compression support.
  • Zswap was merged for compressed swap caching.
  • Various XFS file-system improvements.
  • Performance tuning for Btrfs.
  • F2FS file-system updates.
  • EXT4 file-system updates.
  • The Lustre file-system client was merged for the first time.

CPU:

  • AVX2 Crypto optimizations.
  • PowerPC improvements from IBM.
  • Continued ARM improvements.
  • Xen and KVM virtualization now work for 64-bit ARM.

General Hardware & Miscellaneous Improvements:

  • Input device improvements.
  • Lots of audio / sound improvements.
  • With Linux 3.11, Wine can now handle Windows RT applications.

Download & Install Linux Kernel 3.11:

The Kernel PPA has updated DEB packages for Ubuntu and its derivatives. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to download the DEBs.

for 32-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb

for 64-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

For both 32-bit & 64-bit, run below command to install them:

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

Once installed, restart your computer!

If you have problem with this kernel, run below command to remove it:

sudo apt-get purge linux-image-3.11.0*

Read More:

Linux Kernel 3.11 announcement

Kernel 3.11 on kernel ppa mainline

The Avidemux video editor has reached version 2.6.5 with improvements and bug fixes. This tutorial shows how to install or upgrade it in Ubuntu 13.04, Ubuntu 12.04 via PPA.

As you may know, Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file formats, including AVI, DVD compatible MPEG files, ASF and MP4 using a variety of codecs.

Avidemux 2.6.5 has below changes:

  • libva hardware decoding
  • xvba hardware decoding, ported from xbmc, experimental
  • Re-enabled 64bits windows build using octave
  • Only lock job database when adding a job
  • Fixed the doubled fps bug on mpeg ts
  • Fixed positive and negative audio shift having the same effect
  • Windows : Better drag n drop support
  • Added back save/load video filter set
  • Dv encoding
  • Fast, superfast and ultrafast x264 preset by bernd_b
  • Support for 10bits h264 decoding
  • Much improved speed for downmixing
  • Updated libav*
  • Plenty of bugs fixed

Intall Avidemux via PPA:

For Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and their derivatives such as Linux Mint 13 Maya, 15 Olivia, Elementary OS 0.2 Luna. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to add the ppa:

wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb

sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb

For Linux Mint users, you can read this post to add the GetDeb repository

To install the editor, run below command:

sudo apt-get update; sudo apt-get install avidemux2.6

This tutorial will show you how to install SmartGit/HG easily via PPA in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint.

As you may know, SmartGit/Hg is a graphical Git and Mercurial client which can also connect to SVN repositories. SmartGit/Hg runs on Linux, Mac OS X (10.5 or newer) and Windows (XP or newer). Git and Mercurial (Hg) are distributed version control system (DVCS). Read Smartgit documentation

SmartGit/Hg depends on Java Runtime Environment. So before get started, install OpenJDK from Ubuntu Software Center or install Oracle Java via PPA.

Once Java properly installed, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install the git client:

sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install smartgithg

Terra is a drop-down terminal emulator based on GTK+3.0. It has a tranparent background and supports multiple terminals with splitting screen horizontally or vertically.

It’s a good alternative to Yakuake terminal. Here are the screenshots:

Install Terra in Ubuntu & its derivatives

For Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal, Linux Mint and Elementary OS. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install it:

sudo add-apt-repository ppa:ozcanesen/terra-terminal

sudo apt-get update

sudo apt-get install terra

Download and install the DEB from this page if you don’t want to add the ppa.

The latest Stable Linux Kernel 3.10.10 has been released. All users of the 3.10 kernel series are urged to upgrade as soon as possible. Here’s how to Install / upgrade in Ubuntu 13.04, Ubuntu 12.04 Precise and Ubuntu 12.10 Quantal.

The Kernel 3.10.10 is a small release that includes a few updated drivers, fixes, as well as other small changes. See the changelog.

Install / Upgrade Kernel 3.10.10

The DEB packages for Debian / Ubuntu based systems are available. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to download them:

for 32-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-headers-3.10.10-031010-generic_3.10.10-031010.201308291422_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-headers-3.10.10-031010_3.10.10-031010.201308291422_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-image-3.10.10-031010-generic_3.10.10-031010.201308291422_i386.deb

for 64-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-headers-3.10.10-031010-generic_3.10.10-031010.201308291422_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-headers-3.10.10-031010_3.10.10-031010.201308291422_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.10-saucy/linux-image-3.10.10-031010-generic_3.10.10-031010.201308291422_amd64.deb

After that, both 32-bit and 64-bit run below command to install the kernel:

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

Once properly installed, you can remove the downloaded packages for saving space.

(Optional) To remove this kernel, run below command:

sudo apt-get purge linux-image-3.10.10*

This simple tutorial shows you how to easily change the CPU frequency via indicator applet in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives, such as Linux Mint and Elementary OS.

Indicator-freq is an applet for displaying and change cpu frequency on the fly. Also it allows to choose powersaving mode to save power.

To install this indicator, open Ubuntu Software Center and search for and install the indicator-cpufreq package.

That’s it. Enjoy!

Catfish is a versatile file searching tool. It is a search GUI powered by locate and find behind the scenes, with autocompletion from Zeitgeist and locate. The advanced options allow filtering by date and file type. The interface is intentionally lightweight and simple, using only GTK+.

Features:

  • search files anywhere on your computer, include mounted partitions.
  • search hidden files
  • search files by modified time
  • search files by type

Install Catfish File Search:

You can install Catfish file searching tool in Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise and their derivatives, such as Linux Mint and Elementary OS.

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

sudo add-apt-repository ppa:catfish-search/catfish-stable

sudo apt-get update

sudo apt-get install catfish

Once done, you can open it from Unity Dash:

Touchpad Indicator has been updated to 0.9.5 with the ability to change touchpad status using Mouse Wheel. The developer announced in his blog:

“It is certainly much more comfortable turning the mouse wheel (regardless of whether it is up or down) to do two clicks to change the status of the touchpad, first to display the menu and the second to select the option.”

In the new release, keyboard shortcuts now reside in dconf instead of gconf, specifically in org.gnome.desktop.wm.keybindings. To set a specific keyboard shortcut for toggling Touchpad-Indicator, go to org.gnome.settings-daemon.plugins.media-keys.custom-keybindings in Dconf Editor

Touchpad Indicator 0.9.5 also fixes below bugs:

  • # 1036808 Ubuntu 12.04 Suffers suspension after an internal error
  • # 1062694 Touchpad status resets to ‘ON’ when laptop lid is closed.
  • # 1075029 watchdog.py got some problem
  • # 1099821 keyboard shortcut does not work well
  • # 1111784 watchdog fails to enable touchpad on mouse removal
  • # 1192930 indicator Touchpad not working correctly.
  • # 1197984 Unable to save preferences
  • # 1198003 Cant enable Autostart
  • # 1036529 When unplug enable Wont get my External mouse
  • # 1131179 enabled touchpad indicator shows when it is disabled
  • # 1114511 Touchpad-indicator has gone berserk and Enables and disables randomly

Install Touchpad Indicator:

The PPA has been updated for Ubuntu 13.10, Ubuntu 12.10, Ubuntu 13.04 users. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install Touchpad Indicator:

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update

sudo apt-get install touchpad-indicator

For Ubuntu 12.04 and its derivatives, you may download and install the DEB package (didn’t test).

The Qt-based Multimedia Player Qmmp released version 0.7.2 a few hours ago. It fixed some bugs and removed unimplemented function. Here’s how to install / upgrade to this release in Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.

As you may know, Qmmp is a Qt audio player with WinAmp-like interface. It supports MPEG1 layer 2/3, Ogg Vorbis, Ogg Opus, Native FLAC, Ogg FLAC, Musepack, WavePack, tracker modules (mod, s3m, it, xm, etc), ADTS AAC, CD Audio, WMA, Monkey’s Audio (and other formats provided by FFmpeg library), PCM WAVE (and other formats provided by libsndfile library), midi, chiptune formats (AY, GBS, GYM, HES, KSS, NSF, NSFE, SAP, SPC, VGM, VGZ, VTX)

Changes in Qmmp 0.7.2:

  • fixed queue update bug
  • fixed track length formatting
  • fixed api documentation
  • fixed gcc warnings
  • fixed memory leaks
  • fixed wildmidi config path
  • fixed playlist autosave feature
  • fixed possible segmentation fault
  • fixed title format update bug
  • removed unimplemented function

Install or Upgrade the Qmmp via PPA:

The PPA has updated for Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal and Ubuntu 12.04 Precise users. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run following 3 commands one by one:

sudo add-apt-repository ppa:forkotov02/ppa
sudo apt-get update
sudo apt-get install qmmp qmmp-plugin-pack

There are a few Qmmp skins, you can use them by place the extracted folders under “$user Home/.qmmp/skins/” folder. You may press Ctrl+H to see hidden file folders.