Showing posts with label howto. Show all posts
Showing posts with label howto. Show all posts

Thursday, February 26, 2009

Oh it does annoy me!

For the last 12 or so years I have created a mariad of bash scripts that do all manner of tasks. Some are very simple while others are huge and complex monsters but the underlaying theme across them all is that i have shared almost all of them.

This can and does create problems when other people with less scruples than myself take some script I have done and rework it claiming it is all their own work. Now, given the time span over which these scripts have been written it may be that those people assume the script to be a lost work where the author of has long since disappeared. Even so, that should not mean the original author should not get at least a nod for his original code and even a cursery nod if the idea behind the original and new is used as a basis for the new work.

Instead what I see is various people who simply create a new work either based (forked) off the original script or a new work that is simply a stolen idea behind the original idea. This goes completely against the ideals of the GPL a license I use for all distributed works, but does sadly show the times we now live under where theft, of any kind, is considered perfectly acceptable.

It does bloody annoy me all the same.

A simply attribute that says "this script is based on a script by <blah> called <blah> which can be found <blah>" or  even as simple as "the idea behind this script came from <blah> by <blah>". But no, instead there are no such attributes and instead either the idea or actual code chunks are lifted and called their own.

It sucks but is a part of all those aged under 20 who see everything as being free even when it so clearly is not. And that goes for every country on this lump of rock we call Earth. And, it really does annoy me.

Wednesday, May 7, 2008

It just is not right.

A long time ago a mate of mine and I worked out how to get gaim, now pidgin, working without the need for mozilla's nss. It took us about 15 minutes to get all the kinks worked out and we even provided all the slackbuilds and a binary builds created by our own slackbuilds.

Even though we stopped providing these scripts and binaries a while ago we still get emails about them. At the time we created them all and for a good 2 or 3 years afterwards the files where downloaded over 1 million times. The web page that hosted the files had over 4 million page views. All in all we was happy with the results of our work.

Fast forward to the present and we find there are several people claiming they created both the slackbuilds and the work around to get gaim, now pidgin, working with GnuTLS and friends. This is a situation we find all to often on the Internet where new people to slackware claim they created this and that but what they don't tell their readers is that they have everso slightly edited the slackbuilds that people like my mate and i, have had on the Internet years before this new unethical crew came to slackware.

It is unfair but then i suppose this is the state of the western world now where new people make a new for themselves off the back of those who went before.

Wednesday, December 5, 2007

Time rolls on.

Indeed it does. Time rolls on and the dinosaur's disappeared. And so it is. With the above line stated I think some explanation is required, especially its deeper meaning as well as to what it is I refer to in the present tense. Many years ago some Slackware users placed many nuggets of information relating mainly to that Operating System but sometimes to every GUN Linux based Operating System. They put on to web sites information such as how to 'properly' build Slackware packages. How to get around some of the quarks that distribution had. How to change the start up scripts to make them faster at boot time. Etc, etc, etc. All this and more was put out there for public consumption and people used that information. Then other Slackware users came to be and they too put such information into the public domain. These users collected the information scattered on many web sites put there by the previous generation, updated to fit new releases and then put it all together in one place for other people to view and use. Fast forward to today and yet again a newer set of users came to be who collated information out there on the Internet, gave it a new twist, called it their own and placed the result on the Internet. The different between the three generations of Slackware users, while all had or have good intentions, follows the same path and attitudes each generations general public had or had. Lets call the generations Gen-1, Gen-2 and Gen-3. Gen-1 built the foundations the Gen-2 built on top of. Gen-2 attributed Gen-1 for the work Gen-2 created off the back of what Gen-1 created. In otherwords Gen-2 acknowledged Gen-1. Gen-3 however is a different beast all together. They took the work done by Gen-2 and called it their own. They changed the smallest bits. They give no attribution at all to Gen-1 and Gen-2. They created web sites in a mirror image of web sites created by Gen-2 and then added or edited scripts then gave no attribution to Gen-2. So, today we have a situation where Gen-3 users are coming across, and they do everything possible to put that in the minds of other people, as being the first and only generation of Slackware users that have put information and slackware build scripts on the Internet. They give not the slightest nod to all those who have gone before them doing what Gen-3 users are doing right now. I reckon there are one or two reasons for Gen-3's attitude. Reason 1 is mirrored in how todays society at large acts. Reason 2 is that most of the Gen-3 web masters are American and we all know they think they rock andthe rest of the world does not exist in their minds and that they are hellbent on ruling the world. That is my take on the current generation of Slackware users. It is bad enough to make me want to change distributions for the first time in 12 years or so. Attributes people. Attributes. Deep deep down you know I am right.

