Displaying articles with tag

Enabling Sidebutton Cube Rotation in Compiz Fusion

Posted by hank, Sun Nov 04 20:29:00 UTC 2007

I recently was saddened when I found out that my side buttons wouldn’t map for some reason in Compiz Fusion after upgrading to Gutsy Gibbon. I finally got fed up and marched on down to #compiz-fusion on Freenode.


21:06 < Jupiter1tx> hardwarehank: ah there is the problem, if the settings are not saved then try to disable Integration in the Preferences  section of ccsm
21:07 < hardwarehank> Jupiter1tx: thanks - trying it
21:07 < hardwarehank> ok - it still deletes the settings and never starts working
21:08 < hardwarehank> i close ccsm and restart it, and its remapped to Button:None
...
21:14 < hardwarehank> what does it mean when binding names are blue?
...
21:14 < Jupiter1tx> hardwarehank: it means Integration is still enabled
21:15 < hardwarehank> DAMN!
21:15 < Jupiter1tx> hardwarehank: you might find it easier just to change to flat-file backend
21:15 < hardwarehank> heh ok
21:16 < hardwarehank> Jupiter1tx: you're my hero - it works
21:16 < hardwarehank> oh man im so happy

The solution is very simple.

Disable Integration into the Desktop Environment

This is accomplished through Preferences from the root screen of ccsm.

Map the keys in Rotate Cube

Now that that’s done, go to the keybinding section of Rotate Cube and look for blue text in the expanded tree. If you see it, Stop and check the first step again! This was tricky since I had to do step 1 twice. If there’s no blue, then set the Rotate Cube Left/Right button fields to Button8 and Button9 respectively.

Finally - I have all the functionality I had with Feisty/Beryl.

Tags:

Irssi Alias Magic using Perl

Posted by hank, Fri Aug 17 02:01:00 UTC 2007

Now, be aware that this could be a security issue if you let strangers onto your IRC session. They could do some cool shell tricks to break out of this exec command into the raw shell itself, but I’ll forget about that for now. I wanted an alias that would allow me to send a command to my bot to shorten a URL as well as announce the URL into the channel using some good old-fashioned ANSI Color.


/alias fu exec -o perl -e 'print "\#furryurl \${ARGV[0]}\\n"\; print "C4\$ARGV[1]" if(length(\$ARGV[1]))' -- "$0" "$1-"

Note: The C in C4\$ARGV[1] is really a CONTROL-C.

Run this in irssi, and you’ll get some sweet output:


# Upon running /fu http://www.google.com ralree
# The text for 'ralree' is actually colored red on output.
01:59:03 < hardwarehank> #furryurl http://www.google.com
01:59:04 < hardwarehank> ralree
01:59:04 < rufis> hardwarehank: http://www.furryurl.com/hx

I’m so happy!

Tags:

Turn annoying chatter into Kenny!

Posted by hank, Thu Mar 29 18:56:00 UTC 2007

This is the best idea for an irssi plugin ever.


13:46:15 < wolfeon[Kenny]> fmmppf, Mff'fpmmpp mmm pfpfmfmppfmmfmppffmffppfppp
13:46:25 < wolfeon[Kenny]> mfffmm Pppfmfppmmmm Pppfmfppmmmm mfmmmmffm 
                           ppfpffmffmpppppfmpmppmpm?
13:46:32 < wolfeon[Kenny]> pmmfmffmmfmp pmfmfffmmfmpmpppppmffpppmfm fmpppf mmm 
                           Mpppppmfmpmfmfffmmmfp 
                           fmppffmmmpppfmmpmfmmmfmpmffppfppp
13:46:51 < wolfeon[Kenny]> fmpmfpmpppffmpp mmmpffmpp 2 ppmmmmpmfmpp 
                           fmmmffpppmfmmpppfffmm mmmfmm fmpmfpmpp 
                           ppfpffmffmfmmffpppmmmpmf Pfffmffmmfmmmffmmmppp
13:56:09 < hardwarehank> wow.
13:56:13 < hardwarehank> thats awesome

To use:

  • Drop this in .irssi/scripts/autorun

svn co http://modzer0.cs.uaf.edu/repos/hank/code/perl/irssi/kenny.pl
  • Restart irssi

Tags:

How to ignore people on IRC

Posted by hank, Sun Mar 11 05:02:00 UTC 2007

I love irssi:


/ignore wolfeon
/ignore -regexp -pattern "wolfeon" *
/save

Now, I have wonderful silence. This will prevent me from lashing out again.

Tags:

Setting up message level ignores in irssi

Posted by hank, Fri Mar 02 19:28:00 UTC 2007

Yes! I finally figured out how to set my ignores up in irssi’s config! It’s this easy:


ignores = (
  { mask = "help"; level = "ALL"; },
  { level = "JOINS PARTS QUITS MODES"; channels = ( "&bitlbee" ); }
);

Ah finally - now I just see messages. No more scrolling!

Tags:

Coloring with irssi!

Posted by hank, Sun Feb 25 05:06:00 UTC 2007

Oh boy! Font coloring in irssi is FUN!

This pretty much covers it. Hope you learned something!

Tags:

IRC Query Command

Posted by hardwarehank, Mon Jul 10 12:24:57 UTC 2006

So, if you want to chat with another user explicitly without having to /msg all the time, just use /query.


[04:19pm|bish0p< you can do /query <user>
[04:20pm|bish0p< and it puts you in a direct chat chat mode with that user
 Starting conversation with bish0p
[04:20pm|bish0p< until you do a /query 
[04:20pm|bish0p< then it leaves direct converstation mode
[04:20pm|bish0p> awesome
[04:20pm|bish0p> thats what i was looking for thank
[04:20pm|bish0p> i forgot what it was called
 Ending conversation with bish0p

Oh how amazing. Now Kelsey might not have to use a seperate channel to chat with me.

Tags:

New Laptop? All signs point to yes.

Posted by hardwarehank, Fri Jun 23 23:27:56 UTC 2006

Happy Birthday Me! Well, I think it’s settled:


[03:25am|hardwarehank> #8ball should I buy a new laptop with my BDay $$?
[03:25am|rufis/#modzer0 shakes the magic 8-ball... all signs point to yes
[03:25am|hardwarehank> then it is done

Oh alas, the hinge is tormenting me. I think I must buy another laptop soon. But should I do it before OSCON? I don’t know!!

Tags: