Sunday, September 28. 2008
Most people are aware the Google's Chrome Browser is based on the great work of the Chromium Browser Project.
CodeWeavers have even created a free 'port' of Google Chrome for Linux users, aptly named CrossOver Chromium. This means Linux people don't need to feel left out of all the Google lovin'.
There have been a few people concerned with privacy issues (also here and here) when using the Google Chrome browser. Even the EFF has raised concerns. Google has reacted and posted some information regarding privacy in Chrome.
There has been some applications produced that remove one of the largest concerns people have (a unique ID assigned to every installation of Chrome). In particular Chrome Privacy Guard will strip this unique ID out for you. Turning off some of the features (like Google Suggest) via the Browser preferences will also limit the amount of information sent back to the mothership (Google).
Buoyed by all these privacy concerns, SRWare a German software company have released 'Iron', a browser also based on Chromium source but without all the 'Googleness' privacy issues.
If you like Chrome, but are concerned about the privacy aspect, Iron might be your solution.
For those on Linux and really just wanting to use a WebKit based browser, take a peek at Midori.
Saturday, September 27. 2008
I was appalled after reading the rather rash statements made by Jim Zemlin the Executive director of the Linux Foundation.
His rather bizarre statements against Sun (who is also a silver member of the Foundation) must have left many execs in Santa Clara scratching their heads and wanting some answers.
What's worse is the story originally ran in InfoWorld, then was picked up by the New York Times. Other notable online sites also ran with it, including Slashdot and LWN to mention just two.
Lets look at some of the statements the Exec Director of the Foundation made:
- "The future is Linux and Microsoft Windows, it is not Unix or Solaris."
- Solaris has almost no new deployments and is a legacy operating environment offered by a company with financial difficulties. Original equipment manufacturers also do not see a bright future for Solaris. This was paraphrased and not a direct quote.
- Sun, he declared, should just move over to Linux.
- "It's certainly true that Unix is on the decline." - Discussing IBM AIX and HP-UX
- "The only people I hear talk about DTrace [Solaris's technology for assessing program and OS behaviours] and ZFS [the Zettabyte File System] as competitive features [are] Sun Microsystems sales representatives. It's not something I believe is impacting the market in any way."
- "...With capabilities such as ZFS and DTrace, Sun is trying to compete based on minor features", Zemlin says. "That's literally like noticing the view from a third-story building as it burns to the ground."
- Zemlin, on Sun's open-source Solaris as "too little, too late." He also goes on to claim that there is no real open source community around OpenSolaris, arguing that Sun still controls development
- Open Solaris is no more than an attempt to expand the Solaris user base to drive customers to commercial Sun technology.
Seriously where does the guy get off?
Looking at his profile on the Linux Foundation it doesn't instil a level of confidence.
A former Exec at Free Standards Group (who with the OSDL merged to become the Linux Foundation). He was also VP of Marketing of Colavent Technologies (basically a crowd that sold commercial Apache support amongst other things). In 2000 he was a board member of Corio an ASP, that had an IPO then was sold off in chunks. IBM retains the http://www.corio.com/ URL.
So, from my reading he's got quite a bit of marketing/exec background for web-based application servers.... beyond that, I don't see any real technical prowless. He's a marketing suit that appears to shoot from the hip.
Let's review some of his "quick-draws":
- The future is Linux and Windows?
WTF?! Did you take crack before taking the interview?
Sure as the exec. director of The Linux Foundation we expect you to come out and say "Linux is the future" - but to throw Microsoft in the mix -- you have to be kidding me.
Look at general stall that Microsoft has had with Vista. They have forced OEMs to install it, and even some of the larger ones now have kicked back and offer corporations and high-end consumer devices the option of Windows XP instead.
- No major deployments of Solaris... and disliked by the OEMS.
That must be news to both IBM and Dell, who offer OpenSolaris on their x86 series servers.
As for a company in 'financial trouble' this is an extract of the letter to shareholders attached to their latest Annual Report /10-K filing to the SEC (Read it online here).
I've included a screenshot the opening paragraph of the letter:

