Displaying articles with tag

Fixing .Xdefaults in Ubuntu

Posted by hardwarehank, Thu Oct 26 16:16:15 UTC 2006

I have been having a problem getting .Xdefaults to be loaded in X. This is a major issue for me since I like my fonts to be a certain size in aterm, but I don’t want to hack up my runline in fluxbox to reflect all the custom settings. Therefore, I have all my settings defined in the .Xdefaults file. So, tonight, after I upgraded to Edgy Eft, I decided that this needed to be fixed. After a quick google google I found that all I had to do was run:


xrdb -merge ~/.Xdefaults

And all my problems were solved. A quick insert into .fluxbox/startup and I was in business.

In other news, Edgy Eft Rocks. Just customized the default GDM theme so it looks better. I think I might want to get a MacBook or a nice Powerbook G4 for my next laptop. Apparently, in Linux, you can make the touchpad act like Synaptics with a driver hack to put it in raw mode. As far as I can tell, this is merged in the newest Linux kernels. This allows for the kind of tap clicking I like (1 finger for left button, 2 for middle, 3 for right), and thanks to a broken left touchpad button on the Asus M6N I have, I’ve gotten used to this style of clicking, and I like it now.

Tags:

Make irb Do Tab Completion

Posted by hardwarehank, Wed Jul 05 13:03:54 UTC 2006

I was missing readline. The sadness. Thanks to these guys, i fixed it. Here’s how to do it on FC5:


sudo yum install ncurses-devel readline-devel
cd ruby-1.8.4/ext/readline
ruby extconf.rb
make
sudo make install

Tags:

First Post, What to say

Posted by hardwarehank, Sat May 20 21:46:40 UTC 2006

Well, I finally got this damn blog working thanks to bish0p. Turns out that you have to change the shebang line from

 #!/usr/bin/env ruby

to

 #!/usr/local/bin/ruby

Ahh typo is nice. Other crap I learned today:

Problems with typo themes generating application errors can be solved by changing this line in layouts/default.rhtml

<%= render_component(:controller => 'sidebars/sidebar', :action => 'display_plugins') %>

To this:

<%= render_sidebar %>

Thanks to This dude.

I generated a new GPG keypair today (Public Key). Get it like this:


 gpg --keyserver subkeys.pgp.net --recv-keys 46C171A0

I also integrated into Pine, which makes it simple to send signed/encrypted email.

I’m still struggling with Ruby/SVN bindings by kou. They are completely undocumented, so I have been trying to analyze the tests that are included in the svn source. Apparently, Collaboa is using them in their rails app. I will have to take a look at their code, and hopefully it will shed some light on the subject.

I upgraded phpGedView today, so it’s a secured. Home directory cleaning ensued, and now my mod0 space is much more efficiently used.


I jumped back into the old Afternet #trivia chan tonight, after about 10 minutes of trying to remember what network it was on. I had some trouble with BitchX autoignoring the triviabot, so I googled a fix for it:


# To Add someone:
/addnoflood nickname
# To list:
/addnoflood

Yay - now I can use the bot in peace. I better dump the commands so if I ever go back I don’t have to flood the chan trying to remember everything:


To play, just watch for Weirdbot to ask questions, and type in the answer.
Some useful commands to get you started:
!hint     (shows some letters of the answer, helping you guess)
!repeat   (if you missed the question)
!stats    (to see your stats and scores)
More help is on the following topics, do !help <topic> for more information.
auth   best   categories   commands   gmail   website

Commands available to you: (privileged commands)
!add    (to submit new questions)
!category (to choose next period's category)
!fix      (to mark the question for a spelling or fact fix)
!friend   (to make a friend of the channel)
!hint     (to begin showing hints)
!join     (to join a team)
!ping     (to request a latency ping)
!repeat   (to repeat current question)
!rules    (to show game rules)
!server   (to show best irc server)
!seen     (to show when your friend was on)
!stats    (to show your stats)
!suggest  (to make a suggestion)

I started trading for real today. It’s a big step, and from now on my taxes will be harder to do.

Tags: