-
More Manjaro config: Chinese input and clock setting
I’m enjoying running Manjaro Arch Linux on my workstation so far. Some additional notes below. 1. I had trouble getting Fcitx Chinese input working, so I used IBus instead. Here is what I installed using Manjaro’s package GUI tool: IBus Preferences and ibus-pinyin; 2. IBus Pinyin works fine on this system except for Emacs. Using…
-
Manjaro Linux usage notes
I’ve been using Linux Mint Cinnamon for many years. For the most part, I love it. It’s based on Ubuntu, very similar to Debian, therefore there are plenty of resources available online. But its GUI bothers me a bit occasionally. Let me give a few examples here: The Eclipse IDE’s tooltip sometimes shows up in…
-
Java regex Matcher’s first group is the whole pattern
I didn’t realize that Java’s regex class, Matcher, uses m.group(0) to denote the entire pattern. I spent some time debugging it. Hence this note. As is stated in the documentation, “Capturing groups are indexed from left to right, starting at one. Group zero denotes the entire pattern, so the expression m.group(0) is equivalent to m.group().”…
