First of all, at the time of this writing, NVIDIA Hybrid SLI Technology is not supported on Linux and without proper configuration, you won’t even be able to load your Desktop Environment such as Xfce.
How to Enable MySQL Support in Qt SDK for Linux
Known to work with:
- Slackware v13.37
- Qt SDK v1.1.5 (32 bit)
- Qt v4.8.0
- MySQL v5.5.18
Reading Mifare 1K Card using Java in Linux
The Story
At the end of last year, my friends and I were tasked to read our staff card. The main objective was pretty simple which is to create a library where we don’t have to depend on the vendor every time we want to read our own staff card and the library should also work in Linux and Windows (that means Java to us).
Printing to PDF using CUPS
Install CUPS-PDF based on your distro, you can download if from here.
Go to http://localhost:631.
If the page requested a username and password, just enter your root as username and password for your root.
Go to Administration > Add Printer.
In the Add Printer page, put a name for your virtual PDF printe, any name will do. Then click Continue.
For the Device for a, you should select CUPS-PDF (Virtual PDF Driver). If it’s not there, then you haven’t executed Step 1 successfully.
Java Printing Fix for Linux
Apparently, there’s a bug in Java where people using newer version of CUPS cannot print (can’t even display the print dialog) due to a null pointer exception and this is actually a known bug. So, how do we fix this? For people who use Gnome, you can refer to this page.