Collection of Continuing Updating Notes On Linux

---
date: Aug 20, 2019
tags:
- Linux
- Ubuntu
- SSH
- Antergos
language: English
---

What?

Well, I always forget about small tricks on get something done on linux and sometimes even when I keep it locally, I forget about where the heck they are and search them again. But these small tips are just so tiny that they cannot be kept as articles. So now I will keep everything here so I won’t forget about them.

Give sudo password a star

You first visudo, then append ,pwfeedback on the line Defaults env_reset, and then it’s done.

Disable Error Reporting in Ubuntu

1
2
sudo service apport stop
sudo gedit /etc/default/apport

change enabled=1 to enabled=0

Fix Time Differences in Ubuntu & Windows

In previous Ubuntu editions, you can edit the config file /etc/default/rcS to disable UTC.

In Ubuntu 16.04, open terminal (Ctrl+Alt+T) and run the command below instead:

timedatectl set-local-rtc 1 --adjust-system-clock

To check out if your system uses Local time, just run:

timedatectl

you’ll the local time zone is in use in the Warning section.

SSH folder permission

How to display Asian character poroperly in Antergos

I tried multiple ways of installing Chinese font like ttf-arphic-uming, adobe-source-han-sans-otc-fonts and noto-fonts-cjk. This packages solved the problem in system, but not in browsers like Chrome and Firefox.

Reference: this post

  1. Remove ttf-google-fonts(Google Web Font)
  2. Install one of them: ttf-arphic-uming, adobe-source-han-sans-otc-fonts, noto-fonts-cjk
  3. rebuild the font cache using sudo fc-cache -f -v to regenerate font cache.

To keep it safe, Here is a Ubuntu font config:

Font Location Font Name
Window Titles Cantarell Bold
Interface Ubuntu
Documents Sans
Monospace Ubuntu Mono

Manually Install Linux kernel in Ubuntu

Download Latest Kernel Here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/

x86

Download headers-all, headers-i386, image-i386 and install all the deb.

x64

Download headers-all, headers-amd64, image-amd64 and install all the deb.

Navigation


Creative Commons License

Unless specified, all the articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


It uses a self-hosted Open Web Analytics to get insights. Click here to optout.

The site is powered by Hexo. The source code of this website is here, so that you can see the spaghetti code behind my blog.


Main | Blog | Comic | Podcasts (Preparing) | RSS | Sitemap
2008 - 2022 | Patrick WU Jinming