Switch Input method global in Ubuntu

When using Ubuntu, switching between input method so uncomfortable. I use English as default and Unikey (fcitx-unikey) for Vietnamese. You can switch between input method by the hotkey (as my setting is Ctrl + Space), the problem is this hotkey is not working if you are not in the input area. Example in Google Chrome, you need type some Vietnamese text, to archive that, you need click in some input field of web-form or address bar of Chrome, press the hotkey, then you need to look at the icon area to make sure it the right input method you want, the same procedure when you want to switch back to English! A lot of work.

Note: I need switch back to English when not typing Vietnamese because in Vietnamese, the input text does not commit immediately, you need to click somewhere, or press spacebar, or enter, or tab… to commit text. The image below is an example, I want to go to google.com but just type “go” in the address bar of Chrome is not enough when using Vietnamese input, Chrome will search word “go”. (I need type “go” –> press tab to select “Google.com” –> press Enter).

Continue reading “Switch Input method global in Ubuntu”

Workaround to avoid message “Chrome didn’t shut down correctly” on Ubuntu / Linux

When shutdown or reboot computer on Linux system (Ubuntu, Ubuntu Gnome etc…) I ussuallty got message “Chrome didn’t shut down correctly” everytime open Google Chrome (v 60.0.3112.101) if before shutdown I did’n close it.

Here a solution to avoid this situation:

Continue reading “Workaround to avoid message “Chrome didn’t shut down correctly” on Ubuntu / Linux”

Google Chrome on Ubuntu – Fix some GPU problem

Running Google Chrome on Ubuntu may have some problem with GPU-acceleration, especially when you are using a NVIDIA GPU.

Some problems I have so far:

  • CheckerImaging: Disabled
  • Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
  • Rasterization: Software only. Hardware acceleration disabled

How to know gpu status? type chrome://gpu on address bar

This is not major problem, but when watching Video or using full-screen application you may see screen tearing or slow render pages.

Continue reading “Google Chrome on Ubuntu – Fix some GPU problem”

Fix XMind slow / lag on Ubuntu 16.04

XMind is the most professional and popular mind mapping tool. Millions of people use XMind to clarify thinking, manage complex information, run brainstorming …

On Ubuntu 16.04 is have a bug that make the application lag and slow (read here)

This article show you how to fix it:

We will create a dash shortcut to startup application with modify environment. Continue reading “Fix XMind slow / lag on Ubuntu 16.04”

The Perfect Server – Ubuntu 16.04 (Xenial Xerus) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3.1

Source: https://www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/

This tutorial shows the installation of an Ubuntu 16.04 (Xenial Xerus) web hosting server with Apache2, Postfix, Dovecot, Bind and PureFTPD to prepare it for the installation of ISPConfig 3.1. The resulting system will provide a Web, Mail, Mailinglist, DNS and FTP Server.

ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers the installation of Apache (instead of Nginx), BIND (instead of MyDNS), and Dovecot (instead of Courier).

Notice: The ISPConfig 3.1 version that is used in this tutorial is currently in beta state. The ISPConfig old stable 3.0.5p9 version can not be used on Ubuntu 16.04 as it is not compatible with PHP 7. Continue reading “The Perfect Server – Ubuntu 16.04 (Xenial Xerus) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3.1”

Install Owncloud Client on Ubuntu (recommended way)

What is the difference between apt-get update and upgrade?

You should first run update, then upgrade. Neither of them automatically runs the other.

  • apt-get update updates the list of available packages and their versions, but it does not install or upgrade any packages.
  • apt-get upgrade actually installs newer versions of the packages you have. After updating the lists, the package manager knows about available updates for the software you have installed. This is why you first want to update.

Source: http://askubuntu.com/questions/94102/what-is-the-difference-between-apt-get-update-and-upgrade

25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management

This article explains how quickly you can learn to install, remove, update and search software packages using apt-get and apt-cache commands from the command line. This article provides some useful commands that will help you to handle package management in Debian/Ubuntubased systems.

APT-GET and APT-CACHE Commands

Continue reading “25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management”

How to understand the Ubuntu file system layout?

You can read up on this on for instance wikipedia. An excerpt:

The Filesystem Hierarchy Standard (FHS) defines the main directories and their contents in Linux operating systems. For the most part, it is a formalization and extension of the traditional BSD filesystem hierarchy.

The FHS is maintained by the Linux Foundation, a non-profit organization consisting of major software and hardware vendors, such as HP, Red Hat, IBM and Dell. The current version is 3.0, released on June 3, 2015.

Continue reading “How to understand the Ubuntu file system layout?”