Archives For jimingkui

PyCharm IDE

The professional version of PyCharm IDE 2017.1.3 can now be easily installed via a PPA repository (unofficial) in Ubuntu, though there’s an official Linux tarball available.

Although the GetDeb repository is maintaining the latest community version of PyCharm IDE for Ubuntu users, there lacks a PPA for PyCharm Pro since Mystic-Mirage dropped his PPA support half a year ago.

Now there’s another PPA contains both PyCharm Community and Pro (2017.1.3 so far). Though the PPA only supports Ubuntu 16.10 and Ubuntu 17.04 at the moment, the packages also work in Ubuntu 16.04.

1. To add the PPA, open terminal via Ctrl+Alt+T and run command:

sudo add-apt-repository ppa:viktor-krivak/pycharm

Type in your password (no visual feedback) when prompts and hit Enter.

2. Then you can install PyCharm Pro via command (replace pycharm-professional with pycharm for the community version):

sudo apt update 

sudo apt install pycharm-professional

Install PyCharm Pro in Ubuntu 16.04:

For Ubuntu 16.04 LTS, grab the .deb package either for zesty or yakkety from PPA packages page.

Then install it either via Gdebi (available in Software Center) package installer or by running command:

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

Uninstall:

To remove the PPA repository, go to System Settings -> Software & Updates and navigate to Other Software tab.

To remove the IDE, either use your system package manager, or run command:

sudo apt remove --autoremove pycharm-professional

While Ubuntu repositories only provide old versions of GnuCash, here’s how to install the latest version of the financial-accounting software, GnuCash 2.6.16, Ubuntu 16.04, Linux Mint 18, and Ubuntu 17.04.

GnuCash is free small-business financial-accounting software designed to be easy to use, yet powerful and flexible. It allows you to track bank accounts, stocks, income and expenses.

The latest so far is GnuCash 2.6.16, features various bug-fixes and translation updates.

How to Install GnuCash 2.6.16 in Ubuntu:

The GetDeb repository offers the binary packages for Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and their derivatives.

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

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -sc)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

Type in your password (no visual feedback) and hit Enter to add the repository.

For Linux Mint, please enable GetDeb App repository via Software Sources -> Additional repositories.

2. For those who have a previous release installed, launch Software Updater (Update Manager) and upgrade GnuCash after checking for updates:

or simply run commands to update and install the financial-accounting software:

sudo apt update

sudo apt install gnucash

Uninstall:

The GetDeb repository can be removed via the Software & Updates utility under Other Software tab.

If you want to downgrade GnuCash to the stock version in Ubuntu repositories, install Synaptic Package Manager via Ubuntu Software, launch it and force install old version of gnucash.

G’MIC, a generic, extensible, and open source framework for image processing, has reached the new major 2.0 release. Here’s how to install it in Ubuntu via PPA.

The IMAGE team of the research laboratory GREYC in Caen/France is pleased to announce the release of a new major version (numbered 2.0) of its project G’MIC: a generic, extensible, and open source framework for image processing. Here, we present the main advances made in the software since our last article. The new features presented here include the work carried out over the last twelve months (versions 2.0.0 and 1.7.x, for x varying from 2 to 9).

See the announcement for details.

How to Install G’MIC 2.0 & GIMP Plugin in Ubuntu:

Besides downloading the official binaries from G’MIC download page, you can install / upgrade G’MIC and G’MIC plugin for Gimp from the Thorsten’s PPA, which so far supports for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, Ubuntu 17.10.

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

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

Type in your password (no visual feedback) when prompts and hit enter.

2. Then update and install both G’MIC and its gimp plugin:

sudo apt-get update

sudo apt-get install gmic gimp-gmic

Once installed, launch gmic from terminal or gmic plugin from GIMP Filters menu.

If you have a previous release installed, simply upgrade it via Software Updater after adding the PPA.

Uninstall:

To remove GMIC and GIMP plugin, simply run command:

sudo apt-get remove gmic gimp-gmic && sudo apt-get autoremove

You can also manage the PPA repository by going to System Settings -> Software & Updates -> Other Software tab.

HPLIP, Hewlett-Packard’s Linux imaging and printing software, has reached the 3.17.6 release with lots of new printers support, and Ubuntu 17.04, Debian 8.8 support.