Sunday, September 23, 2007

X is NOT KDE!

Or put in pure Linux/Unix terms: X != KDE. Or Gnome, XFce4, Fluxbox etc etc.

As Linux (Linux defined here constitutes an entire distribution. In real terms, linux of course is the kernel only and a distribution, like Slackware, RedHat, Ubuntu etc are collections of programs which include the kernel.) grows exponentially in popularity there are many misnomers cropping up regarding what is what. While these misnomers are mostly harmless they do make diagnosing problems that may crop up harder for us more knowledgeable long time users.

For example. I saw a discussion recently on a forum where the user with a screen blanking problem kept referring to "The screen blanker in KDE." After much discussion going back and forth it eventually transpired that he/she was using Ubuntu. Ubuntu hides the underlaying console that all distributions have and boots straight into Gnome, by default, or KDE. This user had changed the default so instead of logging directly into GDM (the gnome login manger) from where he/she could log into Gnome or KDE he/she automatically booted directly into KDE.

Nothing wrong with this method and can in fact save a little bit of time logging in. This method also facilitates booting ones machine then walking away to do something else. On return the machine will be sat on the Gnome, KDE etc desktop so one can start work immediately upon returning to the station.

Where this sort of auto login does become an issue is when, for whatever reason, ones X or Gnome/KDE has been irreparably broken so that instead of being sat on the desktop one is sat at a scary black screen with nothing more than a bit of text at the bottom.

And so this discussion went. He/she was not having a problem with KDE but did have a problem with X blanking the screen. however, his/her constant use of "The screen blanker in KDE" kept throwing us old timers off the scent of where the problem really laid.

In very simple terms the boot process boots in 3 separate stages. First, the console, second, X and third ones chosen GUI which can be any one of many but most new users tend to use Gnome, KDE or XFce4. To blank or stop blanking the monitor each one of these stages should be addressed separately. Of course if one never uses the console directly that stage can be missed out. None of the GUI's have screen blanking themselves. Instead they offer, via their setup or configuration applets, options to setup the default GUI screen blanker which is a program called xscreensaver.

So, for console blanking we use 'setterm -blank &lt;time in seconds&gt;. If the value of (time in seconds&gt; is set to 0 then blanking is disabled. Any other none negative value will blank the console after those minutes of inactivity.

For X this is a little more tricky insofar as how one goes about setting this up, but works fine once set up. If one does not add these options to /etc/X11/xorg.conf the default options, which are for X to blank the screen after 5 or so minutes of inactivity, kick in. To set X to blank the screen after so many minutes of inactivity, open /etc/X11/xorg.conf in your editor of choice. We need root access for this so use 'su' to gain root privilidges or 'sudo'. Add the following lines to 'Section "ServerLayout"' in /etc/X11/xorg.conf.

Option "BlankTime" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"

These options totally stop X from blanking the screen.

The third part is simple and for a new user probably the easiest way to blank or stop blanking the screen. Gnome, KDE, XFce4 or any desktop environment or any window manger for that matter do not contain any screen blanking code beyond offering configuration options for the xscreensaver program. By setting these options up one can disable screen blanking in your chosen GUI environment.

I hope you found the information given here useful and please, new users to Linux, try not mixing up the various parts that make the whole and we old timers will be better able to help you with whatever problems you may be experiencing.

Thursday, August 9, 2007

My foray into the murky world of Operating Systems.

Or, A potted history of my computer usage.

This blog post can also be found elsewhere. They where both written by myself.

While this blog host is worldwide the stuff at the end is for local to me people and companies. That said, if you are located somewhere far away from my locality, which is Hull, UK, then we can still talk via email, ICQ and even MSN and who knows, perhaps I can offer you or your company some remote services, which are incidentally something I excel at. Read on then decide for yourself which way you want to go.

I have used the Linux kernel and the same GNU based distribution since 1991. Yes, I was one of the masochists back in those days who saw Linus Torvalds work and the associated GNU tools as something radically different from what was quickly emerging as the default operating system ("OS").

I had previously used the Amiga OS, which was so far ahead in what it offered that even in todays OS world it would not be out of place. I started by foray into the murky waters of computers with a Commodore-PET, carried on through the C64/128 phase then the Plus4. Then along came the Amiga 1000. I immediately saw this machine for what it was and jumped on it. Over the following few years I went through the entire Amiga range ending up with what was their finest hour, the Amiga 3000 Tower.

