Archives For jimingkui

SMPlayer 17.11.2 Released with Fixes for KDE

Last updated: November 16, 2017

SMplayer

The SMPlayer media player reached the 17.11.2 release earlier today with a few bug-fixes for KDE users.

SMPlayer 17.11.2 fixed:

  • A crash that may happen on KDE when the global menus are activated.
  • SMPlayer won’t cancel logout in KDE.
  • The seek function in the MPRIS2 code has been fixed.

SMPlayer with Mac skin

How to Install SMPlayer 17.11.2 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and derivatives, the latest SMPlayer packages are available in the PPA repository.

1. Search for and launch “terminal” from application launcher. When it opens, run command:

sudo add-apt-repository ppa:rvm/smplayer

Input your password (no visual feedback while typing) when it asks and hit Enter.

Smplayer PPA

2. Then upgrade SMPlayer using Software Updater (or Update Manager):

upgrade smplayer

or run commands in terminal to install (or upgrade) the media player:

sudo apt-get update

sudo apt-get install smplayer smtube smplayer-themes

Uninstall:

To remove SMPlayer, run command in terminal:

sudo apt-get remove --autoremove smplayer smtube smplayer-*

And remove the PPA via “Software & Updates” utility under Other Software tab.

IntelliJ IDEA 2017.2.6 Released with Various Fixes

Last updated: November 15, 2017

JetBrains’ IntelliJ IDEA Java ide has reached the 2017.2.6 release with 2 new features and various bug-fixes.

IntelliJ IDEA 2017.2.6 added or fixed:

  • Allow “generate classes from database schema” for plain-JDBC developers
  • Allow “Return of ‘null'” to be ignored when return type is java.lang.Void
  • Code inspection hangs in the latest 2017.2.5 release
  • IntelliJ crashes system when generating a database diagram
  • Error on Refresh Gradle Project using Java 9
  • application properties not set when starting Spring Boot service in IDEA
  • New > Tapestry > Component / Page operation does nothing
  • “Open Task” makes the whole IDE freeze when selecting a task too quickly
  • And see the release note for more.

IntelliJ IDEA 2017.2 splash

How to Install IntelliJ IDEA 2017.2.6 in Ubuntu:

The official Linux packages are available for download at the link below:

IntelliJ IDEA Linux Download

Grab the package, extract, and run the executable to launch the IDE. You may manually create an application shortcut to be able to start it from app launcher.

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, you can also use the installer script that automatically downloads the IDE from JetBrains’ web server, installs it to /opt/, and finally creates an app shortcut for it.

installer script (.deb) for IntelliJ IDEA Community | IntelliJ IDEA Ultimate

Install the script via dpkg command:

sudo dpkg -i ~/Downloads/intellij-idea-*_2017.2.6-1_all.deb

Alternatively, simply open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the script:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

replace intellij-idea-community with intellij-idea-ultimate in the last command to install the ultimate edition.

Uninstall:

To remove the Java IDE, simply run command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And remove the PPA via Software & Updates utility under Other Software tab.

Firefox 57 Released! Over 2x Faster Than Before

Last updated: November 14, 2017

Firefox 55

Mozilla Firefox reached the 57.0 release earlier today. The new release, Firefox Quantum, features a completely new browsing engine makes it over twice as fast as before.

Mozilla Firefox 57.0 release highlights:

  • A completely new browsing engine.
  • A redesigned interface, and optimizations for touch screens
  • A unified address and search bar.
  • A revamped new tab page that includes top visited sites, recently visited pages, and recommendations from Pocket
  • An updated product tour to orient new and returning Firefox users
  • AMD VP9 hardware video decoder support for improved video playback with lower power consumption
  • An expanded section in preferences to manage all website permissions
  • Also various security fixes and other changes. See release note.

How to install Firefox 57 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, the latest Firefox 57 will be published through Ubuntu security & updates repository.

Once it’s published (check Firefox in launchpad), you can upgrade Firefox via Software Updater:

upgrade firefox

