Malicious enjoyment derived from observing someone else’s misfortune
 

Tag Archives: ubuntu

Enabling Sidebutton Cube Rotation in Compiz Fusion

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 [...]

Gutsy Fusion Pain

I couldn’t get my stupid mouse to work properly, so I took action and edited my xorg.conf! Section “InputDevice” Identifier “Configured Mouse” Driver “mouse” Option “CorePointer” Option “Device” “/dev/input/mice” Option “Protocol” “ExplorerPS/2″ Option “Buttons” “7″ Option “ZAxisMapping” “4 5″ Option “Emulate3Buttons” “false” EndSection Also, Compiz Fusion seemed to keep control of my Windows key after I disabled all it’s bindings for it, and wouldn’t let it go until I restarted X. Oh well, my Amarok rating global hotkeys work again [...]

Hacking a WRT54G v8 With DD-WRT

So, last month sometime, BrainSlayer got DD-WRT working on version 8 of the WRT54G. Now this was great news to me when I read it since I’ve been wanting to get rid of the crappy LinkSys management from the beginning. Some of the procedure worked, and some of it didn’t for me. Do not try this if you don’t know exactly what you’re getting into.

Compiling Stepmania in Ubuntu Feisty

OK – so I love DDR. I was trying to compile Stepmania this morning, and found that it has some issues. I found the answer to the first issue in this post, and found the answer to the second in this one. Apparently, there are some patches that have gone into 4.0 CVS that haven’t been put into the old source. Procedure Get the Stepmania Source and extract it somewhere. Now we need to get stuff to compile it: sudo [...]

Linux command line tips and tricks

This awesome page told me about the <<< operator in bash. It rocks. It also told me the best way to set an initial login password: umask u=rw,go= openssl rand -base64 6 | tee -a PasswordFile | passwd –stdin joe chage -d 0 joe Also, there’s ssh-copy-id: Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine

How to concatenate 2 avis together

Found the answer here. sudo apt-get install transcode avimerge -o myvideo.avi -i video1.avi video2.avi Took about 3 minutes here for over 1GB of video.

Hawt presentations with Beamer and KeyJNote

I stumbled upon KeyJNote today, and was very intrigued. I could use this for presentations! So, I figured I’d write up a little tutorial on how to make one. I’m going to use LaTeX and Beamer to create my presentation, but you can use whatever PDF-exporting software you would like. This is Ubuntu/Debian specific, so if you don’t use one of those, figure out the package install commands on your own. First, install stuff: sudo apt-get install keyjnote latex-beamer Now [...]

Ubuntu hides gems from you!

You might think Ubuntu would put its gems someplace normal, such as /usr/lib/ruby/gems… Wrong. It puts them in /var/lib/gems, which explains why the cheat gem doesn’t work when installed. Now I need to add /var/lib/gems/1.8/bin to my $PATH.

Switching between text consoles in Feisty

Wow! A great tip from DevastatorIIC today: 23:35:22 < DevastatorIIC> Super+Left/Right switches between ttys He’s right! What an awesome discovery.

Force Removing Packages in Ubuntu

I couldn’t update tor in Ubuntu because it freaked out when I didn’t have a /var/run/tor directory. Even after creating the directory, it still freaked out. I ended up using the method in this post to fix the problem. Here’s my resultant /var/lib/dpkg/info/tor.prerm: #!/bin/sh set -e # Automatically added by dh_installinit #if [ -x "/etc/init.d/tor" ]; then # if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then # invoke-rc.d tor stop || exit $? # else # /etc/init.d/tor stop || exit [...]