HUGE win for Open Source

29 July 2010

Okay, it’s good but, it’s still Open Source and let me explain this a bit if I can. I’ve spent the past 7 years working for the US Federal Government and have been preaching open source the entire time I’ve worked there. Well, we have scored a MAJOR victory. We knew it was going to come when U.S. President Obama talked about wanting open source initiatives in his plan. [1]

Well, it has started. The Federal Times (A small press dedicated to U.S. Federal Agencies) wrote that the GSA (General Services Administration) has approved Google’s package of cloud-computing applications and is the first cloud to be certified by the hard hitting Federal Information Security Management Act (FISMA). [2]

The U.S. Federal Government has relied on Microsoft for years. Maybe, just maybe this is the beginning of a wide new world for the U.S. Government and Open Source.

[1] http://my.barackobama.com/page/-/HQpress/111307%20Innovation%20fact%20sheet.pdf
[2] http://www.federaltimes.com/article/20100727/IT01/7270305/

Countdown Banner for Wikis

25 July 2010

A couple of releases ago the California LoCo team was looking for a way to get a countdown banner to use on the wiki. Since the Wiki didn’t like that javascript or any of the other ways that was offered, I came up with this little hack. Now, it does take a bit of work but, in the end it is kind of nice.

You will need to get either the .png with all of the daily images or, a folder with all of the countdown days.

You will also need space on a webserver.

Take the images and get them to countdown with the name of the file corresponding with the day of the month. If the release is on the 16th then the file 15.png will be the file that says “1 day to go”.

Once you count back all of those upload them to a folder on the webserver.

Now comes the fun part. Edit your .htaccess file in the folder.

We will be using Rewrite to use multiple images with one file name.

Add these three lines to the .htaccess file.


RewriteEngine on
RewriteCond %{TIME_DAY} >1
RewriteRule ^.*countdown\.png$ %{TIME_DAY}.png

What this does is redirect the file “countdown.png” and point it to the other files based on day of month.

Hope this works for you as it has for me.

Syncing Akonadi with Google

14 June 2010

I recently switched from years and years of trust blackberry service with little to no linux support I found myself slightly disgruntled. I can come up with a few workarounds for Gnome for family members but, for KDE it was a nightmare. So, I decided to bite the bullet and get a Google Android phone. Being on the Verizon network I settled on the Motorola Droid. No, this will not be a fanboy post on the Droid so don’t worry.

After a while and accumulating around 500 contacts on my phone and seeing how it backed up to Google Contacts and the best part, Google Calendar I knew there had to be an easy way to sync this all up. After poking around I’ve found a great way using libgcal [1]

As a note, I am using Kubuntu 10.04LTS for this.

So, we will start with the necessary items.

sudo apt-get install libgcal0
and
sudo apt-get install akonadi-kde-resource-googledata

These are in the repositories however, the libgcal project has the source for a slightly newer version. [1]

Once installed open Akonadi Tray Utility. (Using Krunner: Alt+F2 akonaditray)

Once there Right Click on the Akonadi Tray icon and click Configure

To ensure that the Google Options are there you need to restart the Akonadi server. On the tab labled ‘Akonadi Server Configuration there is a nifty restart button, click it.

After restarted go back to the Akonadi Resources Configuration tab.

Click to add a new resource.

Select the Akonadi Google Calendar Resource

Supply your google username and password.

Once again click and and select the Akonadi Google Contacts Resource. Once again, input your google user and password.

Once that is finished you should be able to open KAddressBook and KOrganizer to view your synced contacts.

[1]http://code.google.com/p/libgcal/downloads/list

Virus Solutions KlamAV

24 May 2010

Recently I was asked by my neighbor to take a look at his laptop and see if I could help him clear a virus off of it. After spending some time trying to get McAfee Enterprises to work I realized with a bit of horror that what ever virus was on the computer it was blocking Internet ports and controlling what was coming in and out.

I discovered this when the Virus updates were not being allowed in and when you used ANY browser it was auto redirecting everything.

Well, the solution for this was suggested by Scott Kitterman (Thanks Bro) and worked brilliantly.

Use a LiveCD (I used Kubuntu but, the same will work with Ubuntu as well) and open up the software sources to allow for Universe.

Install KlamAV (KlamAV is the KDE Front End for ClamAV)

Mount the NTFS disk and scan. It worked like a charm and a couple hours later I returned the Laptop without the virus. I quickly preached about the horrors of using LimeWire.

Hope this can help someone else out there for fixing major Virus issues with Windows.

Documentation Model

30 March 2010