Can’t wait? Mozilla offers non-install Linux packages (select i686 for 32-bit, x86_64 for 64-bit os):

Download Firefox (non-install)

Linux Kernel

Linux Kernel 4.14 stable was released yesterday. Linus Torvalds announced that:

No surprises this week, although it is probably worth pointing out how the 0day robot has been getting even better (it was very useful before, but Fengguang has been working on making it even better, and reporting the problems it has found).

Sure, some of the new reports turned out to be just 0day doing things that just don’t work (ie KASAN with old gcc versions, but also doing things like loading old ISA drivers in situations that just don’t make sense – remember when you couldn’t even ask if the hardware existed or not, and just had to know), but even then it’s been all good.

The appended shortlog is obviously only for the (small) haul since rc8, and it really is tiny. Not very many commits, and they are small. The biggest thing that stands out in the diffstat is the “leaking_addresses” perl script, which is actually under active development, but I put the first version in for 4.14 just so that people could see that initial state and start looking at the end result and perhaps ask themselves “should my code make these kernel addresses visible to user space”.

How to Install Kernel 4.14 in Ubuntu / Linux Mint:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.

The mainline kernel PPA has made the new kernel binaries for Ubuntu, available for download at the link below:

Download Kernel 4.14 (.deb)

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.14.0-xxxxxx_all.deb
  2. linux-headers-4.14.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.14.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.14 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

For those who prefer a graphical tool, try Ukuu.

Uninstall Linux Kernel 4.13:

Start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.14, or you may see this how to remove old kernels tutorial.

The latest release of Mesa 3D graphics library 17.2.4 now is available to install easily via Ubuntu-X Team PPA in Ubuntu 16.04 and Ubuntu 17.10.

Mesa 17.2.4 was released more than a week ago with several Intel OpenGL/Vulkan fixes, memory leak fixes for the Mesa state tracker, a Vulkan windowing system integration memory leak fix for X11, and some other small fixes.

How to Install Mesa 17.2.4 in Ubuntu 16.04, 17.10 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get install dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

Visual Studio Code 1.18 Released (Howto Install)

Last updated: November 9, 2017

Visual Studio Code IDE

Visual studio code reached the 1.17 release. Here’s the release highlights and how to install it in Ubuntu.

VS Code 1.18 features:

  • Support for multi-root workspaces enabled by default.
  • Support vertical panel layout.
  • File Explorer shows modified, added, conflicting, and ignored files in a different color and with a badge.
  • Faster Windows start-up and editor performance tuning.
  • Speed up your coding with auto imports for JavaScript and TypeScript.
  • Install missing @types for TypeScript.
  • For more, see the release note.

How to Install VS Code 1.18 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Download VS Code (.deb)

Then install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

The new stable Opera 49 was released earlier today with built-in VR playback system, feature improvements, and more.

Opera 49 release highlights:

  • VR playback system that supports 360-degree vedios, 2D movies or standard 180-degree videos.
  • Integrate VK Messenger into browser sidebar.
  • Add editing tools and selfie mode in Snapshot tool.
  • Add five new currencies for the currency converter.
  • Ability to rearrange extension icons
  • Refined private mode, O-Menu and History panel improvements
  • See release note for details.

How to Install Opera 49 in Ubuntu:

The opera website offers official .deb binaries for Ubuntu Linux, available for download at the link below:

Download Opera for Linux

If you have a previous release installed, and enabled the official Opera Linux repository, upgrade it via Software Updater:

To manually add the Opera for Linux repository, open terminal via Ctrl+Alt+T or from app launcher, when it opens, run commands:

1. Add the opera repository:

sudo sh -c 'echo "deb http://deb.opera.com/opera-stable/ stable non-free" >> /etc/apt/sources.list.d/opera.list'

2. Get the key:

wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

Finally either install Opera via your system package manager or upgrade the browser via Software Updater.

Enlightenment E22

The Enlightenment desktop environment reached the new major 22 release a few days ago. Here’s how to install it via PPA in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10.

