jump to navigation

Printing with openSUSE 11 (and HOW-TO install MS fonts) June 26, 2008

Posted by NAyK in Fonts, How-To, Linux, Microsoft, OpenSUSE, Working with Linux.
Tags: , , ,

For the past four days I’ve been trying to “use” openSUSE 11, and have only just succeeding in taking out a print command.  I must admit that because I do not know my own office network (ie. I’m not a system administrator), there are many things about my network configuration that I end up missing and so I have not been able to adequately configure my openSUSE 11. Of course, I’ve never had to struggle with network issues with PCLinuxOS and even openSUSE 10.2 which was strangely easier to configure, but somehow I know this limitation at the moment is my own and not the distros. openSUSE 11 never claims to be a beginner-friendly distro… just a friendly distro… and so, well, I’m still making friends.

My first major task was to get a print-out. I know that sounds funny but I only just took out my first print job.

Earlier I was trying to use KDE4 for all my work (and I had installed through a single-CD), and not surprisingly most of the CUPS files and SAMBA files were not installed. I went about installing everything, but I still wasn’t able to get access to the office network.

Then I installed KDE 3.5, and I was immediately able to access the network through SAMBA. I wonder why? But still, I explained it as KDE4 teething problems and proceeded to configure printer, which was quite easy in openSUSE 10.2. However here I just couldn’t find an option to “find” printer.

I had to ultimately ask my network supervisor for help and he suggested I directly link to my printers IP address (rather than server address) which was 10.10.10.** but I didn’t know where exactly to type the address using YAST’s printer configuration.

Only after a bit of experimenting I found out that if I put the IP address in the “Global Settings” and that worked! Of course, I realised that the fonts were all way-off because the document I was printing was using Times New Roman.

I realised I needed MS fonts, but I couldn’t find the package in the respositories. So… off to google and the first hit was the one that helped. Ben Kevan’s blog gave a helpful hint about how to instal MS fonts. The following are instructures adapted from there:

i. First install cabextract using KONSOLE

sudo zypper in cabextract

(as it turns out I already had cabextract installed)

ii. Run the following commands in individual lines (pressing enter each time)

wget http://download.opensuse.org/update/10.3/scripts/fetchmsttfonts.sh

chmod a+x fetchmsttfonts.sh

sudo sh fetchmsttfonts.sh

iii. Now wait… my experience was that it tried to find the fastest server but failed to download all the fonts. I just had to do the process again, and it now worked/works.

NOW… my openSUSE 11 is printing, yeah! However, after each printout I’m getting an extra blank page with the message

ERROR: undefined


Well, whatever that means, I’m now at least happy something is happening and look to solve this other problem later.

I also need to figure own my server configuration because I connected to the office server with KDE3.5 without a problem but then now when I try it keeps telling my that the server has been timed out. I’ve stopped my firewall, so that’s not the problem, but that still a problem. I know I should type this all out in a forum… but somehow… sigh….

How Windows helped me fix my Linux May 15, 2008

Posted by NAyK in Confessions, Discussions-Conclusions-Hopes, How-To, Linux, Microsoft, OpenSUSE, PCLinuxOS, Ubuntu, Windows, Working on Linux, Working with Linux.

Last night, my Linux (PCLinux) broke. And this evening I finally fixed it, with some help from Windows.

I’ll be telling the whole story along with what happened in the post below, but before that let me start with a few disclaimers (warnings/cautions etc).

First, it was clearly my mistake in the start the led to the demise of my Linux. I messed around with my partition table. Yes, yes, I know, shoot me!

Also, I’m a linux noob (which means, I’m more than a newbie, but not at all proficient with Linux when things go wrong). So, I’m sure there are easier solutions “IN” linux itself, but I had/have no idea about them… the few solutions I did know, didn’t work out for me… but again… that’s just me. In the same vein, I’m not a windows/Microsoft fanboy (nor a linux fanboy mind you). So my intention is not to start another uneccessary Windows-is-better-than-Linux flame-war!

The distribution in question (the one I was using) was PCLinuxOS (my current distribution of choice). Yet my comments here do not reflect on my views about how “good” or “bad” the distribution is, but this post is more a confessional on how I messed it up (so that someone may prevent themselves from making a similar mistake… or make things easier for us young-ones).

