return to OCLUG Web Site
A Django site.
January 23, 2012

Rob Echlin
echlin
Talk Software
» Blog tools in Linux

I decided to look at what blog tools are available in Linux. I want to  use them with my WordPress.com blog, of course, so that is how I tested them.

I have only checked out a couple of tools, but I find them mostly not working very well with WordPress.com. The only one that has worked at all is QTM, so far.

BloGTK

This is the recommended tool for Linux, according to the WordPress site. It won’t install in Oneiric. I expect I could make it work if I fiddled with some settings for apt-get, maybe. But the author is not working on it, so no real desire to try.

gnome-blog

Broken. Intended for Gnome 2. One of the libraries is not compatible with Gnome 3: “python-gnomeapplet”. Maybe there is no concept of applet in Gnome 3?

Drivel

I tried it. Editing a new post worked. There were error messages connecting to WordPress.com. I was not able to post the blog because it could not get permission to write.

QTM

This one was able to post a message, but left the message in the “draft” state on WordPress.com. That may be my fault – there is a “draft/publish” drop down on the app.

Because it was “posted”, it put the file into some sort of archive state, so that the next time I went to edit, I had to fiddle around to be able to see it. Finished editing the post on WordPress.com.

Other options

There is at least one plugin for FireFox for editing blogs. But I was looking for tools for Gnome so I can try out Gnome 3, so I haven’t tried it yet.


Tagged: Gnome3, Linux, software review

January 17, 2012

Rob Echlin
echlin
Talk Software
» Installing Mint 12

I installed Mint on my laptop the other day. Then I installed Cinnamon, which is Mint’s Gnome 3 based interface. I wanted to learn about Gnome 3′s powers, but without all the Gnome 3 hassle.

Installing Mint

I have to get some DVD’s – they want to put a GB in the installer. Fortunately there is a CD version without Office software and without codecs. Somepages indicate there are Windows installers, but I didn’t find one. It would be nice to have one for my work computer.

Installing Cinnamon

Installing Cinnamon was easy. Select Cinnamon in Synaptic and install it. Err, no, not in the list of selected items when I tried to choose at login time. Select cinnamon-session and install that (the notes said to do that). And now I am in Cinnamon.

Actually, I liked “Nate”, Mint’s Gnome 2 interface, a bit better. I liked having the menu as one of the choices when you select the thingy in the top left corner. In Cinnamon, the menu is in the bottom left.

Cinnamon Menu

In the Cinnamon menu, there are three columns. The left column is favorites, with some stuff you can’t get rid of like shutdown and lock screen. When the mouse is over an item, the bottom of the menu block, on the right (as far away from the favorites as possible) is the name and one line description of that application.

It actually makes sense to be on the bottom right, you should soon know what your favorites are, and the right column is the apps of the highlighted category in the middle column.

Faves can be removed using the right click menu. Also, you can right-click on a program to add it to favorites.

Firefox mysterious disappearing menus

By default, the Firefox menu system is missing. It turns out that Ubuntu disappeared it by installing a plugin that moved it to the Unity menu location, which is presumably some Mac-like common menu location.

So I could not use Firefox menus to get at the Addon Manager to kill the creepy addon.

I used a command line parameter to get at it, which I got from some web page I can’t find now. However, you can type “about:addons” in the address bar to get there.

The Guilty Addon is called “Global Menu Bar Integration”, and you can’t uninstall it, you can only disable it.

Broadcom Drivers

My laptop has Broadcom wifi, 4318 style. On all the other Ubuntu versions I have installed, I had to install the right thing, run the right script and then maybe remove the right lines from a config file.

This time, I was able to search in Synaptic for “Broadcom”, and install the package b43-fwcutter, and it worked! Wow!


Tagged: Linux, review

December 20, 2011

Ian Ward
excess
excess.org - News
» Super Meat Boy with Reconfigured Keys

The Humble Indie Bundle #4 was nice enough to bring Super Meat Boy and a bunch of other great games to Linux. The SMB people however seem to want to punish you for playing on a keyboard and leave you with SPACE as jump, SHIFT as run, and no way to reconfigure the keys.

Here is a little xmodmap script that makes playing on a keyboard much more enjoyable:

