12/29/2017

Fix broken Ubuntu terminal, ctrl + c not working

Run:
stty sane

12/22/2017

Disable F10 function in Ubuntu Cinnamon GNOME terminal

Description of the problem:
When F10 is pressed, the File menu is opened. There are apps, such as emacs, htop, which depend on F10 key. The conflicting keys cause troubles when using those apps.

How to fix:
sudo apt install compizconfig-settings-manager
Open up CompizConfig Settings Manager.

    Hit Super to open the Dash, type "Compiz" and hit Enter.

Type "unity" in the Filter entry and select the Ubuntu Unity Plugin.

Click the button to the right of Key to open the first panel menu and uncheck the Enabled checkbox.

That disabled the global F10 shortcut, now disable gnome-terminal's F10 shortcut:

    In a gnome-terminal open up Keyboards Shortcuts (Edits | Preferences | General) and uncheck Enable the menu shortcut key (F10 by default)


12/18/2017

Install Consolas Font On Ubuntu

Download:



Install the fonts by clicking the font directly then click install

12/17/2017

No bluetooth settings on Ubuntu Cinnamon

Need to install:
sudo apt-get install blueberry

12/15/2017

How to build pidgin from source code and add google talk account

Download the source code from their website.
Run:

./configure --disable-vv --disable-idn --disable-avahi --disable-dbus --disable-perl --disable-tcl
make -j8
sudo make install


Add account:
Username: name without domain
Domain: gmail.com or others

password: if 2nd factor is on: you application password, if not, your real password.

Advanced Tab:
Connection security: Require encryption
Connect server: talk.google.com

After installation, remember to do the hotkeys:
https://liangzou.blogspot.com/2016/01/pidgin-shortcuts-hotkey.html

How to install sougou pinyin on Ubuntu 16.04

不要用,会造成fcitx 100% CPU usage issue

Download sougou pinyin from the official website. sogoupinyin_2.2.0.0102_amd64.deb

sudo dpkg -i sogoupinyin_2.2.0.0102_amd64.deb
sudo apt install -f
sudo dpkg -i sogoupinyin_2.2.0.0102_amd64.deb

Then:
Logout & log in back

Right click on the keyboard icon, configure.
On the Input Method Configuration windows, click the + button to add a new input method. UNCHECK "Show Only Current Language", add sougou pinyin.
Change Global Config language switch shortcut to Super + Space

12/12/2017

How to fix missing desktop icons under Cinnamon

sudo apt remove --purge nautilus
xdg-mime default nemo.desktop  inode/directory

Install emacs25 on Ubuntu 16.04

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt remove --purge emacs24
sudo apt remove --purge emacs24-lucid
sudo apt install emacs25