That doesn't sound like a company in 'financial trouble' to me. 
You can see this on their Consolidated Statements Of Operations
- The decline of Unix (Solaris, HP-UX, AIX).
It's interesting to note that all of these make hardware as well as an operating system. These systems normally scale much larger than that of a traditional Linux server (excluding clusters). Take a look at Sun's M9000, IBM's p5 595 and HP's HP-9000 Superdome Server. These computers can replace dozens of Intel based servers and thus are not something companies run out and buy dozens of. (well normally!) Interestingly... both HP and IBM are also Platinum Members of the Linux Foundation. With a Platinum membership of $500,000USD each. How's that for biting the hand that feeds you (literally in Zemlin's case).
The I/O throughput and disk-subsystems available for these machines normally far outstrip that of anything under Intel/Linux range.
- ZFS, Sun Zones/Containers and DTrace.
Seriously you jest Mr Zemlin?
Linux virtualization is still a mish-mash under heavy development. (take Xen, KVM, LVS and even Sun's VirtualBox)... I wouldn't class as enterprise ready. Hell, even VMWare that started in Linux roots, has moved over onto their own kernel. Zones and Containers under Solaris are much neater and better suited to an enterprise environment.
As for ZFS -- Linux has no mainstream file-system that competes. The size of volumes and the ease of use leaves ext3 behind. Even the upcoming ext4 has no real claims over ZFS. For large scale filesystems, ZFS has it over native Linux filesystems.
DTrace - ask any administrator of 100's of Linux servers if they think DTrace is a minor thing? Sure Systemtap is nice, but the comparison of Systemtap to DTrace still shows some deficiencies. Being able to trace safely on production systems is a requirement for something that can be used in the real world. Add to it the ability to trace user-space programs and DTrace does indeed have some features many SysAdmins discuss and would love to see under Linux.
- Sun's open source Solaris 'too little-too late'. No community, still controlled by Sun.
Wow... I wonder if he would make the same statement if Microsoft released their OS as open-source? Open-Solaris is a community site, though Sun still controls it. There is nothing wrong with that. It's their baby, and they can do with it what they like.
Sun is still a large OSS backer.... remember products like MySQL, Innotek/VirtualBox, and hey, they even OpenSourced Java.
Sun have shareholders to consider, and they need to make a return on their investments / R&D. I don't really have anything bad to say about the CDDL. It makes sense for them... and hey something is better than nothing. What I find hilarious is that many Linux advocates will bag the CDDL, but love Mozilla. Wake up people... the CDDL is based on the MPL! The CDDL is also recognised as a license under the OSI.
- Open Solaris attempts to drive customers to commercial Sun technology
Actually most of the people I've come across it are already using the commercial Solaris or wish to learn Solaris. OpenSolaris is a nice way they can install it at home and come familiar with the environment outside of work at their own pace. It makes sense that they can utilise the same operating system in their work-place and in the comforts of their own home.
For me, I'm a fan of Linux. I love the breadth of software available to me, the rich and colourful community around it. I have grown up watching Linux (I first compiled up an 0.54 kernel on a lowly 286). My servers and desktops/laptops all run Linux.
Having said that, I learnt *NIX on SunOS and later Solaris. It has it's place, even in today's world.
I agree, the low-end UNIX servers are often replaced by Linux servers, yet there is nothing really in the Linux space that competes with the high-end UNIX environments.
A lot of what we see in Linux has it's roots in commercial UNIX. (Hell, who has networked file systems in their environment that doesn't use Sun's NFS?)
So take some advice from a Linux admin at the coal face. Linux co-exists well in a heterogeneous environment, sharing the space with commercial UNIXes and even those annoying Windows servers.
If you need to beat up a 'Server OS' next time Zemlin, try attacking Microsoft (Hint: they are not a member of the Linux Foundation).
Linux servers have probably dented more Windows server sales then that of commercial UNIX. Samba has played a large role in that.
Exchange is probably the last bastion of Microsoft dominance. With the amount of Exchange 'replacements' now on the go that run under Linux (ie: PostPath, Zafara, OpenGroupWare, Scalix and Open-Xchange to name just a small fraction of those available. ) It's likely more inroads into the proprietary walls of Microsoft are now showing cracks in many corporations. Many IT managers are struggling to justify the outrageous price they get slugged for Microsoft Exchange, and these cheaper and feature-rich alternatives are often fractions of the cost if not free.
So next time you attempt to speak for the 'Linux Community' Jim Zemlin, try actually speaking to some Linux administrators that live in the Fortune 500 world. We aren't all hippies yelling 'free OS love'.  In fact we happily co-exist with commercial *NIX and sometimes even Windows servers (much to our disgust).
Leave your "Us vs Them" mentality at your door, it's not a view held by a large proportion of the Linux community. Indeed many Linux administrators actually also administer other commercial *NIX machines in their day-to-day jobs. There are more similarities between the commercial *NIX flavours and Linux than not.
We do realise it's part of the Foundation's role to 'promote Linux', but keep the mud-slinging and crap out of it. Let Linux stand on it's own technical merits and not at the detriment of dragging another 'cousin' down in the process. We see enough of this style of 'marketing' from Microsoft that we don't need to stoop to the same levels.
Disclaimer:
• I work commercially as a Linux System Administrator at a Fortune-500 company.
• I have however administered a large range of *NIX based operating systems over the years... including Solaris, HP-UX, AIX, Tru64, and IRIX just to mention a few of the more 'known' variants.
• My home desktop and all my servers run Linux. Many that know me think I'm a one-eyed Linux zealot!
• I have no affiliations with Sun Microsystems at all.
• The views and opinions expressed by some members of The Linux Foundation are not mine.
Thursday, September 25. 2008
Most people don't read User Manuals. It's a shame as they miss out on lots of great tid-bits.
One such nugget can be found on Page 66 of the VirtualBox User Manual:
Like a real SATA controller, VirtualBox’s virtual SATA controller operates faster and also consumes less CPU resources than the virtual IDE controller. Interesting...
I thought I would give this a go.
I had an existing 32-bit Windows XP installation that used the traditional IDE interface, and found it used about 25% of my CPU when running (using an Intel Core 2 Duo E6600) when running under a 64-bit Linux installation.
Whilst it ran fine, dropping the CPU utilisation and speeding it up sounded like a great idea.
Once done, I compared the results... it was indeed 'zippier', and low and behold, the CPU utilization had dropped to around 5%! Now that's a big improvement!
 | So how did I go about it?
- Start the Virtual Machine as per usual.
- Download and install the Intel Matrix Storage Manager (used to see the SATA interface).
- Install the software.
- Shutdown the Virtual Machine
- Now create a temp virtual disk, and install this on SATA-1 on the virtual machine.
- Boot back up and ensure you can see the disk (it won't be formatted, so you will probably need to look in the Disk Management utility found in the Administration Tools -> Computer Management -> Disk Management)
- Hopefully you can see the newly added disk.
- Shutdown the virtual machine.
- Change your IDE disk to now be on SATA Port 0
- Remove the temp disk you previously added.
- Boot back up and you should now be on a SATA HDD, that now is more snappier and uses a lot less CPU.
You can also use the floppy disk drivers to install it directly using the 'F6' key during installation. |
NB: For those using Vista - you'll find it supports SATA out of the box. (No need to install an additional driver)
So enjoy faster and less resource hungry virtual machines.
NB: Whilst this covers SATA under Windows based Virtual machines, it also applies to running Linux based Virtual Machines.
Wednesday, September 24. 2008
I've seen many people that run Windows under VirtualBox to run those legacy applications that just haven't made it across to Linux.
Too often I see people messing about with Ethernet bridging because they feel the need to have some incoming ports on the machine active to the outside world.
Fair enough, however it's a complex way to accomplish that. You're much better using the simple NAT interface, particularly if it's only a few incoming ports.
NAT under VirtualBox does indeed allow incoming ports. Knowing how to set these up is the key!
By definition, a NAT internal IP uses an IP address in the private address space defined by RFC1918. Namely one from these networks: 10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
Most people are familiar with 192.168.0.0/24 or 192.168.1.0/24 which many ADSL routers provide. Many know that you can setup port forwarding in their router to allow external IPs access to a particular port/service on their internal machine. Virtual Box is no different.
Like a network router that can be configured so that accessing a particular port on the router it can be sent directly to the machine(s) behind it. How is this accomplished under VirtualBox? You just configure a port on the host machine to be forwarded to the IP and port on the virtual machine.
VirtualBox ships with a nifty little GUI. It's simple but effective. Unfortunately much of the power to configuring your virtual machines is not found in this tool.
VirtualBox also packs some handy cli tools for managing your virtual machines.
One such tool is the VBoxManage utility. Infact this is the tool we'll be using to enable some port forwards.
Let's enable the Remote Desktop Protocol in our Virtual Machine. This Virtual Machine is called MyVM for ease of use: VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/vmrdp/Protocol" TCP
VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/vmrdp/GuestPort" 3389
VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/vmrdp/HostPort" 3389 As you can see we passed several arguments to VBoxManage. You'll find by just running VBoxManage without any arguments that it will list all it's available options (there is quite a few!).
In this example the arguments are:
- setextradata: Inform VBoxManage that we wish to do additional configuration of our Virtual Machine.
- "MyVM": The name of our virtual machine.
- "VBoxInternal....": The key we wish to change. In this example, it's a new port forwarding rule on our specific ethernet card. (You'll find more information in the UserManual for Virtual Box for a list of available ones)
- Final value: The actual value we wish to set for the key.
So what did the 3 lines accomplish?
- We informed VBoxManage that we wanted to configure a TCP rule (named vmrdp) for our first ethernet card (pcnet)
- We set the TCP port we want to send the forwarded packets to within the virtual machine. (GuestPort 3389)
- We then defined the port we wanted to listen to on the VirtualBox Host (HostPort 3389)
Now basically from anywhere on you can hit your Virtual Box Host on TCP/3389 (eg: Your Linux desktop), and it will forward the packets through to your virtual machine. Neat 'eh? If you are on your Linux box and running VirtualBox in say headless mode.. you can get a remote desktop session by just connecting to localhost:3389.
Some things to also remember: - If you need TCP and UDP rules... you need to define them seperately.
- You need to set a 'working' port forward with the triple configuration above (it takes 3 commands to get a working port forward.
- No two rules can have the same name. This also counts for a service that runs on both UDP/TCP on the same port. In that instance name it something like myserviceudp and myservicetcp to distinguish them.
- Port forwarding is set across reboots. You don't need to do this multiple times.
- VBoxManage basically edits the xml configuration file for your Virtual Machine. If you don't want the port forwards any more... just edit the xml file directly is the fastest and easiest way (likewise once you get the hang of it and the format, there is nothing stoppign you editing the xml definition file directly).
Other things you should know about NAT networking include: - By default the NAT network is 10.0.2.0/24.
- The actual network can be changed using VBoxManage modifyvm "MyVM" -natnet1 "10.10.1.0/24" (Change the last value to your desired network/netmask.)
- The IP assigned by the VBox DHCP server will be .15, with a gateway of .2.
That's a brief introduction to some of the features you can accomplish with VBoxManage. Explore a little and you'll be amazed how much you can customise.
Have fun!
Wednesday, September 17. 2008
It was time to upgrade my phone. Not that my old phone didn't work, in fact I actually loved my Sony Ericsson K750i, however the battery wasn't holding the charge and in this disposable world we live in it seemed crazy buying a new battery. It was purely a case of the plan I was on allowed for a new phone. So what the heck, it had served me well... but it was time to look at this 3G stuff. Sure, video calls didn't really impress me (and seemed more a gimmick then functional -- it's a call after all!)
I wanted a better camera on my phone. 2MP cut it a few years ago, but it just wasn't cutting it now. I really wanted a decent 5MP camera in my phone. It saves me lugging around another electronic device.
I own an iPod mini but find I am always forgetting it.. so a reasonable music player is also handy.
A decent browser and Email client is always handy.
We looked through all the available phones, and I was keen not to get an iPhone.
I finally settled on a Nokia N95 8GB. I was a little disappointed that the phone had no expandable memory, but hey, at 8GB I'm not filling that any time soon! (I really don't store that many songs in my phone!)
Man, how phones have progressed. To be honest, the complexity of the beast actually had me freak out a little. The K750i was pretty easy to work out, but this thing had buttons sprouting out all over the place. I guess what didn't help was that it was also my first 'slide phone'.
The first month I did the usual things, making calls, SMS and taking the odd photo or two on it.. I hadn't used a Symbian based phone for quite a while, so it took a bit of time getting used to. Over the last month I've experimented a bit more and found out it's not too bad at all.  Even better is that Symbian will be released under OpenSource. Nokia also has an OpenSource website, as well as there is a bunch of OSS software you can install on your Symbian based phone.
I didn't have a GPS - and one thing I had also been toying with for a while. It is handy for long trips or somewhere you've never visited before, but I really couldn't justify it... it seemed more 'toy' then functional. Those people I had seen with a GPS seemed more frustrated then helped. Granted, these were early models but I'd seen too many people being send down non-existent roads or dead ends -- or told to do U-turns on freeways!
The Nokia N95 8GB comes with Nokia Maps. To be honest, I'd never used a GPS before so it was all greek to me. After playing around with it for a while I learnt that it wasn't too bad. Nokia kindly gave us 6-months free Navigation (basically the voice saying turn right/turn left, etc). It actually works quite well. The GPS in the Nokia N95 8GB is actually quite fast... I was surprised how quick it was able to re-route me once it realised I had missed it's 'chosen route'. I've seen dedicated GPS devises screw that up big time.
The one sticking point for me... is the cost of navigation after 6 months. Nokia want you to pay $124AUD/yr for the feature. They can shove that. I spend enough on the damn phone. Seriously, if you can give me the maps free.. .I can't see why I have to pay for the damn voice.
As a result I'm now looking around at other options (I'll continue using their Maps until I'm required to pay).
I've come across two reasonable candidates: Nav4All and amAze. I'll be testing them both out shortly to see how they stack up in Australia... and in rural parts of Victoria at that!
Ideally I would love to be able to use some thing like OpenStreetMap...which just makes sense and gives me the feeling of sharing and caring.
I'm interested in hearing from anyone that has used some of the free GPS phone software and how is rates.
Overall, I'm happy with my purchase. The built in SIP client and 802.11 b/g support is fantastic. The included web-browser is reasonable, though there are better ones around. (which have found their way to my phone). I see there is even an SSH client -- so that may also make it's way, handy when you need to do a quick 'fix' on a server and not near a computer.
Ideally I was hanging around for an OpenMoko phone, but the lack of 3G really soured that expectation. I needed a phone now and not somewhere in the distant future. Having said that.... I'll see what the future holds, I may just pickup one once the features I'm seeing in this phone make their way into the OpenMoko phone.
Wednesday, July 9. 2008
Ask any small business owner in Australia what drives them craziest running their business.
More often then not the answer will be their accounting software.
Why? It's not because they are unable to understand the principles of double-entry accounting or even the tax system imposed on them.
No, its the lack of a decent, flexible and affordable solution.
The two most popular business accounting packages for the SME is either MYOB and QuickBooks. Both have huge hurdles, and it's not uncommon for users to find that they spend more time attempting to work the software than the software working for them.
I have previously blogged about the issue when talking about how Linux is difficult for many Aussie SMEs to take up. (Mainly due to their critical accounting software only available under Windows, though it is possible to run them under WINE if required). Though getting these Windows programs running under Linux doesn't actually solve the problem, it just migrates it. You are still stuck attempting to drive these frustrating accounting packages.
The Australian market is crying out for an alternative! It's something I've pondered over for some time.
An OSS based accounting and payroll system that put the source code directly in the hands of the users would be appealing to many.
I like the idea of a browser-based accounting system. It means end-users aren't restricted to one operating system platform, and in theory it doesn't need to be restricted to just a computer. (3G Accounting anyone?).
Accounting isn't fun, in fact it's dead-pan boring.  It is however a required evil if you wish to be paid and be compliant with the taxation law. (Particularly GST, BAS reporting and PAYG).
I've looked at programs like SQL-Ledger and LedgerSMB, though both didn't 'fit right' for an Australian environment.
SYMBOL was promising. But unfortunately has been abandoned. fiveDASH, I played with for several hours, though I found it quite primitive and in it's infancy... it's one that at least has some promise, but it will need to progress quite some way to make it in any real production system for a business.
As such, I've decided to look at writing my own. This is purely selfish, as I would like to ditch MYOB come the 2009-2010 financial year. That gives me just under a year to get something up and running.  I'll run a dummy book up til the time, by running MYOB in parallel to ensure all is working as required. The ATO also has some excellent test suites/scenarios to assist in testing an application.
The big choice now is from what components should I build it?
I think PostgreSQL is probably the most solid OSS database to use, though writing something that can also talk to MySQL (due to it's popularity) is probably also wise. End-users can then elect to run whichever they feel most comfortable for their backend.
I considered many languages, but I'm leaning towards PHP for a few reasons: - Most SMB that have a Linux server for File and Print serving also have a LAMP environment already setup.
- Writing the system using say the Zend Framework ensures a lot of the ground work is already done. Working within their coding standards also ensures the code is reasonably clean and readable (and thus maintainable).
- Python was also considered, but it's more likely a SMB has a Apache/PHP environment over an Apache/Python setup
- I already have quite a number of generic PHP libraries that will mean I can get moving much faster. My Python libraries are no-where as extensive.
- A Java-based web app would be an overkill and likely to confuse many small business owners. (ie: Install a Java Application Server, etc.)
- SugarCRM is already popular in many SMBs. It would be quite easy to have an Accounting + Payroll package integrate into SugarCRM. Sugar is written in PHP, so it would make the job much easier if they both spoke the same language.
I haven't commenced any coding to date, and am still in the embryo stage of getting something up off the ground.
I'm interested to hear people's feedback with their thoughts. Do you think a PHP application (backended by your choice of MySQL or PostgreSQL) for your business accounts is feasible? (Obviously if 'approved' by the ATO as compliant).
Do SMB owners prefer the option of paid software with support packs? (like offered by MYOB and Quicken) they can fall back on? Would you not trust your business books to an OSS based accounting package? What other hurdles do you envisage if you used OSS accounting software?
Monday, June 23. 2008
 It seems various people are getting certificates for helping the Mozilla team set a new world record for the number of downloads in a day.
It's always interesting to see some of the organisations that made it possible!
Tip: Click on the image to see a larger version.
Tuesday, June 17. 2008
 At 3:00am AEST on Wednesday 18 th of June will herald the release of Firefox 3.
It's a big jump ahead from the heady days of Firefox 1 and Firefox 2 days.  This version includes over 15,000 enhancements from the 2.x series. It's faster, funkier and doesn't eat anywhere near the memory Firefox 2 did!
The guys over at SpreadFirefox are attempting to set a world record, with the most downloads in a given 24 hour period. You too can be part of it!
I'm currently running one of the Release Candidates, and I've found it brilliant, all my favourite add-ons are now working flawlessly in it.
So help spread the world, Australia has around 30% of it's Internet users using Firefox these days. So people do understand and utilise the crazy fox based browser.
Moving more people off Internet Explorer will also ensure that Australian websites that wish to remain 'visible' will also start writing websites that are browser agnostic and follow the W3C standards (something IE only websites break heavily).
Microsoft claim that they are going to be moving fully to standards compliance with IE8, but don't hold your breath. We've been hearing that for years. As long as nasty ActiveX still hangs around like a bad fart in a crowded elevator it's not going to be compliant (or safe for that matter). And yes, IE8 will ship with ActiveX.
So hop to it! Pledge to download Firefox 3 on Wednesday, and become a World Record Holder!
Saturday, June 14. 2008
Wine is a way to run native Windows applications without Windows.
The Wine project have been able to replicate the APIs required to run quite a number of applications under their environment.
It's one way you can run your legacy Windows applications under your Linux desktop.
I daily run Wine for a number of applications for business: - Windows Lotus Notes for my office Email - it's not as crappy then as the native Linux one then. :-P
- Internet Explorer 6 for those pesky websites that refuse to run without IE (many customer client websites).
- Microsoft Office for some complicated files that get garbled by OpenOffice (but that number is decreasing with every release!)
Other good news about Wine is that 1.0 is just about out the door. (Don't be fooled by the low number - these guys are perfectionists, and it's been a long, long running project!)
Here's the blurb off their website:
Friends, vintners, penguins, lend me your ears:
We come not to praise Windows, but to celebrate our increasing independence from it.
The final release candidate for Wine 1.0 will appear this Friday (13th), and barring catastrophe, Wine 1.0 itself will be released a few days later. I recently blogged about how hard it is for many small businesses to move off Windows. One way they can (particularly those that are on pre-Vista desktops and don't wish to go to Vista) is to utilise Wine for those legacy business Windows applications that need to run. 8-)
This way they can keep their functionality, but move to a more secure, less restrictive (licensing) operating system and a better and more richer computing experience in my opinion. :-)
I recently attempted to see if I could run MYOB under Wine. Currently Pauline is stuck on Windows, due to her requirement to run MYOB to do our company books. MYOB ran under Wine without a hitch. :-D
Well... until I went to print. It went off to the dark printing gods and spat out an empty plain page -- no matter what I printed. And thus is the reason for this blog post.
— – — – —
If anyone does business accounting, you realise printing is a key feature. Many hectares of forests are destroyed each year keeping up with the legal requirement of keeping records accounting records. (Personally we print a lot to PDF -- but still, under Wine this was failing for us!).
Scroll through many Linux forums/help sites and you'll hear people whining and complaining about printing under Wine. It seems to have also increased with the introduction of CUPS. From what I could see people where having problems printing to a physical printer most of the time, even though their CUPS printers correctly are represented and available in Wine. (This is exactly what I was seeing -- just blank pages printed).
Unfortunately this was going to be a show-stopper. Without a way to print (paper or electronically) for MYOB the idea was dead in the water. I didn't want to run Windows XP in a virtual machine (more on that in my next post over the following days).
I decided to sit down and take a bit of a fiddle (that's a technical term!) :-P
Really -- if CUPS-PDF didn't work, and my native printers attached, even a Postscript file would be sufficient (I could then feed that into ps2pdf or something similar if I really wanted it in PDF format for Emailing, or just print the Postscript file directly to the printer.
I found that within the printing application I could create a virtual printer that printed a postscript file directly to a file in Linux. Okay, that works fine under Linux... Now the big test, did it print fine with MYOB running under Wine?
I could see the printer fine (as I could with all the other CUPS printers previously). I bit my bottom lip and hit print. Low and behold... a working report! 8-)
Even better I could link the Postscript printer to the CUPS-PDF printer and it would convert it auto-magically into a PDF for me.
I since tested a range of applications under Wine and they all seem to be printing.
So if you need to print in Wine and don't want a headache, try the local Postscript virtual printer hack. It works well. :-D
For those that want to replicate it, here is a series of pictures showing the Postscript printer properties.
And if you still don't believe.... here is a sample print job... one in Windows with MYOB and one under Linux
Wednesday, June 11. 2008
I've been hearing ramblings on a few blogs about a little app called Terminator. (No it isn't Arnie hitting ya desktop), but in fact a terminal program that can do split screens and a bunch of other funky stuff.
Here's the blurb straight from the Terminator website:
Terminator is an attempt to maximise useful space on a given desktop for terminals. I’m a sysadmin by trade, so I live in ssh sessions and thus terminals. An extra line here and there over all those hours seems like it’s worth trying for.
Much of the behaviour of Terminator is based on GNOME Terminal, and we are adding more features from that as time goes by, but we also want to extend out in different directions with useful features for sysadmins and other users. If you have any suggestions, please file wishlist bugs!
It can be found in the Ubuntu 8.04 (Hardy) repositories, and the Debian Sid repositories.
If you're running those distros, you can just click here to install terminator
Those still stuck on Ubuntu 7.10 (Gutsy) can also install it. Just add the following lines your /etc/apt/sources.list file:
deb http://ppa.launchpad.net/gnome-terminator/ubuntu gutsy main restricted universe multiverse
deb-src http://ppa.launchpad.net/gnome-terminator/ubuntu gutsy main restricted universe multiverse
Once done run the following: sudo apt-get update && sudo apt-get install terminator
NB: For Gutsy users, you will get a warning that there is no authentication on the package. As it's from the ppa area, that's quite normal.
The next version 0.9 is supposed to also have tabs and some other nice goodies like drag n drop... (take a peep over here)
One thing I've found is that I like the extra real-estate. No annoying menu to get in the way. I use a lot of keyboard short cuts (like Ctrl_+, Ctrl_- and Ctrl_0 to resize the font sizes). I've found most of the Gnome shortcuts work.
Even better, it seems to be less of a memory hog than what the default Gnome Terminal is. 
The developer is breaking the bonds that hold it to Gnome, so in theory you should be able to use it on other Window Managers like KDE, Enlightenment, etc in the not too distant future.
And now, for the sample screen shot!
Well it appears I'm hooked. I'm looking forward to 0.90 but for mind, the current version does all I need. (Small, efficient and easier to view multiple screens in one window). 
If you haven't used it, give it a try you'll be glad you did!
|