Brightness Key on Linux

Adjust brightness on Xubuntu 18.04

Problem

One can use xrandr to adjust screen brightness. However, the factor (default to 1.0) is relative to the current brightness. How to enable the brightness adjust keys / on the keyboard under Xubuntu 18.04?

Solution

Toz’s post on Ubuntu Forum works like a charm. The default value for GRUB_CMDLINE_LINUX is an empty string. Changing it to acpi_backlight=vendor and updating the GRUB has solved the problem since the next boot.

[Read More]

Stow Your Dotfiles

SSH config files managed by Git and GNU Stow

I correctly set up the system configuration file manager GNU Stow and the version control system (VCS) Git on my Fujitsu Lifebook so that the former can automatically install system configuration files like modules, whereas the later can track the code in those files.

What I mean for correctly is that in the ssh folder of the remote dotfiles repo, there is neither SSH key files nor entries representing SSH keys in the gitignore file. You may view Jan Uhlik’s dotfiles on GitLab as an example.

[Read More]

Upgraded to Linux Mint 19

Thanks to mintupgrade

Rationale

My Linux Mint 18.3 installed on Clevo N240GU was a long-term support (LTS) version. Although the official page didn’t recommend an upgrade for its own sake, I still performed it as a result of my conversation with a technician in a computer store. He thought that the display problem in the current version would be fixed in this upgraded version.

Linux Mint 18.3

The old version of Linux Mint couldn’t detect the onboard Intel graphics card. Therefore, sensors reported a higher CPU temperature and the display resolution couldn’t be correctly configured.

[Read More]

Fujitsu LH532 Fan Cleaning

Let's reduce e-waste!

Problem

Two months ago, the Win* 10 installed on my old laptop crashed with blue screen on startup. Two weeks ago, I created a Xubuntu 18.04 LTS 64-bit Live USB and set up the dualboot. However, the fan was still giving out consideralbe noise and heat under Xubuntu 18.04 (installed in /dev/sda7).

Many end users’ reaction

They’ll simply buy a new PC. This had given rise to industrial parks in Guiyu (貴嶼), one of the world’s largest e-waste village. I’m so shocked to see that Hong Kong appears on the top of the linked article.

[Read More]

Configure UFW for Hugo

Simple Linux firewall settings for home computers

Easy Linux tips project recommends users to enable their firewall. However, this blocks all incoming traffic by default. If one wants to test the site on mobile devices, one will need to add a few rules to UFW.

$ sudo ufw allow ssh
$ sudo ufw allow http
$ sudo ufw allow https
$ sudo ufw allow 80/tcp
$ sudo ufw allow 1313/tcp comment "hugo server"

I learnt the last line from 竹内電設.

[Read More]
Hugo  Linux  UFW 

Xubuntu Dualboot on Fujitsu LH532

Convert Ubuntu to Legacy Mode with Boot-Repair

You may skip to the acutal setup.

Background

After using Win 7 & 10 for six years on my Fujitsu LH532 , Windows 10 often falls into blue screen. Sometimes, it won’t even start up.

Give Xubuntu a try

Hoping to give a second life to my old , I’ve decided to try this popular lightweight distro.

Initial partition setup

I followed the instructions from Danatela’s question, including the optional setup of separate /var and /tmp partition.

[Read More]