By now it was 1991 at which time it had become painfully obvious the Amiga was going nowhere fast. Over the next few years I started looking at what else was available. IBM, and compatibles, where everywhere but lacked something I had grown used to having with the Amiga. Apple had machines out but they too lacked that something. Eventually, around 1996 and knowing nothing about them at that time, I bought my first and only pre-build IBM compatible machine which came with the awful MS Windows OS of that time. The OS itself stayed on that machine just long enough to download a Linux distribution, Slackware as it turned out, and install it. I have never used another OS on my main workstation since that time.

I had used NetBSD on my Amiga 3000 Tower setup since around 1990. Running it alongside the Amiga OS. It wasn't until around 1996 that I sold all my Amiga equipment and went full time into the Linux world which I have remained with ever since.

And that is my potted history of computer OS's I have used over the years.

I have said I started using Linux around 1991 and that is correct. Someone had given me an IBM clone on which had, if I remember correctly, MS Windows 1.0 or maybe 2.0, I forget. I ran this box alongside my Amigas for about 5 years, never upgrading it, save for an extra floppy drive and generally not doing much at all with it as it paled in comparison to my Amiga. Anyway, that OS, on the IBM clone. was quickly replaced with what was at that time the all new Linux kernel add in some GNU tools and a new OS was born.

What did the GNU/Linux combination have that the Amiga had that MS Windows, then and now, had that made me decide to use it? Freedom. Freedom to tinker with the underlaying OS and bend it whichever way I wanted to bend it. No MS OS has ever allowed for this and that alone made using the, any, MS OS a huge no-go for me.

Fast forward to today.

Through all of those machines and OS's I have been on a learning curve. Sometimes that curve has been steep, very very steep, and other times it has been easy. I am now the proud owner of several certificates which proclaim to the world I am fit and able to do all manner of IT related work.

I build all my own machines now as they work out cheaper that way plus one gets the ability to add-in whatever hardware one wants and often needs. Plus, I can tailor the hardware to ensure it works 100% with my choice of OS, which is GNU/Linux. Of course, today that tailoring of hardware is not really required anymore as GNU/Linux works with just about everything available, save for a few hardware pieces that tie themselves so close to the MS OS the coders and hackers cannot be bothered to create code that would make them work. If a hardware vendor is so short sighted they only make hardware that works on one OS then that hardware is not worth the time of day in my humble opinion anyway.

As a final note. If you enjoyed reading this and if you are located in Kingston upon Hull or at least somewhere close to it, and you are thinking of using a Linux OS within your company or as an individual at home, but the very thought of it is giving you nightmares, then feel free to contact me and if you want I will help you install a Linux based OS of your choosing. Perhaps you need someone to explain the finer points of the GNU/Linux OS versus MS OS, and there are many plus points for GNU/Linux over an MS OS, GNU/Linux is in 99.9% of cases cheaper to run and has no license fee mess to worry about, plus there is help everywhere on the Internet plus a few good GNU/Linux users locally who can offer guidance if you so need it. But the plus and minus things are best left for another blog post or possibly put somewhere on the Internet for all to see, read, inwardly digest and finally a decision made.

To my credit I have built from scratch upwards of 50 seat networks for various companies, that have at their heart a GNU/Linux based server. So, if you are such a person of company but are afraid of what GNU/Linux offers or perhaps the installation phase bothers you for some reason then feel free to contact me and we can perhaps have a chat about it. One thing you will find, be you an individual at home or the owner or manager of a small to medium company, GNU/Linux is not hard to install and with someone like myself at your elbow it will all become easy.

The savings that your company, be it a 2,4,16,32 or 64 seat one are not something your company can ignore or at least should not ignore.

As a side note and something that is, I am sure, always in your mind. I do not charge much, in point of fact I am confident you will find my services cheaper than most, if not all, of those who offer the same services, which is surely a plus for you. I charge nothing at all for email contact so what have you got to lose? Nothing, so go on. Contact me and let me show you the cost savings you can surely make.

Monday, April 30, 2007

ESP Print Pro - Linux Printing - News

ESP Print Pro

Attention All Customers

ESP Print Pro will no longer be sold starting May 1st, 2007. Commercial support for ESP Print Pro will cease on January 1st, 2008. The CUPS Companion CD is the recommended replacement for ESP Print Pro. See the Transition Guide for more information.

ESP Print Pro - Easy Software Products

Powered by ScribeFire.

Sunday, April 29, 2007

YES ! Slackware 11.0 + CUPS + hplip + HP Deskjet D1420 = Successful Printing on Linux

All I can say for now is HELL YEAH ! I can print ! I bought a cheap printer 25-30 bucks at wal-mart ( my second - I took back a paperweight Lexmark ) and just finished setting it up. I will post all the details in this same post at a later date. For now I have to run. Details coming soon ...

Powered by ScribeFire.