HPLIP 3.17.6 is the second release in 2017, it adds following new printer support:

  • HP LaserJet Enterprise M607n, M607dn, M608n, M608dn, M608x, M608dh, M609dn, M609x.
  • HP LaserJet Managed E60055dn, E60065dn, E60065x, E60075dn, E60075x.
  • HP LaserJet Enterprise MFP M631dn, MFP M631z, MFP M632fht, MFP M632h, MFP M633fh.
  • HP LaserJet Enterprise Flow MFP M631h, Flow MFP M632z, Flow MFP M633z
  • HP LaserJet Managed MFP E62555dn, MFP E62565hs
  • HP LaserJet Managed Flow MFP E62565h, Flow MFP E62565z, Flow MFP E62575z
  • HP Color LaserJet Enterprise M652dn, M652n, M653dn, M653dh, M653x
  • HP Color LaserJet Managed E65050dn, E65060dn, MFP E67550dh, Flow MFP E67560z, MFP M681dh, MFP M681f
  • HP Color LaserJet Enterprise Flow MFP M681z, Flow MFP M681f, Flow MFP M682z
  • HP PageWide Managed P77750z Multifunction Printer
  • HP Pagewide Pro 750dn, 750dw, 772dw Multifunction Printer
  • HP PageWide Managed P77740zs Multifunction Printer
  • HP PageWide Managed P77750zs Multifunction Printer
  • HP PageWide Managed P75050dn Printer
  • HP LaserJet Pro MFP M25a, MFP M25nw, MFP M26a, MFP M26nw, MFP M27c, MFP M27cnw

How to Install HPLIP 3.17.6 in Ubuntu:

The official .run installer is available for download at the link below:

After downloaded the .run installer, open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command:

cd ~/Downloads/ && chmod +x hplip-3.17.6.run && ./hplip-3.17.6.run

The commands navigate to your Downloads folder, give executable permission, and finally run the installer script in that terminal window.

Simply follow the terminal prompts, answer some questions, wait it automatically building HPLIP and setting up your devices, and enjoy.

Qmmp, Qt-based multimedia player, has reached the 1.1.9 (and 0.10.9) release with some performance improvements and bug fixes.

Qmmp 1.1.9 and 0.10.9 are different version series with same changes. Qmmp 0.10.x is released for Qt4, and Qmmp 1.1.x is for Qt5.

Changes in Qmmp 1.1.9 and 0.10.9:

  • using relative skin path for portable configuration;
  • improved WASAPI support;
  • fixed cursors support in the skinned user interface;
  • fixed freezing when using DirectSound output;
  • fixed documentation;
  • fixed issue with ‘jump to track’ dialog when single click activation is enabled;
  • fixed tray icon tooltip (1.1.9 only);
  • fixed FLAC bitrate calculation;
  • fixed segmentation fault in the ffmpeg plugin;
  • translation updates.

How to Install Qmmp 1.1.9 (0.10.9) in Ubuntu:

The Qmmp release PPA has built the packages for Ubuntu 12.04, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, and Ubuntu 17.04.

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

sudo add-apt-repository ppa:forkotov02/ppa

Type in password (no visual feedback) when it prompts and hit Enter.

2. Run commands to check updates and install the latest Qmmp packages:

sudo apt-get update

sudo apt-get install qmmp qmmp-plugin-pack

The commands will install Qt4 version of Qmmp 0.10.9 in Ubuntu 12.04 and Ubuntu 14.04, and install Qt5 version of Qmmp 1.1.9 in Ubuntu 16.04 and higher.

For Ubuntu 16.04 and higher users who want to install Qmmp Qt4, run following commands instead:

sudo apt-get update && sudo apt-get install qmmp-qt4 qmmp-plugin-pack-qt4

Uninstall:

To remove Qmmp multimedia player, simply run command in terminal:

sudo apt-get remove qmmp qmmp-qt4 qmmp-plugin-* && sudo apt-get autoremove

For the PPA repository, go to System Settings -> Software & Updates -> Other Software tab.

FreeType, a freely available software library to render fonts, has reached the 2.8 release. Here’s how to install it via PPA in Ubuntu.