Enlightenment E22 Features:

  • Greatly improved Wayland support
  • Improvements to new gadget infrastructure
  • Added a sudo/ssh askpass utility gui
  • meson build system
  • tiling policy improvements
  • integrated per-window volume controls

How to Install Enlightment E21 via PPA in Ubuntu:

For all current Ubuntu releases and derivatives, Enlightenment 0.22 is available for install via the PPA repository.

1. Open terminal via Ctrl+Alt+T or by searching “Terminal” from app menu. When it opens, run command:

sudo add-apt-repository ppa:niko2040/e19

Type in your password and hit Enter to add the E21 PPA, though it contains e19 in its name.

2. Then check updates and install the window manager via commands:

sudo apt-get update

sudo apt-get install enlightenment

If everything goes well, log out and select log back with Enlightenment session.

Uninstall:

The PPA can be removed via the Software & Updates utility under Other Software tab. To remove Enlightenment, simply run command:

sudo apt-get remove enlightenment && sudo apt-get autoremove

Audacity, free and open-source audio editing and recording software, reached the new major 2.2.0 release a few days ago with great new features and tons of bug-fixes.

Audacity 2.2.0 release highlights:

  • Four supplied user interface themes, and customizability of themes for advanced users.
  • Playback of MIDI files (requires cooperating software synthesizer programs on macOs or Linux)
  • Better organized menus
  • Help link buttons in many dialogs lead to the relevant manual pages
  • 198 bugs/annoyances in 2.1.3 fixed, most importantly
  • Improved recovery from full file system errors
  • Thorough update of the manual with new images, more hover texts, and more cross-references.
  • Complete support for macOS 10.12 (Sierra) and 10.13 (High Sierra)

How to Install Audacity 2.2.0 in Ubuntu:

The Audacity team does not offer pre-compiled Linux binaries. Besides building from source, a third-party PPA is available with Audacity 2.2.0 for Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10.

1. Open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntuhandbook1/audacity

Input your password (no visual feedback while typing) when it prompts and hit Enter to add the PPA.

audacity ppa

2. If you have a previous version installed, you can upgrade Audacity via Software Updater after adding the PPA.

upgrade audacity

or run following commands one by one to check updates and install (or upgrade) audacity 2.2:

sudo apt-get update

sudo apt-get install audacity

Uninstall:

To remove the PPA repository, launch Software & Updates utility and navigate to ‘Other Software’ tab.

To remove Audacity audio software, either use system package manager or run command in terminal:

sudo apt-get remove --autoremove audacity audacity-data

SMplayer

The SMPlayer media player reached the 17.11.0 release earlier today. The new release features a few small bug-fixes and improvements.

Changes in SMPlayer 17.11 include:

  • The video equalizer by software has been fixed.
  • The thumbnail generator is now more precise with short videos.
  • The audio quality of the audio equalizer has been improved.
  • The option “add black borders on fullscreen” has been fixed.
  • The option “AC3/DTS passthrough over S/PDIF” has been fixed.

SMPlayer with Mac skin

How to Install SMPlayer 17.11 in Ubuntu via PPA:

The new release has made into the official PPA, available for Ubuntu 17.10, Ubuntu 17.04, Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04, and their derivatives.

1. Open terminal and run the following command to add the PPA:

sudo add-apt-repository ppa:rvm/smplayer

Smplayer PPA

For those who prefer Qt4 version, use the another PPA instead:

sudo add-apt-repository ppa:rvm/smplayer-qt4

2. Then you can upgrade SMPlayer from a previous release via Software Updater (Update Manager) after checking for updates:

upgrade smplayer

Or you can run the commands below in terminal to do install or upgrade SMPlayer:

sudo apt-get update 

sudo apt-get install smplayer smtube

How to Restore:

For any reason, you can easily restore the installation to the stock version via the ppa-purge tool:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:rvm/smplayer

For the qt4 ppa, replace ppa:rvm/smplayer with ppa:rvm/smplayer-qt4 in the code.