LFNW

February 4, 2010

Im going to Linxufest Northwest 2010 April 24-25th

Termcap issue with rxvt-unicode

January 7, 2010

Now that I’ve moved to xmonad for all my desktops I’ve also made the switch to rxvt-unicode (or urxvt) as my primary terminal. Now when I ssh into some of my boxes I get the following errors when I try to edit a file:

$ vi filename
vi: No terminal database found
$ nano layout.css
Error opening terminal: rxvt-unicode.

What’s weird is this happens on some of my FreeBSD 8.0 boxes and not others.

Figured out a fix.

# export TERM=screen
# cd /usr/share/misc
# nano termcap

Added the following just below the ‘rxvt-mono’ section:

Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry rxvt-unicode|rxvt-unicode terminal (X Window System):\
:SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
:ti=\E[?1049h:tc=rxvt-mono:

# cap_mkdb termcap

Log out and back in again and you should now be able to use vi/nano/pico/etc.

BTW: This isn’t anything original. I found the fix at http://lists.freebsd.org/pipermail/freebsd-bugs/2009-April/034865.html

xmonad install on OpenSUSE 11.2

December 20, 2009

Just my notes on how I got xmonad working on my PC at home (I also am running it at work). Please remember that I am only configuring this to work for my user account instead of setting it up globally.

Read the rest of this entry »

xmonad

December 8, 2009

One of the guys in the LUG did a presentation a couple of months ago on xmonad, a tiling window manager. Thought it was a little weird but decided to give it a try over the last few days.

All I have to say is WOW! It’s pretty amazing. I’m totally hooked. I’ll post some docs over the last while on how I got the latest version up and running on OpenSUSE 11.2 since the only packages I could find for it were really old.

And no Nathan I will NOT be switching to a dvorak keyboard! I’m not that crazy. ;-P

Putting Swine Flu in perspective

October 29, 2009

http://www.flickr.com/photos/michaelpaukner/4052849920/sizes/o/in/pool-16135094@N00/

Makes you think, doesn’t it?

Swine Flu

October 26, 2009

As everybody is aware, the government is insisting that everybody get the Swine Flu vaccine. In the Okanagan, it is predicted that 20 people will die from Swine Flu.

What I’d like to know is how many people die of the flu normally every year in the Okanagan??  I bet they don’t keep a record of that.

Anyways, I think it’s interesting that history is repeating itself. Check out this interview from 1979 on 60 Minutes – http://www.whale.to/vaccines/swine.html

Remember the swine flu scare of 1976? That was the year the U.S. government told us all that swine flu could turn out to be a killer that could spread across the nation, and Washington decided that every man, woman and child in the nation should get a shot to prevent a nation-wide outbreak, a pandemic.

Sound familiar?

Why bother?

October 20, 2009

Really. Why bother?

Happy Blasphemy Day!

September 30, 2009

Got this rather strange guy at work (Hi Dennis!! hahahaha) who keeps up with all the weirdest news, facts, etc. He let me know today that it’s Blasphemy Day today (September 30).

I have to agree with the whole idea of Blasphemy Day. Why can’t we question religious ideas without fear of being killed?

International Blasphemy Day is not just a day.  It is a movement to dismantle the wall which exists between religion and criticism.

The primary focus of the Blasphemy Day movement and indeed this website is not to debate the existence of any gods or deities.

The objective of International Blasphemy Day is to open up all religious beliefs to the same level of free inquiry, discussion and criticism to which all other areas of academic interest are subjected.

http://www.blasphemyday.com

Keyboard locks up with Citrix Client

September 24, 2009

Been having this weird issue over the last few days where my keyboard “sort of” locks up. It’s weird. I can do a CTRL+ALT+F1 and type in another virtual console. I can also do a CTRL+ALT+BACKSPACE and restart X. But if I try to type into my browser, OpenOffice.org, etc nothing responds. I can move the mouse, etc with no issues.

The only common denominator that I can find is that I am often running the Citrix Client or VMWare Workstation.

Found a fix at http://forums.citrix.com/thread.jspa?threadID=247676&tstart=0

Our engineering team has come up with the following workaround which has worked for some customers:

The work-round is to edit the file config/module.ini below the client’s installation directory (usually /usr/lib/ICAClient), find the line “UseLocalIM=True” and change the value to “False”.

Giving it a try. Just put this here so I’ll remember what the heck I tried.

Installing Tracks 1.7 on FreeBSD 8.0 Beta4 with lighttpd

September 15, 2009

NOTE: I did it again! I screwed up my FreeBSD box so I decided to dump the Tracks database and reinstall everything. My old docs (FreeBSD 7.1 and Tracks 1.7) can be found at http://www.linuxgeek.ca/wordpress/?p=80

Because I’m restoring from a MySQL database dump, I removed the notes on setting up the MySQL database and only show instructions for importing the dump. Look at my old docs for those instructions.

First a couple of notes:

1) I’ll be putting ‘testing’ as a password throughout this. Please use a proper secure password wherever you see ‘testing’.

2) USE AT YOUR OWN RISK This installation is being done on a machine on my private LAN behind a firewall. I do not guarantee that this system is secure in the slightest. If these instructions blow up your machine, give you brain tumors or cause you to suddenly like New Kids on the Block don’t blame me!

If you agree with the above then let’s get started… Read the rest of this entry »