On to the story.

1. Last night I wanted to update my PCLinux (I hadn’t done it for a long time). For those who know PCLinux, they’ll know that one of it’s weaknesses is that it does not have an auto-update function like Ubuntu or openSUSE. You have to manually got to Synaptic and “reload” and then “mark upgrades” and then “apply”. So, I hadn’t done that for a while, and so I decided now is the time.

2. I realised, after seeing the size of the updates that my were too huge, and so I decided to completely wipe out my openSUSE 10.3 partition and use that space for my home directory. (ie. I’d have my programme in one partition, and my documents in another, like I do in Windows).

3. So I went to the PCLinux Control Center, went to Mount Points, and deleted the openSUSE partition. I also, choose to mount the free space with /home and the computer nicely asked me if I wanted to copy my current home folder to the new location. For which I said, “yes.”.

4. Sadly, when I saw the new configuration, I saw that the new /home partition was only the size of the home files (about 1.5 GB) and I had another 3.5 GB free… so I decided to increase the size of my new /home partition.

5. The partitioner didn’t allow it, giving some error that I obviously forgot to write down. Anyway, after a couple of tries, I decided I’d deal with that later (using gparted or something) and I decided to continue with my upgrade.

6. Just before I started my upgrades, I noticed that my new /home partition file size was about 4.5 GB (It should have been about 5) but then I thought, “oh, it did it, cool!” and I continued the upgrade.

7. I had about 700 MB of upgrades to do (yes, yes, I know, long long time). And my slow internet connection took hours and hours to do it.

8. In the process, when it said about 1 more hour to go, I went to sleep, before all the the updates were applied. But my computer battery died out (I thought it would be done within two hours, because I had about 2.5 left). But I think all the updates weren’t applied.

9. When I woke up next morning (today) and started PCLinux, it just wouldn’t let me get into the login or desktop screen. I realised I had done a foolish thing, and didn’t know what to do. (ps. I know at this point I should be able to go into Linux through some text mode thingy and fix things, but that is just too hard. I really prefer the gentle Windows “safe mode” that looks so easy compared to the text-mode Linux).

10. I realised I had failed, and since I had made backups of my PCLinux documents (yipee!) I decided to reinstall. (The great thing about Linux is that it’s so easy to reinstall, unlike Windows, that we can do it more often. Perhaps, that’s a bad thing, actually! :) )

11. Sadly, I had given away my last PCLinuxOS 2007 CD to a friend (I have already given away about 8 PCLinux OS CDs), so I had to download it again (using its metalink which took about 1.5 hrs).  (Thank God for metalinks!)

12. Then, my first reinstall attempt failed at the partition time, because it said it couldn’t read my partition, and if I tried to change it I could loose all my data, “Do you want to continue” it asked! What? Obviously NOT!!!

13. I tried again, same response. Realising that something was wrong in the partition, I decided to use Ubuntu LIVE CD to change my partitions, but no luck. It couldn’t go past my partitions.

14. I tried openSUSE oneCD installation (thinking it would be more powerful), still no luck. It told me that it couldn’t change the current settings and would use only existing settings (which I thought was not good).

15. Then I got my gParted out (the Linux partitioning specialist, a really cool/small programme). But even that failed. It just wouldn’t read my partitions, let alone let me edit them.

16. Thankfully, in all this, my Windows was still working, though by then my Windows boot was lost. I used super GRUB rescue (some boot rescue programme that I had lying around, it’s a spanish version that I can’t read, but I know a few buttons are press-worthy and times my windows boot has been restored.). And yes, this time I was able to get back to Windows.

17. And here’s how Windows helped me fix my Linux… I went straightway to MyComputer <right click>, “Manage” and then “storage” and so my partitions. Windows cannot normally read Linux partitions, but it does show that some partition exists (represented by a blank).

18. I deleted the Linux partitions, all of them, including the swap drive.

19. And then I used gParted to format the partitions to ext3 and swap….

20. And then I installed PCLinux, which worked…

21. And then I upgraded… and I’m currently typing on my updated/upgraded PCLinuxOS.

