Archives For jimingkui

gnome shell

Along with a few Gnome Shell extensions, you can now easily make Gnome Desktop look like Mac OS X with ‘Gnome-OSX’, a gnome-specific GTK3 theme.

Gnome-OSX is initially based on the Arc-theme-files. The goal is to implement the feel of OSX on the gnome-applications.

The theme mainly features:

  • Nautilus with blurred sidebar.
  • Same theming across GTK2 and GTK3.
  • Shell theme with white dock and slighty dark top-bar
  • Shell theme with dark dock and dark top-bar

To get this look and feel in Ubuntu 17.04, Ubuntu 16.10 Gnome Shell, do following steps:

1. Download the ‘Gnome-OSX’ theme from the link below:

Under Files tab, grab the first package or the next 4 packages.

Extract the tarball and all you need is the following 4 folders:

  • Gnome-OSX-Dark-Shell
  • Gnome-OSX-Light-Shell
  • Gnome-OSX-II-2-6
  • Gnome-OSX-II-2-6-NT

2. Open file browser, press Ctrl+H (view hidden folders) and go to .themes folder (create the folder if not exist).

Then move the 4 extracted folders to .themes:

3. Apply the GTK theme and Shell theme via Gnome Tweak Tool:

See this tutorial if shell theme is disabled

4. For the icons, I’m using the macOS icons available for download at the link below:

Also, extract and move the result folder to .icons folder (create it if not exist) in user home folder. And apply the icon theme via Gnome Tweak Tool.

5. For the bottom dock, go to the link below and install ‘Simple Dock’ extension:

or manually install the extension by following the project description.

6. For the top-left corner Application menu, install this gnome shell extension.

7. To move window buttons to left, open terminal (Ctrl+Alt+T) and run command:

gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize:"

This quick tutorial is going to show Gnome Desktop beginners how to enable the ‘Shell theme’ drop-down box in the Gnome Tweak Tool.

A Gnome Shell theme changes shell buttons, colors, panels, etc. The setting is disabled by default in Gnome Tweak Tool, and you’ll see the prompt “Shell user-theme extension not enabled” when you hover the cursor over the alert icon.

As it prompts, you need to enable user-theme extension. While it’s not available by default, install it via following steps:

1. Open Firefox web browser and go to https://extensions.gnome.org:

Click the link text “click here to install browser extension” and follow the pop-ups to install the browser extension:

2. After that, refresh the web page, if you get an error prompt that “native host connector is not detected“,

then open terminal via Ctrl+Alt+T and run command:

sudo apt install chrome-gnome-shell

3. Finally go to https://extensions.gnome.org/extension/19/user-themes/.

Click the switch to turn on and then select install the Gnome Shell extension:

After all, restart Gnome Tweak Tool and you’ll see the Shell theme drop-down box enabled after enabled the User Themes extension.

Deluge BitTorrent client 1.3.15 was released a day ago with various fixes. Web UI users are highly recommended to upgrade to this release due to a security fix.

Deluge 1.3.15 changelog:

  • Fix issues with displaying libtorrent single proxy.
  • Fix libtorrent 1.2 trackers crashing Deluge UIs.
  • Fix error in torrent priorities causing file priority mismatch in UIs.
  • Gtk UI:
    • Configure gtkrc to use consistent button ordering on Windows.
    • Fix column sort state not saved in Thinclient mode.
    • Fix connection manager error with malformed ip.
    • Rename SystemTray/Indicator? ‘Pause/Resume? All’ to ‘Pause/Resume? Session’.
    • Workaround lt single proxy by greying out unused proxy types.
  • Security fix for Web UI: Check render template files exist otherwise raise 404.
  • Some plugin fixes. See the release note.

How to Install Deluge 1.3.15 in Ubuntu:

Deluge has an official PPA contains the latest packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and their derivatives.

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from start menu. When it opens, run command to add the PPA:

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

Type in your password when prompts and hit Enter.

2. If you have a previous release installed, upgrade Deluge using Software Updater after checking for updates:

Or run commands to check updates and install Deluge:

sudo apt-get update && sudo apt-get install deluge

In the command, you may replace deluge with deluge-web for web UI, or deluge-console for console UI, deluged for daemon.

How to Restore:

To restore to the stock version of Deluge BitTorrent client in your main Ubuntu repository, purge the PPA via command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:deluge-team/ppa

VLC media player 2.2.5 was released recently with a great number of improvements. Here’s how to install it in Ubuntu 14.04, and Ubuntu 16.04.

It has been almost one year since the last VLC 2.2.4 was released on June 2016. VLC 2.2.5 features:

  • Fix green line rendering on Windows with AMD drivers
  • Fix mp3 playback regression on macOS and 64bit Windows leading to distortion for some media
  • Fix screenshots size
  • Improved lua scripts for various websites
  • Various security improvements in demuxers and decoders
  • Security hardening for DLL hijacking environments
  • Fix scrolling sensitivity on Sierra
  • Fix screen recording on Windows
  • See the changelog for details.