keysym x = space
keysym z = Shift_L

Just save this as xmodmap.meat and then run xmodmap -pke > xmodmap.orig to save your original key settings.

Finally, run xmodmap xmodmap.meat before starting the game, and xmodmap xmodmap.orig when you're done.

December 8, 2011

Ian Ward
excess
excess.org - News
» Speedometer 2.8 Released

This release adds the long-requested linear scale feature to Speedometer. You can now also adjust the minimum and maximum values displayed, and switch all units shown to bits per second.

November 20, 2011

Brenda Butler
bjb
linuxbutler
» debian kernel source build package bug

The official Debian kernel building tools are a thing of wonder. But, it didn’t do what I wanted, which was to build the exact version of the kernel that I’m running. I guess it is only ever used to build the latest version.

debian bug 649394

Here is the best documentation I found for this task. It refers to this which is also pretty good.

Also, reportbug failed (it was unable to get the list of open bugs for this package from the Bug Tracking System) — I used debian-bug in debian-el package (as noted at the bottom of this page). To actually send the mail, use ctrl-c ctrl-s in the mail buffer (or ctrl-c ctrl-c if you want to send the email and exit emacs).

UPDATE:

Maybe I misunderstood … maybe the -5 is not the patch level I’m aiming for. We shall see.

UPDATE:

No, the -5 is the “ABI” level, and has nothing to do with the Debian patch level. So there was no bug. I was supposed to build with all the patches. Live and learn …

November 15, 2011
» Linux Patching and Oracle – how to detect RPM conflicts before they happen.

A common scenario in the life of a DBA on a linux server looks something like this: From: Sue-the-sysadamin To:the-dba Date: 2011-10-28 17:54:34 Dear DBA, We will be patching the linux systems this Friday night, October 28th at 21:00. The list of patches is attached. Let us know if there are any conflicts with Oracle. [...]

October 28, 2011

Dave O'Neill
dmo
blog
» Drives with 4k sectors

I have a new disk that uses 4kb sectors. Unfortunately, on the system it's installed in, none of the partitioning tools deal with this automatically, leading to near-guaranteed misalignment and slower performance, or so says the Googled results (JFGI yourself... I'm too lazy to paste the links here). So, here's what I did:

more

October 7, 2011

Rick Leir
blinkmonitor
Blink Monitor » Linux
» LPI Linux Certification

LPI Linux Certification in A Nutshell 3rd edition, Adam Haeder, O’Reilly, 2010

This certification may be useful to Linux system admins. Too bad they have left out virtualization, which most job reqs will include. It will appear in a ‘level 3 specialty’. In any case, the book is a good summary of Linux admin tasks. 450 pages.

September 16, 2011

Rob Echlin
echlin
Talk Software
» Gaming day for OCLUG this Saturday

Hi
It’s game day, and Software Freedom Day, for OCLUG tomorrow, Sat Sep 17.
11 am to probably 3pm.
Room T117 at Algonquin College on Woodroffe – that’s in building T.

BZ Flag server v2.0.x will be provided on the local LAN.
There will be some other games for kids, and mine will be there.
There will be some software demos, at least one for ‘R’.


Tagged: games, groups, Linux

June 23, 2011

Ian Ward
excess
excess.org - News
» Recording Both Sides of a Call

I set up a VM to present software to a client remotely, but I needed a way to record both the audio in and out so that I could capture both my presentation and the client's questions. In the past I've used some ALSA configuration magic for audio things advanced enough that they don't have a friendly GUI, but since Pulse Audio is the shiny new thing I decided to go that route.

It turns out to be fairly simple. I create a new null sink (think: fake sound card for output) and attach a loopback from the audio out monitor of the "real" sound card and another from the the audio in of the "real" sound card:

pactl load-module module-null-sink sink_name=bothsides
pactl load-module module-loopback latency_msec=5 sink=bothsides \
      source=alsa_output.pci-0000_00_04.0.analog-stereo.monitor
pactl load-module module-loopback latency_msec=5 sink=bothsides

The alsa_output... source comes from running pactl list and copying the device name. The second loopback automatically uses the only alsa_input... source device. Then I can record from the monitor of this null sink with a command like:

