Slacko and Slacko64 are released!

I have the pleasure of announcing 2 new stable releases from the Slacko Puppy Linux family.

Slacko64 6.3.0 and Slacko 6.3.0

Slacko64 is the very first 64 bit official Puppy Linux to be released. I have been running it myself for over 18 months and I have finally brought it up to release status. It has a brand new theme I call “Buntoo”, which is basically an Ubuntu Unity knock off but with Rox Filer, GTK2 and JWM!  😉

Slacko (the 32 bit version) is an upgrade for the last stable release – Slacko 5.7. It has all the same features as Slacko64 but with a different default theme, however the buntoo theme can be applied from a new program called PTheme. Look for it in the menu.

The Slacko 6.3.0 family uses libraries and binaries from the upstream stable Slackware (64)-14.1 so any program built for slackware should run in Slacko as long as dependencies are met.

For more information and download links visit the new Slacko website.

I hope you enjoy using it as much as I did making it!

Mick.

Get proprietary software out of schools!

I just set up a Linux computer for my young fellow so he could access Literacy Planet, a requirement of his curriculum. The install went well on an old Athlon 1900+ box of Slackware 14.1 with XFCE as the window manager. For those of you who don’t know Linux  (or GNU/LINUX) is an alternative operating system for computers, usually replacing Microsoft Windows or Apple OSX and is generally considered free software. Linux comes in many flavours, called distributions; for example Ubuntu, Linux Mint, Fedora, Arch and Slackware are all Linux distributions. They all vary in certain ways due to the individuality of their respective maintainers but they all have one thing in common; The Linux kernel.

Free software isn’t just free as in gratis. The user is free to modify and redistribute the programs as they see fit under the terms of the appropriate licence. Free software is often referred to as Open Source. While free software is all open source, not necessarily is all open source software free software.

Of course Linux is not for everyone. People buy a computer so that it “just works” out of the box. Linux requires re-installation in most cases but there are some hardware venders that do offer Linux out of the box, the most famous being Dell. Still, most consumers will be used to either Windows or Mac and purchase accordingly.

Free software is also available for Windows and Mac computers. For example, an alternative to Microsoft Office is LibreOffice; an alternative to Internet Explorer is Firefox (disclaimer: Firefox is not entirely free software as it does contain some non-free parts, however there are 100% free spin offs of Firefox). There are many more examples covering all types of software. You don’t need to be a geek to use these program, you just need to have the desire to take back your computing power.

One of the key advantages to free software is that many eyes can look over the source code and when bugs are found they are fixed almost instantly. This also improves your security as back doors are not put in place by design. With closed source proprietary software, no body apart from the programmer and his boss know what is in the software and they decide if and when security holes and bugs are fixed.


Back to the recently formatted Slackware box.

After I set it up the login, network and a nice wallpaper and icons, I browsed to Literacy Planet and proceeded to log in to my young bloke’s pre configured account. I was greeted with a splash screen..

Oops!

Looks like you don’t have the latest version of Flash Player installed.

Not to worry, you can click here to download it (it’s free!)

Gasp! WTF???

I could not believe my eyes. An “educational” site, endorsed by the school curriculum, telling me to install Flash Player because “it’s free!”… and “not to worry”. Flash Player would have to be the single most insecure, buggy piece of software in existence yet we all use it daily. What makes it worse is that there is a free (as in beer, as in speech) alternative that has been around for years now, and it is cross platform; HTML5.

Yes, I do use flash out of necessity, but it is permanently blocked and only invoked if absolutely needed. But why do programmers and their employers still insist on using it? This is lunacy. Especially when education is involved. Flash no longer supports my old Athlon 1900+ processor now anyway so I can’t install it even if I wanted to. Html5 works perfectly on that old box.

I can’t help but think that this is a political decision by the powers that be to continue supporting their “mates”. Surely educators are aware that not everybody can afford the latest and greatest and especially in this time of increased security awareness that not everybody is as gullible as to accept “she’ll be right mate! It’s free!”

 

pmck – A poor man’s clock

I have written another app based on Cairo and Xlib that should run on any UNIX variant (tested in Linux).

Poor Man’s Clock

That’s exactly what it is. An analog desktop clock that does nothing but show a clock face! It is however a halfway decent demonstration of the Cairo library in action, displayed on screen with Xlib.

Get it here.

cairo-msg – a simple splash message app

I have been busy coding a splash app in C for Linux (or other UNIX like OS) that is designed to be simple, light weight yet “pretty”. It uses the Xlib and Cairo libraries and stripped, the binary is only 11k.