How to Install VLC 2.2.5 in Ubuntu / Linux Mint:

Besides building VLC 2.2.5 from the source tarball, Ubuntu 14.04, 16.04, and Linux mint 18 users can install it from the unofficial PPA.

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

sudo add-apt-repository ppa:jonathonf/vlc

Type in your password (no visual feedback due to security reason) when prompts and hit Enter.

2. (IMPORTANT) Remove old VLC version to avoid a package conflict:

sudo apt remove vlc vlc-nox

3. Finally run commands in terminal to check updates and install VLC 2.2.5:

sudo apt update && sudo apt install vlc

How to Restore:

To restore VLC media player to the stock version in your main Ubuntu repository, run command to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vlc

GIMP, The GNU Image Manipulation Program, got another maintenance release for the 2.8 series a few hours ago with drawing performance improvement and 10 years old CVE bug fixed.

GIMP 2.8.22 release highlights:

  • improve drawing performance in single window mode, especially with pixmap themes
  • Fix CVE bug in the ICO plug-in which allowed context-dependent attackers to cause a denial of service (crash) via an ICO file with an InfoHeader containing a Height of zero.
  • Avoid creating wrong layer group structure when importing PSD files
  • Prevent a crash in PDF plug-in if images or resolution are large
  • stop parsing invalid PCX files early and prevent a segmentation fault
  • Fixes for Mac OS, translation updates and build fixes.
  • See the changelog for details.

How to Install GIMP 2.8.22 via PPA in Ubuntu:

Otto Meier promised to maintain the latest GIMP packages in the PPA repository, so far, available for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04.

Although GIMP 2.8.22 is NOT available in the PPA at the moment of writing (be patient, there’s always a small delay for maintainer to test and upload the packages), you can add the PPA via following steps:

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

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

Type in your password (no visual feedback due to security reason) when it asks and hit Enter.

2. After that, upgrade GIMP once the new release is published in the PPA:

For those who want to build GIMP from the source, grab the tarball from HERE.

How to Restore:

For any reason, you can easily restore GIMP to the official build (old) in main Ubuntu repositories, by running command to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:otto-kesselgulasch/gimp

Opera 45, codenamed Reborn, was released earlier today. The new release features built-in social messengers: Facebook Messenger, WhatsApp and Telegram.

Simply click a social icon on left sidebar, you can open the social messenger in overlay or pin it side-by-side with your current tab.

If you use more than one messenger, you can easily switch between them via ⌘ + ⇧ + m on macOS, CTRL + SHIFT + m on Windows and Linux.

Other features in Opera 45:

  • light and dark theme
  • Refined user interface, new icons, and animations.
  • More control over ad blocking
  • graphics improvements on Windows and security warning for non https.
  • For more, see the announcement.

Download / Install Opera 45:

For Linux, download Opera from the official link below:

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

In addition, to manually add the Opera for Linux repository, open “terminal” via Ctrl+Alt+T and run following commands:

1. Setup 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. Setup the key:

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

Cinnamon desktop environment has reached the new massive 3.4 release a few days ago. Though there’s no official announcement published on Linux Mint blog at the moment of writing, you can now install it in Ubuntu 16.04, Ubuntu 17.04 via PPA.

Cinnamon 3.4.0 brings over 160 changes, and here are some of them:

  • The settings daemon is split into multiple processes. Make it easy to identify excessive CPU or memory usage and isolating crashes to only affect a particular plugin.
  • Nemo is split into two separate processes. One for the desktop icons, and one for the file manager windows.
  • Added “Run now” button in the settings’ module for managing startup applications
  • Support for configuring the LightDM login manager in Cinnamon Settings.
  • New Cinnamon Settings option for configuration acceleration and sensitivity of the mouse.
  • Cinnamon is now capable of adapting to the multi-process CSD.
  • See the full changelog for details.

How to Install Cinnamon 3.4 via PPA in Ubuntu:

The unofficial PPA has just build the Cinnamon 3.4 packages for Ubuntu 16.04, and Ubuntu 17.04.

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:embrosyn/cinnamon

Type in your password (no visual feedback due to security reason) and hit Enter.

2. Then update and install Cinnamon desktop via commands:

sudo apt update

sudo apt install cinnamon

After that, log out and select log in back with Cinnamon session.

Linux 4.11 Kernel was officially released on April 30th. Linus Torvalds announced in lkml.org:

So after that extra week with an rc8, things were pretty calm, and I’m much happier releasing a final 4.11 now.

We still had various smaller fixes the last week, but nothing that made me go “hmm..”. Shortlog appended for people who want to peruse the details, but it’s a mix all over, with about half being drivers (networking dominates, but some sound fixlets too), with the rest being soem arch updates, generic networking, and filesystem (nfs[d]) fixes. But it’s all really small, which is what I like to see the last week of the release cycle.