pacat --record -d 2 | sox -t raw -r 44100 -s -L -b 16 -c2 - "recording.wav"

The -d 2 option selects the new null sink monitor device I created (the index may be different in your case). Last, you may want to use the pavucontrol program to adjust the levels for the input and output so you don't end up with one sounding much louder than the other in the combined recording.

June 14, 2011

Ian Ward
excess
excess.org - News
» Python 3 Argument Sketch Slides

Here are the slides from my Python talk at OLS this afternoon.

May 20, 2011
» Using KateSQL to connect to an Oracle database in Kate

Among the features announced with the release of version 4.6 of the KDE Software Compilation is KateSQL, a SQL Query plugin for the Kate text editor providing the basic functionality of a SQL client. It leverages the Qt SQL module, allowing you to make a connection to most types of databases. Out of the box [...]


Ian Ward
excess
excess.org - News
» Python 2 and 3 Slides

Catching up on some more old business: here are the slides from the Python 2 and Python 3 talk I gave at last month's OCLUG meeting.

I am also preparing some Python tutorials for the upcoming 2011 Linux Symposium in Ottawa June 13-15. Hope you can make it.

May 18, 2011

Bart Trojanowski
jukie
Bart's Blog
» how to manually create a 6in4 tunnel

I'm doing some IPv6 codig for a client and needed to setup a bunch of 6in4 tunnels.

Thre are many ways to do this through distribution init scripts (Debian, Fedora), but I wanted something less permanent and more dynamic for testing.

The procedure can be summarized in these steps:

  • create a tunnel mytun between local 1.1.1.1 and remote 2.2.2.2

    ip tunnel add mytun mode sit local 1.1.1.1 \
                    remote 2.2.2.2 ttl 64 dev eth0
    
  • give the local end an address

    ip addr add dev mytun f8c0::1.1.1.1/64
    
  • bring up the tunnel

    ip link set dev mytun up
    

[Read More]

May 16, 2011

Rick Leir
blinkmonitor
Blink Monitor » Linux
» Linux Symposium

Have you registered yet for the Linux Symposium? Featured speakers include Jon “Maddog” Hall and Jon C. Masters.

The goal of the Linux Symposium is to bring together Linux developers, enthusiasts, and systems administrators to improving communication, strengthen the personal connections within the Linux Community and to promote the open and free dissemination of new ideas. We see our community as the most diverse group ever to collaborate on a single project and we are very proud to have played our part for the last 13 years.

May 5, 2011

Rick Leir
blinkmonitor
Blink Monitor » Linux
» Practical Guide to Ubuntu

A Practical Guide to Ubuntu Linux, Mark G. Sobell, ( 2011)

You will find this useful if you are using any Linux Distro, not just Ubuntu. 1200 pages, with a DVD.

April 4, 2011

Ian Ward
excess
excess.org - News
» Python Talk at OCLUG on Tuesday

I will be giving a talk on Python 2 and Python 3 at the Ottawa Canada Linux Users Group meeting on Tuesday. Hope to see you there.

April 3, 2011

Rob Echlin
echlin
Talk Software
» Learning about Git

Origins

Git was invented by Linus Torvalds to use with the Linux kernel. There were performance and political, aka licensing, issues with the previous version control system that the kernel used.

Selected Features, from Wikipedia

  • Strong support for non-linear development
  • Distributed development
  • Efficient handling of large projects
  • Pluggable merge strategies
  • Toolkit-based design

Description

Git is a distributed system, modeled on a file system with built in versioning. Linus wrote it for speed in the use-cases he cared about with the kernel:

  • Patches supplied by email or grab from other user’s repositories
  • Pick and choose among patches provided
  • Merging many patches per day
  • All users comfortable with the command line

I have used it for about a year, and found it very useful, with a few caveats. I use it at home a lot. It allows me to propagate data between systems very quickly, so I use it as backup for my own work at home. I started with a single repository containing several small unrelated projects and non-software files, such as my career-tools folder which contains resumes, personal cards, graphics and sample letters. I learned the hard way that putting it on a USB key requires keeping free space on the stick greater than the total size of the repository. I haven’t gotten around to breaking it up into a couple dozen separate repositories, but I will. Also, I learned that a 600MB repo takes a long boring while to update on really slow media such as a USB stick.