There really aren’t many light-weight options for a general purpose splash message app, for what I want anyway. Sure there is zenity, yad, Xdialog, gtkdialog (all dependent on gtk), xmessage, yaf-splash (Xlib) and others like Kdialog (KDE) and probably a bunch more but all of those are either too complex or don’t do what I want without some convoluted scripting techniques which slow things down and introduce margin for error. I wanted something simple that only needs to display a few words with a coloured background indicating what kind of message we are displaying, preferably with an appropriate icon . It had to display in a prominent position on screen (adjustable of course) and with no window decoration. It had to support all fonts so had to be unicode compliant. It had to have a variable timeout, without resorting to hacks like this:

splash-message "bla bla bla" &
pid=$!
sleep 5
kill -9 $pid

So, like all hackers, if you can’t find the tool, make the tool! cairo-msg was born!

Check it out on my GitHub page.

NB: This is tested in Slackware64-14.1 (KDE), Slackware-14.1 (Cinnamon) and Slacko Puppy Linux (64 and 32 running JWM).

FatDog Arm Beta 1

James (jamesbond) has released FatDog Arm Beta 1!

After being in the cooker for over two months, I can happily announced the next release of FatdogArm: the Beta1 release.

Release Announcement

Release Notes

FatDog arm is designed to run on ARM CPU supporting ARMv7-A instruction architecture. It is targeted at A10/Mele, A20/Cubieboard2, Odroid-U2/U3, OLPC XO-4 and OLPC XO-1.75 but with a bit of hacking can be adopted to other platforms, providing the CPU is compatible.

I have an Odroid U3 and while it is beta software it runs great. Plenty of software available in the repository too. It uses GSlapt/slapt-get for package management so it is easy to fatten up FatDog Arm.

Test away! (Bug reports here)

Limit Firefox Cache

Just an FYI post.

In all previous slacko versions I did not bother limiting the browser cache. The only way I knew how to do it was to install a default profile in /root/.mozilla. If you decide to run the browser as spot then this totally defeats the purpose.

Mozilla in their infinite wisdom has decided to remove that option from it’s gui preferences program. Rolling Eyes . The only way to do it now is manually through about:config.

With a bit of research I devised a way to limit the browser cache without installing a default profile.

A file; /usr/lib/firefox*/defaults/preferences/local-settings.js needs to be created (you can check it out at /usr/lib/firefox-17.0.11/defaults/preferences). It contains the following:

Code:
//
//default home page and cache
pref(“browser.startup.homepage”, “data:text/plain,browser.startup.homepage=file:///usr/share/doc/home.htm”);
pref(“browser.cache.disk.capacity”, 60000);

You’ll notice that this also sets the home page.

The trick about this though was how to implement it without hard coding?

Well I did this at the woof level with a pinstall.sh. The relevant part of the pinstall.sh contains this:

Code:
# work around for firefox bug to set cache
if [ `pwd` != ‘/’ ];then
FF=$(find usr/lib -type d -name firefox*)
PKGSTATDIR=`find ../../ -type d -name status -maxdepth 3`
PKGSTATFILE=`find $PKGSTATDIR -type f -name ‘findpkgs_FINAL_PKGS*’`
FFVER=`grep ‘firefox’ $PKGSTATFILE | awk -F’|’ ‘{print $6}’`
FFVER=${FFVER%%.*}
if [ “$FFVER” -ge 21 ];then
mkdir -p ${FF}/browser/defaults/preferences
PREFDIR=”${FF}/browser/defaults/preferences”
else
mkdir -p ${FF}/defaults/preferences
PREFDIR=”${FF}/defaults/preferences”
fi
cat > ${PREFDIR}/local-settings.js <<_EOF
//
//default home page and cache
pref(“browser.startup.homepage”, “data:text/plain,browser.startup.homepage=file:///usr/share/doc/home.htm”);
pref(“browser.cache.disk.capacity”, 60000);
_EOF

fi

That will seem like jumble to some, but all it does is create the above file. One important note though; mozilla, again in their infinite wisdom, moved the location of where these type of files are read in firefox-21. From /usr/lib/firefox*/defaults/preferences to /usr/lib/firefox*/browser/defaults/preferences.

This should work for seamonkey as well but the version change over would have to be noted.

Many thanks to Mike’s Musings.

Slacko 5.7 Released!

After ~original 500 commits and ~45.000 lines of code changes in woof-CE since forking from Barry’s Fossil, the first official woof-CE-based puppy, Slacko-5.7, is out 😀

-mavrothal, Puppy Linux forum, 9th March, 2014

LOL. I agree completely about abiword, plus my interaction with some of the devs was not very pleasant. But, concerning Puppy and productivity, Slacko is so good that I am totally comfortable using it for production in teaching online university courses (I do use Libre Office).

-playdayz (a.k.a Larry Short, Lucid Puppy Developer, from 2010-2012), Puppy Linux forum, 9th March, 2014

What more can I say? Slacko Puppy Linux 5.7 is released! 

Get it from the Slacko Web Site. Everything you need to know is either there or only a click or two from there.

Many thanks to the woof-CE development team (you know who you are  :monkey:). Without you this would not be possible.

Go get it and enjoy!