Linux 4.11 Kernel release highlights:

  • Enable frame-buffer compression by default for Skylake device and newer.
  • Adds DP MST audio support in Intel’s DRM driver.
  • Initial Geminilake graphics support.
  • ASPEED AST2500 display support.
  • Better Turbo Boost Max 3.0 support.
  • New ARM SoCs and boards support.
  • Realtek ALC1220 is now supported
  • Radeon/AMDGPU and various other DRM driver updates.
  • Improvements and updates to KVM, Xen, TurboStat, Raspberry Pi, TPM2, and more.

How to Install Kernel 4.11 in Ubuntu:

The mainline kernel PPA built the Linux 4.11 build .deb packages a few days later, available for download at the link below:

You can also use UKUU, a simple graphical tool to install latest Linux Kernels in Ubuntu.

To get Linux 4.11 Kernel from command console, run following commands one by one:

for 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100_4.11.0-041100.201705041534_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100-generic_4.11.0-041100.201705041534_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-image-4.11.0-041100-generic_4.11.0-041100.201705041534_amd64.deb

sudo dpkg -i *.deb

for 32-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100_4.11.0-041100.201705041534_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-headers-4.11.0-041100-generic_4.11.0-041100.201705041534_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11/linux-image-4.11.0-041100-generic_4.11.0-041100.201705041534_i386.deb

sudo dpkg -i *.deb

After installed these debs, restart and enjoy!

Uninstall:

To remove Linux Kernel 4.11, first restart and select boot with previous kernel (from Grub boot-loader -> Advanced Options) and then run command:

sudo apt-get remove linux-headers-4.11* linux-image-4.11*

Want to change the boring default Ubuntu desktop themes? Well, there’s a script allows to easily install a list of the latest version of nice GTK themes.

It supports GTK 3.18 to 3.24, and will install the correct version according to your system. So far, support themes are:

  • Adapta
  • Arc (Firefox themes: Arc, Arc Darker, Arc Dark)
  • Arc-Flatabulous
  • Arc-Red
  • Breeze
  • Candra (GNOME 3.20+ only)
  • Ceti-2 (GNOME 3.18 only)
  • Cloak (GNOME 3.20+ only)
  • DeLorean Dark (GNOME 3.18 only)
  • EvoPop
  • Flat-Plat
  • Flatabulous (GNOME 3.18 only)
  • Flattiance (GNOME 3.18 only)
  • Fresh-Finesse
  • Greybird
  • macOS-Sierra
  • Minwaita
  • Numix
  • OSX-Arc Collection
  • Paper
  • Plano (GNOME 3.20+ only)
  • Pop
  • Redmond-Themes
  • Vertex
  • Vimix
  • Yosembiance (GNOME 3.18 only)
  • Zuki

1. To get the script, open terminal via Ctrl+Alt+T or searching for “Terminal” from app launcher. When it opens, run command:

sudo apt install git && git clone https://github.com/tliron/install-gnome-themes

2. The command clone the script source into your user root directory. To run the script, simply run command:

~/install-gnome-themes/install-gnome-themes

To avoid rebuilding themes, it will delete installed themes with same names, then install some required libraries, finally download and build the themes one by one in your system:

When everything’s done, launch Gnome Tweak Tool or Unity Tweak Tool and enjoy the new themes by selecting one of them:

via:github

This quick tutorial is going to show you how to install the latest FFmpeg multimedia library 3.3 “Hilbert” in Ubuntu 16.04, Ubuntu 14.04 via PPA.

FFmpeg 3.3 “Hilbert” is a new major release that features:

  • Apple Pixlet decoder
  • NewTek SpeedHQ decoder
  • QDMC audio decoder
  • PSD (Photoshop Document) decoder
  • FM Screen Capture decoder
  • ScreenPressor decoder
  • XPM decoder
  • DNxHR decoder fixes for HQX and high resolution videos
  • ClearVideo decoder (partial)
  • 16.8 and 24.0 floating point PCM decoder
  • Intel QSV-accelerated VP8 video decoding
  • native Opus encoder
  • DNxHR 444 and HQX encoding
  • Quality improvements for the (M)JPEG encoder
  • VAAPI-accelerated MPEG-2 and VP8 encoding
  • MPEG-7 Video Signature filter
  • Intel QSV video scaling and deinterlacing filters
  • Support MOV with multiple sample description tables
  • Pro-MPEG CoP #3-R2 FEC protocol
  • Support for spherical videos
  • CrystalHD decoder moved to new decode API
  • and many more, see release note.

How to Install FFmpeg 3.3 via PPA in Ubuntu:

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from the dash. When it opens, run command to add the PPA repository (unofficial):

sudo add-apt-repository ppa:jonathonf/ffmpeg-3

Type in password (no visual feedback due to security reason) and hit Enter.

2. (For Ubuntu 14.04 only), you also need to add another PPA for the dependencies:

sudo add-apt-repository ppa:jonathonf/tesseract

3. Then upgrade FFmpeg using Software Updater:

Or simply run command:

sudo apt update && sudo apt upgrade

How to Restore:

To undo the changes and restore to the stock version of FFmpeg in main Ubuntu repositories, purge the PPA via command:

sudo apt install ppa-purge && ppa-purge ppa:jonathonf/ffmpeg-3