FreeType 2.8 features complete support for CFF2 and OpenType Variation Fonts, a new function `FT_Face_Properties’, 25 more scripts added to the auto-hinter, and various fixes.

Changes between FreeType 2.7.1 to 2.8.0:

  • Support for OpenType Variation Fonts is now complete.
  • A new function `FT_Face_Properties’ allows the control of some module and library properties per font
  • Support for following more scripts added to the auto-hinter:
    • Adlam, Avestan, Bamum, Buhid, Carian, Chakma, Coptic, Cypriot, Deseret, Glagolitic, Gothic, Kayah, Lisu, N’Ko, Ol Chiki, Old Turkic, Osage, Osmanya, Saurashtra, Shavian, Sundanese, Tai Viet, Tifinagh, Unified Canadian Syllabics, Vai
  • `Light’ auto-hinting mode no longer uses TrueType metrics for TrueType fonts.
  • And see more here.

Install FreeType 2.8 via PPA in Ubuntu:

Stefan Glasenhardt’s PPA has built the 2.8 release for Ubuntu 16.04, Ubuntu 17.04, and their derivatives.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

sudo add-apt-repository ppa:glasen/freetype2

Type in your password (no visual feedback due to security reason), read the ppa description and hit Enter.

2. Then you can upgrade the FreeType library via Software Updater:

Or install it via commands in terminal:

sudo apt update && sudo apt install freetype2-demos

Uninstall:

To restore the FreeType library to the stock version in your Ubuntu main repository, purge the PPA via command:

sudo apt install ppa-purge && sudo ppa-purge ppa:glasen/freetype2

Or you can remove PPA, which does not affect installed FreeType2 library, via Software & Updates utility Other Software tab.

Harmattan is a set of conky themes that display a desktop widget on Ubuntu desktop with information of date and time, weather forecast, network speed, and system resource usage.

For those who want to try this conky theme, here’s a step by step how to setup guide:

1. First of all, open terminal (Ctrl+Alt+T) and install conky if you don’t have it via command:

sudo apt install conky-all

2. Download the conky theme via the link below:

3. Extract the tarball, go into result folder and move the .harmattan-assets folder (press Ctrl+H to view hidden folders) to user’s home directory.

Then open the result folder in terminal:

4. When the terminal opens, run the preview.sh script via command:

./preview.sh

You’ll see a desktop conky widget, now you can do:

  • press h or l to switch themes.
  • Press j or k to change formats.
  • Press n or m to switch modes.

After selected your favorite theme, press i in terminal to setup OpenWeatherMp API and your City ID.

5. Finally open terminal (Ctrl+Alt+T) and run command to edit the .conkyrc file:

gedit ~/.conkyrc

When the file opens, do:

  • Change window_type= to "override" to remove widget border.
  • Change the value of gap_x and gap_y to move widget location.

For the network connection issue, find your device name via command:

ifconfig

In my case it’s enp2s0, so in the .conkyrc file replace all enp0s1 with enp2s0 (use Search -> Find and Replace … menu).

Finally save the file and enjoy!

Brightness Controller is a simple open-source utility to control brightness, RGB, and color temperature of your displays in Linux.

It allows you to change the brightness to a better degree of control, ranging from 1% to 100%! It should be mentioned that it changes the present brightness value set via hardware control of your monitor. For example, if you set your Monitor’s brightness to 50% using hardware buttons, then that 50% will be the 100% value in Brightness controller.

Brightness Controller is developed with Python2 and Pyside. It supports an arbitrary number of displays!

Install Brightness Controller via PPA:

For all current Ubuntu releases, including Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and the next Ubuntu 17.10, the utility is available via the PPA repository.

1. Open terminal via Ctrl+Alt+T. Run command to add the PPA:

sudo add-apt-repository ppa:apandada1/brightness-controller

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

2. Then check updates and install the utility:

sudo apt-get update

sudo apt-get install brightness-controller

For those who don’t want to add PPA, grab the .deb package from HERE.

Uninstall:

To remove the utility, simply run command:

sudo apt-get remove brightness-controller && sudo apt-get autoremove

To remove the PPA, go to system settings -> Software & Updates -> Other Software tab.

Chatty, an open-source Twitch chat client based on Java, has now reached the 0.8.6 release with some new features and bug fixes.

Twitch chat client for everyone who wants to try something new and different from the webchat, but doesn’t want the complexity of an IRC client or miss out on the Twitch specific features.

Chatty 0.8.6 features:

  • Added new Notification system
  • Added support for new sub messages
  • Added button to sort some setting lists alphabetically
  • Changed Emote Context Menu entry “Twitch Profile” to “Twitch Stream”
  • Some other Settings Dialog and GUI improvements
  • Made Addressbook mod commands channel setting case-insensitive
  • Some debug output improvements
  • custom commands and some fixes.

How to Install Chatty in Ubuntu:

UPDATE 2023: The steps below NO longer works!! Try installing Chatty from Ubuntu Software or App Center in Ubuntu 22.04/23.10.

The GetDeb repository maintains the latest Chatty packages for Ubuntu 16.04, Ubuntu 17.04, and derivatives.

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

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -sc)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

2. Then install the key via command:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

3. Finally install the Chatty Twitch chat client via command:

sudo apt update && sudo apt install chatty

Uninstall:

To uninstall Chatty, simply run following command in terminal:

sudo apt remove chatty && sudo apt autoremove

The GetDeb repository can be removed/disabled by going to System Settings -> Software & Updates -> Other Software tab.

Enlightenment E21 got a new bugfix and stability release a few days ago. Here’s how to install it in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04 via PPA.

Enlightenment is a compositing and stacking window manager for the X Window System. Since version 20, it is also a Wayland compositor.

The latest Enlightenment 0.21.8 was release last week with a number of fixes, including some display fixes, avoid starting XWayland repeatedly, X11 and Wayland specific alterations, and other routine work.

How to Install Enlightment E21 via PPA in Ubuntu:

For all current Ubuntu releases and derivatives, Enlightenment 0.21.8 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