Moral of the story… keep your windows copy handy! No seriously, I was actually surprised that my partitions were so messed up that Linux distributions couldn’t read then.  Usually I use Linux to SOLVE my partitioning problems (Especially a programme like gParted) and this was the first time I had to do it the otherway. I wonder what went wrong. Perhaps, my messed up partitioning process (first) and then compounded by my error-red update/upgrade. Whatever, I’m thankful that my computer is now working… bootloader, windows, linux et al.

My Linux wish-list (which obviously is only a wish list because I have no money to give to Linux to get me these things… not even a measly dollar… because I live in the ‘3rd’ world!)… is:

1. I want a system restore in Linux!

2. I want more graphical help in fixing errors in Linux (something like a Windows safe mode).

3. I want better partitioning control, perhaps with more detail… something that actually shows where one partition ends and where one begins (like the good old fragmenting days of Windows 95)… it shows graphically exactly what bytes (sectors) are where and what to move. I’m thinking something that can be moved around like building blocks… so that we can visually see what we’re doing, rather than as lists and numbers.

4. I want automatic backups of the things that need backuping… but that’s the lazy option I guess. But what I mean is that the partitioning control centre said I should backup my partition table, but I didn’t know how to do it (I still don’t). It would have been nice if it asked instead, “do you want me to help you backup your partition table?” and then I could say, yes or no.

5. I want world peace…

ps. Please (linux fans) don’t shoot me for this post. I love Linux you guys, I really do. And I’m just shooting my mouth off, without actually contributing in support forums etc. I know, I know, I’m a bad person. I’m going to Linux hell for this, but can I appeal to linux-mercy and linux-grace.

Getting Open Source help for schools (a comment as post) September 7, 2007

Posted by NAyK in Article Watch, Blogging, Discussions-Conclusions-Hopes, Linux, Microsoft, Open Source, OpenOffice, Other Distros, PCLinuxOS, Piracy, Recommendation, Software, Windows, Working with Linux.

The following post is not written by me, but was a comment on a previous post about the real-life problems facing Open Source implementation in the fact of Microsoft loaded schools. This unusually large comment has a host of links that are geared to help individuals/institutions to grow in their awareness of Linux and MS. I’m posting this comment here as a post because I believe it could be helpful to more than me. The author of the comment goes by the name “Jose”. So thanks Jose, here’s your ‘comment’ as post.

(disclaimer: I don’t know anything more of Jose than this comment. So his views are his own, not mine. Similarly, I’ve not had a chance to test all his links, so even though I think I trust Jose, please click with caution).


By Jose, 7 September, 2007

If the schools asks for help, I am sure there are some fairly cheap offerings. LTSP is both practical (saves headaches managing it once you understand Linux) and cheap.

Nice story btw. Scouting (bringing problems like this one into the open) is very important in order to figure out what problems exist and how they might be tackled (word of mouth market research).

I think I understand you not wanting to impose your views on the school nor risk losing credibility in the process. If you have a good track record and can accept rejection, you may want to approach your supervisors with a plan for a pilot. You (with help maybe) can work on possible solutions off-line in order to make a presentation. Maybe you will also find a way, in the interest of student education and well-roundedness, to encourage students that may like Linux/FLOSS (w/parents’ help perhaps) to put initiatives forward. Do you want it or do the students want it? Reports show that Linux is growing, including for example, job offerings on Dice.com as a recent survey revealed. It seems a bad move for educational institutions to ignore Linux just on account of this momentum statistic (I’m not even considering all the other benefits of FLOSS to anyone, much less to an educational institution).

This is an educational institution to serve the students. It seems short-sighted not to offer a Linux option especially being free and with students willing to do their own research (after school club if nothing else).


There are sites dedicated to schools and linux. There are commercial and free Linux distros that focus on schools. There is a modest amount of FLOSS that is useful specifically to teachers and administrators.

Here is a very recent story dealing with libraries and Linux: http://www.linuxtoday.com/infrastructure/2007090700526OSPB

There are many sites for newbies.

How can you go wrong with a LiveCD? Have they tried PCLOS? Do they know that you can customize many LiveCD distros and then burn another LiveCD so as to have that exact setup matching your needs and preferences wherever whenever?

Can something like this, http://olpc.tv/2007/05/19/preview-60-minutes-about-olpc/ , be all that bad and scary? [OLPC may be a great advocacy tool, browse around olpc.tv for neat videos.]