Earlier this year I spoke at CampKDE in San Diego, CA talking about Documentation. At the time there was a question asked about my thoughts on the roles of wiki pages and documentation. This has been on my mind for the last couple months and with the re-write of the Kubuntu Docs for the April release of 10.04 “Lucid Lynx” I have been thinking of the best way to get all the resources to work together within the world of documentation.

You can break documentation down into three basic categories; System Documentation, Distro Documentation and Wiki Documentation.

With these three you should be able to cover what is needed and required for good quality documentation. The key to all of this is flawless integration flowing down to the user. All three parts should be able to work together and refer to each other if needed.

System Documentation

This documentation is from the Desktop Environment. It should include documentation on the core packages, the environment and included installed programs.

Distro Documentation

This should include any distro specific changes from the environment, any programs install from the distro and any design changes.

Wiki Documentation

This is for setting up more detail. This should hold the key for setting up hardware along with tips and tricks. This is where you go into more detail.

Writing System and Distro Documentation

When writing documentation there are a few things you want to keep in mind.

Keep it simple. If you can explain the purpose or the use of something in 10 lines vice 50. Do it that way. Most people give up if they don’t see a resemblance of help in a quick scan.

Use prerequisites. If you are documenting the use of a network manager, prior them setting it up make sure you state they have connection. If not find a place in wiki documentation that explains in detail how to setup network hardware so the user will not get frustrated.

Overall system and distro documentation should be as non-technical as possible. This is for explaining the purpose and use of what you are documenting.

When writing documentation don’t shy away from the use of comments. This will help anyone coming behind you in trying to fix something find what they are looking for. Documentation inside is documentation is very important.

Wiki Documentation

There has been a fight for some time from the documentors and the wiki maintainers who is right. With this model both are given very hard and important tasks. This is where you can get in depth with explaining how to setup and use your system. This should be maintained by the distro itself for distro specific help. This is where you talk about setting up and use of the distro. Tweaking things to get each system working. This goes hand in hand with IRC help and Forums. The forums and irc are centers where people who get stuck in the wiki should be able to go when they need help with their system.

Overall documentation on every level is just as important as the last. With this model, it is impactive that all parties work together to ensure that references back and forth are smooth and seamless.

Just remember, we are here for the end user.

Temporarily Disable Touchpad While Typing

26 March 2010

One thing that I noticed is when typing my thumb or part of my hand will touch the mouse sensor pad and click it. Sending whatever I was typing to another place. The easy fix was to disable clicking via the touch pad but I found that I was used to it so here is a easy script to fix the problem.

Ensure you have tapping enabled.

Okay, once this is done we will be using a little tool called syndaemon. if you want to know more about this tool you can man syndaemon. But, my basic command should do the trick for you.

Open your terminal again and type in the following:

syndaemon -d -t -i 6

Okay, I’ll go through what this did for you.
# the -d flag tells syndaemon to run all the time and monitor the keyboard
# the -t flag tells it to only disable tapping and scrolling, not pointer movement.
# the -i flag is how long (in seconds) to disable the touchpad *after* the last keypress

So in a nutshell this will monitor the keyboard for activity and disable tapping for a set number of seconds. You will still be able to have pointer movement but, the click function will be temporally disabled. In the example above I have it set for 6 seconds.

You could try adding that command to your gnome sessions (System > Preferences > Sessions) to have it load at gnome login. This way it will always startup and run.

NOTE: You do NOT have to be root or use the sudo command for this to work.

If you found this helpful I would like to hear from you.

(K)Ubuntu 10.04 Beta

21 March 2010

Well, it’s that time again. We could use your input in testing. Please, download and install to help us test the beta releases. As a user of the Beta I can say that it is quite stable. However, be warned that it is not perfect. However, with this being a LTS (Long term Support) release we can use all of the testing we can get.

Kubuntu Download. http://releases.ubuntu.com/kubuntu/lucid/
Ubuntu Download. http://releases.ubuntu.com/10.04/

Kubuntu Tablet PC Part 3

21 March 2010

With the release of Beta, Wacom drivers are fully integrated in the netbook version. I have not done much with the tablet side of testing due to my move but, I will try to get more done with it as I move along.

Kubuntu Tablet PC Part 2

28 February 2010

Well, after some further digging I think that the module needed isn’t being updated in the new Kernal for 10.04A. However, I found something I think will work for it. there is a wacom linux project online that I found. http://linuxwacom.sourceforge.net/index.php/main So, once again I’m upgrading to 10.04A and seeing if using this project will work and if so I’ll have to give them all of my information.

Once I get it working I’ll post all the instructions up here.


Bad Behavior has blocked 254 access attempts in the last 7 days.