JDownloader 2 BETA Japanese font
Previously I was reluctant to use JDownloader 2 BETA version. The main reason is that I will see boxes when the files contain Japanese characters. But this problem solved now.
As I am using Arch Linux, the JDownloader 2 is installed at /opt/JDownloader. We have to create two files:
- /opt/JDownloader/translations/org/jdownloader/gui/translate/GuiTranslation.en_custom.lng
- /opt/JDownloader/translations/org/appwork/swing/synthetica/LanguageFileSetup.en_custom.lng
The GuiTranslation.en_custom.lng is a copy of GuiTranslation.en.lng. So that the interface is still using English language. Then LanguageFileSetup.en_custom.lng is a copy of LanguageFileSetup.ja.lng. So that the font is using Japanese language font instead.
bash less resize terminal overflow problem solved
I always have a problem with terminal emulator when using bash but not zsh. The problem can be produced like this,
- Open any terminal emulator (gnome-terminal, xfce4-terminal, etc)
- Run any command with less, such as “ls |less”
- Resize the window to larger size, such as maximize
- Quit less
- Type anything in the terminal, then the text will not wrap to new line if the text length beyond the window size before resie. And it will overflow to the same line and overwrite the prompt.
This problem can be solved by adding “shopt -s checkwinsize” in .bashrc.
Use WiFi router as switch
My workplace uses WiFi everywhere. Yet, my office room has a very poor WiFi signal. I was not sure whether it is poor signal problem or the ISP problem or any other problem, my Internet connection is suffered from the instability. When I use the Internet, or sending email, it is slow like heck and the messenger always disconnected from time to time. This is really annoyance. No Internet is better than slow or unstable Internet, because I need not wasting time to try to check mail or try to search information. Really wasting time.
elinks "Host not found" crash in Arch Linux
I have come across with this problem for quite a long time. Whenever I elinks to a website, such as google.com or yahoo.com, it shows the message “Host not found”. I tried to google about the “elinks host not found”, “elinks resolve problem”, etc, none of them are relevant to my problem.
I thought it is the package error. But when I come across installation of the Arch Linux on a fresh computer, the elinks works fine.
Experience of flashing ROM to Samsung devices
Previously, I wrote my experience about installing CyanogenMod on the old Samsung phone. There are something worth to know before flashing, other than backup the precious data, download the ROM and tools, and take for any risk.
In my experience, it is best to get the stock ROM (that is the original ROM or firmware). This is to prevent some unexpected outcomes. With the stock ROM, at least we can recover to the (true) factory setting.
Arch Linux upgrade, downgrade, and rollback
One of the reasons, I recently consider to switch from Arch Linux to Debian which is famous in stability. However, I am very reluctant to do so, because of the greatness of simplicity in package management of Arch Linux, especially creating packages in AUR. Debian, though famous, there is much manual work in packaging such as preparing the “control” file (may be there are some other tools I not yet explored, because I used Ubuntu and Linux Mint before for only a short period). Besides that, Debian does not have the repository like AUR. Installing the packages such as TrueCrypt and XnViewMP in Debian is not as easy as Arch Linux. That is why I am hesitated to migrate.
IBus (input) 1.5 problems and solutions
I am using Arch Linux. Recently updated an old computer, the IBus from 1.4 to 1.5. As a result, there were two problems.
- Cannot input anymore in any window, except Opera(?)
- IBus Pinyin cannot change to “Full pinyin” mode, but only “Double pinyin” mode.
For the first problem, it doesn’t happen in my other computers. For the second problem, it happened in my other laptops.
To solve the first problem, I tried several ways. Deleting the “/.ibus”, “/.cache/ibus”, “~/.config/ibus”, and “.gconf/desktop/ibus”, none of them can reset IBus to the default setting (initial setting). I wanted to reset the configuration because I know that it should work well, because it does work well in my other computers. However, none of the directories is able to solve the problem, finally I chose to reset the GConf and dconf. (I personally think that dconf is the one storing the latest version’s setting).
Arch Linux and Canon PIXMA iP1600
I tried to escape from the Windows dependency problem. Wishing that all my devices can work without problem with Linux. But one of the greatest problems is that Canon PIXMA iP1600 does not have driver for Linux, except using iP2200 which is compatible.
Previously, I solved this problem with the virtualisation. This work perfectly to do my printing. However, it is still depending on Windows. Without Windows, the virtualisation is almost useless.
aMule high CPU usage solution
I use aMule. But even with the SVN version from Arch Linux, it produces the same problem as I was using Linux Mint, high CPU usage problem. It works well at the beginning, but will suddenly high CPU usage, causes my laptop battery drain very fast.
So, I try to find the solution. Then, I found one solution, not like using MLDonkey or other alternatives before.
Using the aMule daemon, amuled from command line.
Linux shutdown battery draining problem solved
My HP laptop always has a shutdown problem. This problem affected the hibernation. That is, after I shutdown in Linux, my laptop battery will keep draining, and the battery is still warm after shutting down.
To solve this problem untechnically, there are two ways. Never shutdown, but restart. Because I have dual boot, there is a grub menu when startup the computer. So, during the grub menu, press the power button, this will shutdown the computer without battery draining.