When using Git, you grab a copy of the whole repository on your local machine. That’s what makes it a “distributed” version control system. You “commit” your changes to your copy of the repository. To share them with others, you then “push” them to a central repository when you are ready, or ask others to “pull” from your repository. This basically means committing all changes twice: locally, then centrally.

At work I used Git with a small team of three people. I learned that, like using a stick-shift transmission, Git requires a commitment to learning that is higher than on an automatic transmission.

Some people use manual transmissions inefficiently and in ways that I cringe at, shifting too often or not often enough, not matching revs, and have no idea how or when to double clutch. Modern car transmissions are designed to survive this treatment. Keep those people away from trucks.

Git is like a manual transmission. You should commit to learning more about it than you think you need to know. There is always more to learn. Also, you can use “work flows” with it that are difficult to do with Subversion or most other VCS’s.

The Linux kernel team has thousands of developers who contribute to it, hundreds who contribute frequently, from sites around the world. Their work flow might not work in a centralized repository. A simplified version of their work flow (assuming the change is perfect) goes like this. You grab a copy of the latest “blessed” kernel code from the canonical git repository on GitHub, make changes, test them, and then tell the person in charge of that part of the kernel. This person grabs the code from your GitHub copy of the kernel repository, or receives it from you by email, examines it, tests it, merges it with other changes in the same part of the code and submits it upstream to one of Linus’s main “lieutenants”. This gatekeeper will similarly examine it, merge it with other changes, test it, and promote it to Linus who may choose to accept it.

This work flow is very different from a “small” environment where, of maybe a hundred developers on a project, 5 or 20 are working on one part of a project and have that part of the code to themselves. Git works with these teams as well. It is fast and supports complex merges.

Git also supports different work flows that you may not be used to. For instance, I knew a team that used git internally, and then submitted changes centrally to the corporate Subversion repository. This had several advantages. The team leader could filter submissions from new employees. They could do local commits to their own repository frequently, say at 5 minute intervals on a temporary branch, share with their team mates on a common branch when a small change was ready, and not be delayed by the slow submit time to the Subversion server in England. Changes could be “summarized” in the corporate Subversion repository, so that all those unfinished changes in the 5 minute commits were not seen, and failed, by the Continuous Integration server.

Git also supports using a central repository that people can push their changes to. This is a repository that has no “working copy”, just the repository database.

“Tags” and “branches” are a local idea in git. This means you have to push your tags manually so that other people can see them. Also, if you don’t explicitly copy  your branch to the server, git will happily push your changes but you will not be able to find them easily as they are not on a branch on the central repository.

How to lose your changes in git: Create a new branch locally, make changes, push them to the server that does not have that branch, and delete that branch locally, forgetting to merge to a main branch. That’s a bit like trying to shift down from third to second on an uphill, taking too long and then stalling because the truck is going too slow for second gear when you finally complete the shift. In this case, my co-worker recovered because he found the commit ID on a scrollback log in the terminal window where he did the commit.

Git works best when someone on your team is an expert and everyone takes time to learn more than the minimum.

Main Git web pages

  • http://en.wikipedia.org/wiki/Git_(software)
  • http://git-scm.com/
  • http://whygitisbetterthanx.com/
  • http://unspecified.wordpress.com/2010/03/26/why-git-aint-better-than-x/

GUI tools for Git

There are now GUI tools for Windows, and plugins for many IDE’s.

  • http://en.wikipedia.org/wiki/Git_(software)#External_links

 


Tagged: Linux, software, team tools

February 28, 2011

Rob Echlin
echlin
Talk Software
» Yet Another Dave, A?

I appreciate Dave’s sense of rumour, his up-to-wait technical knowledge, and  his assistance.

His wiki has some (ok lotsa) stuff I don’t have.


February 26, 2011

Rick Leir
blinkmonitor
Blink Monitor » Linux
» CompTIA Linux+

book coverCompTIA Linux+ Complete Study Guide Exams LX0-101 and LX0-102, Roderick W. Smith, (- 2010)

If you want to get certified, this will help.