Lorenz Cuno Klopfenstein

Posts tagged "Linux"

When trying to build graphical interfaces on Linux with Mono, you have lots of choice. If you want maximum portability you can use Windows Forms (which don't look so great on Mono) or Gtk# (way better for multi-platform stuff). Both have a pretty standard look, even if WinForms look native only on Windows and Gtk does so on Gnome, and both work very well for standard desktop apps.

However, when doing more advanced graphics or targeting embedded systems, both fall short: WinForms runs OK on Windows CE (even if it is very limited), while Gtk looks pretty boring and may not be the ideal choice on resource constrained systems. The next multiplatform GUI choices that come to mind are Nokia's Qt or Intel's Clutter. Clutter is still a young project, but both frameworks unfortunately lack some good .NET bindings in essence.

In my case I'm starting to use Qt, through the Qyoto bindings. The latest Ubuntu distro already includes the package, which makes getting started pretty easy — at last if it weren't for the lack of documentation.

Qyoto provides a quite complete mapping of the Qt interface, but unfortunately mantains a lot of the original C++ “smell”: many enumerations are given as simple integers, events (the signal/slot system in Qt) don't rely on .NET events but require you to bind methods to signals by their untyped name. Less of a problem, but still not very pretty: in many points Qyoto doesn't respect the common .NET naming conventions and some Qt methods should really be mapped to properties.

Anyway, these minor criticisms notwithstanding, Qyoto provides a simple and complete way to use Qt's power from C#. Let's take a look to a simple example application.

More...

Posted on Wednesday, July 07, 2010
85 Views
0 comments posted

In these days I have been working on a multicast streaming server that will run on a Linux box and needs some kind of web frontend. Being a seasoned ASP.NET MVC supporter I naturally picked Mono to run an ASP.NET website on Apache. A combination that — unbelievable, I know — works remarkably well!

Mono on Apache

More...

Posted on Thursday, March 25, 2010
328 Views
4 comments posted

Ubuntu 9.10 on Virtual PC 2007

If for some reason you are stuck trying to run the latest Ubuntu (9.10 right now) on top of Microsoft Virtual PC 2007 SP1, you'll probably notice that while Virtual PC is a great virtualization solution for Windows and DOS, Linux isn't quite supported.

While earlier Ubuntu version had some issues just getting installed, you can just mount the 9.10 ISO file to the virtual disk drive and install the OS through the default installation process. As soon as the process completes, Ubuntu should be able to boot up (sometimes the reboot appears to hang — in that case just hard reset the virtual machine and Ubuntu will boot up).

Some features require some fiddling in order to work and — if like me your linux sysadmin skillz are pretty weak — the following instructions could turn useful.  ;)

More...

Posted on Sunday, March 07, 2010
Tagged as
907 Views
7 comments posted
Back to Klopfenstein.net
Clemens Klopfenstein Serena Kiefer Lukas Tiberio Klopfenstein Lorenz Cuno Klopfenstein
English German