Trying on Arch Linux: Part 2
Previously, I mentioned that I am going to create a customized Arch Linux installation disk. I succeed to customize it, but I failed to customize to what I want. I can only customize the core-packages to the latest version, but not including the installation of extra packages, unless I customize the AIF (Arch Linux Installation Framework). But customize an Arch Linux installation disk is time exhaustive, I tried and tried and tried… Luckily I was using VirtualBox.
Trying on Arch Linux
These days, I tried to install Arch Linux on VirtualBox. Though the installation steps are quite exhaustive, but after I run GNOME, the feeling is so good!
| Features | Linux Mint | Ubuntu | Arch Linux | FreeBSD |
|---|---|---|---|---|
| Available packages with ISO image | A lot, with proprietary software | A lot, no proprietary software, need to download and install after OS installation | Minimalist, need to download and install after OS installation | A lot |
| Configuration needed after installation | Little | Little | A lot | A lot |
| Partition of installation | Can be installed in logical partition | Can be installed in logical partition | Can be installed in logical partitioin | Must be installed in primary partition |
| Init | /etc/init.d/ | /etc/init.d/ | /etc/rc.conf | /etc/rc.conf |
| DistroWatch ranking on 2011-03-22 | #2 | #1 | #7 | #15 |
| Rolling release | No | No | Yes | No |
I tried Arch Linux, because Lifehacker said,
The real installation of Linux for dual boot
Long time ago, I tried Linux LiveCD. Then I liked it. So, from then on, I tried to run Linux on VirtualBox. However, running Linux on VirtualBox requires a lot of memory, and it is not a real OS, the feeling is so bad. Until one day, I came to Wubi Installer, this is really great, computer with a dual boot without losing Windows. Wubi is for Ubuntu, and mint4win is for Linux Mint.
Sharing my OpenOffice Impress template
Looking at the OpenOffice Impress default templates, they are too dull for me. Then, I am looking for the better template, but cannot find a better one. The main problem is the background. So, I decide to create my own template. I am using the background from deviantART user, PL0. Thanks to his design. Then using the GIMP, to edit the image, then make it as the OpenOffice Impress template. Have a look.
Using Python as the most powerful calculator
Once I was looking for “expression calculator”. The expression calculator is different from normal calculator like calc.exe, which cannot use variable freely as algebra. But the expression calculator, we can predefine a variable with a value, then evaluate the variables in algebraic expression. It is very useful. My favourite expression calculator is SpeedCrunch.
Then, recently, I want to test a math function in SpeedCrunch, but this is impossible, since expression calculator can only define the variable, but not define a function. I remembered the title of Python Tutorial, “Using Python as a Calculator”. Yes, expression calculator, with ability to define function, then Python will be the one.
Add another Google Search plugin to Linux Mint Firefox
When I run Firefox of Linux Mint, using the default Google Search from the search bar, it shows an old fashion search result. We can add search engine plugin manually. When we visit Facebook, Youtube, etc, there is a highlight on the search bar icon, click it we can add our own search engine. However, when we visit Google Search, it does not highlight the icon. Then, how?
- Visit searchplugins.net.
- Enter " http://www.google.com/#q=TEST " (without quotes) for Search URL
- Enter “My Google” (without quotes), or whatever name you want, but not the name already existed in Firefox search engines
- Click “Create Plugin”
- Then, you will see that your search bar icon is highlighted.
- Add the search engine plugin to your Firefox.
With that, we can use the new fashioned Google Search engine in Linux Mint.
Comic Downloader alpha stage
I wrote several Greasemonkey userscripts. However, the Javascript has its own limitation for security reason, especially when a website uses scripts from cross domain. As a result, Javascript cannot get the information, and my userscript fails to work. Therefore, I start another project, in order to solve the cross domain problem using Python, and targeted on Linux (Ubuntu).
The current development stage is alpha, and targeted only on one website, since the other websites I frequently visit still work with Greasemonkey userscript. The alpha stage of Comic Downloader is currently work in command-line. GUI feature will be added in future with PyGTK. Currently, the command-line is able to solve my problem for offline comic reading.
Running Mono (C#) pre-compiled by Linux in Windows
Finally, I success to run Mono with GTK# pre-compiled by Linux in Windows.
Firstly, make sure Windows is installed with
With the above installation, one can run the Mono application normally. I failed previously because I didn’t install GTK# for .NET.
However, when I run the application, there is a console window, which is annoyance. Thus, build the Mono application with
C, C++, Java, Python, Mono (C#)
Cross-platform programming language, is still a little bit far away from me. Recently, I ported Prayer Clock to other programming languages. One of the reasons is to learn more programming languages, another reason is trying to solve the cross-platform problem.
C and C++, my most preferred language(s), with the help of GTK+, can perform well in Windows and Linux. But I didn’t tried on Mac OS X. This is because it needs to be compiled on the OS, rather then cross-compilation. That is why, I ported it to Java before. Though Java claims be WORA (write once run anywhere), yet running in different OS might produce “some” problems, such as minimize to system tray in Linux. And, running on Mac OS X also does not minimize to the system tray as expected.
Blog about Linux Mint
There is quite a long time that I do not submit any post. Today, I would like to talk about my experience of using Linux Mint.
Ubuntu, the number 1 open source OS (based on what I know from DistroWatch.com), I used it and I liked it. Because it has about 37000 precompiled packages (Wikipedia). Ubuntu is based on Debian, one of the major distribution just like Red Hat. Then, number 2 is Linux Mint. Linux Mint is based on Ubuntu. That means, from Debian to Ubuntu, from Ubuntu to Linux Mint. One might think that, the parent is better than the child, just like C is better than C++. But if you try to use C++, then you might like it as you like C.