Would you be a fanatic? an advocate? or just someone finding it very difficult to ignore a good thing whose “business case” just keeps getting better and better?

Microsoft has a long tradition of illegal (court of law) and unethical behavior, assaults on OPEN and FREE software, and on extremely aggressive lock-in techniques (a part of “embrace, extend, and extinguish”). Expect Microsoft licenses to only keep getting more draconian and more expensive. Expect Microsoft products to keep getting more disrespectful of the end users’ privacy (I think this is a big concern for most people). Vista phones home with a lot of personal detail (it’s part of the license too.. you sign away many rights).

And with the lawsuits and bad news mounting, what will the school do if, heaven’s forbid, Microsoft should go out of business? What is the backup plan? Will the kids have continuity and an ability to go further with whatever they might be building.

Has the school done a cost analysis just of licensing costs for the next ten years (Linux downtime is much lower and management is easier in many ways.. again, look at LTSP offerings)? Do these take Microsoft’s steady price increases into account and the requirements for hardware buys? How about all the many and powerful Linux software that costs $0. What would that cost for Windows over 10 years for all computers? Ouch! [Note, students may want to put up their own websites and such]

There are many success stories (even of grandma’s) which should help inspire confidence, but I think the key is a presentation/pilot program to show before everyone’s eyes that it can work. [And don’t forget that the kids needs and wants will trump most other concerns.]

Linux commercial support is growing fast. The communities are in abundance. In fact, you can probably find rather easily 20 websites with volunteers pushing Linux. Why so many people willing to help out for free? [And yes, it can be fun.]

Would the school be doing its duty in not providing at least some support for the greatest educational tool of all time?

You own Linux, really. You help define Linux.. and there is so much that is new and free!

More links:

It may even work to seek out stories on Linus and others that would bring a human dimension to Linux. Tux is the penguin mascot. Top supercomputers (eg, from IBM) run Linux so Linux isn’t just cute. Shrek likes Linux, too: http://www.linuxjournal.com/article/9653 . Even the US military trusts Linux when they don’t trust Microsoft.

It’s also too easy to beat up on Vista (stories of Bad Vista abound). There are also horror stories of XBox360 problems.. which comes back to the point of how trustworthy is Microsoft and will they be around in 5, ten, or fifteen years? And what will their prices be like (can’t repeat this enough times).


And wow them with some Beryl/Compiz. Yes, this is Linux, too. [This should open eyes, of the faculty, but also students’ eyes.]
http://youtube.com/watch?v=T67kricXYRE sabayon is popular, too.

Bad Microsoft.. long rap sheet
Recent MS abuse of power and unethical behavior with OOXML. Last minute gold partners joined up on MS’s “request.”
Despite all this, OOXML failed to get accepted.

As for the Gates Foundation, I wrote this little bit up recently. I joke around, but it’s no joke that Microsoft gives to biomed research and MS software, both areas where he has significant private interests. The Foundation has made many contributions of MS software, so the Foundation subsidizes Microsoft [Bill’s left pocket pays his right one]. I mention this just in case (if it comes up) people put up with Microsoft because they think Gates is a nice person and that they are doing the right thing even if it is expensive. http://www.linuxtoday.com/news_story.php3?ltsn=2007-09-01-006-26-OP-CY-PB-0011

And if you get down, or if you simply want to show others that it’s not supposed to be a walk in the part to go through change, here is a review of Linux by someone. What is striking is how this person’s perceptions changed over just 5 months http://www.linuxtoday.com/infrastructure/2007080900326OPSW . He isn’t the only one, btw. If you give Linux a little bit of time, it really grows on you (it takes a while to undo the brainwashing of Windows and realize that there is such a thing as freedom and control and it can be easy and fun if you give it a little time). Many people that have not heard of Linux have no clue how extensive support is for Linux and for open source (we have a huge community).

A link to the GPL may also be useful (four freedoms etc).

Sorry, to put up so few links, but I still have to organize my files.

Finally, if you have doubts about whether or not you are doing a good thing presenting a FLOSS alternative, ask youself how much of a good thing it is for the kids for them to stay along the current path [I don’t mean to pressure you, only to help overcome doubts and guilt should you want to do something.]