JD's Linux Love
Wherein I jot down interesting Linux and other geeky tidbits.
Magic SysRq key
Nice, complete, discussion of the “magic sysrq key”, which are a set of keystroke combination that can allow you to get out of a “frozen” Linux. Hold down Alt+SysRq+[REISUB] key to get fun stuff to happen.
Yup, I really miss my HP-16c, although the Android app I have, RealCalc, does an excellent job of emulating one on my G1.
Tramp not working in Emacs
I’ve been having this problem for a few weeks now. The ‘sudo’ file editing hack I mentioned a couple of months ago stopped working with a strange error :
Wrong type argument: numberp, 1288700312.000000000.0
Looks like some bug in a returned value from the shell. Here’s a patch to Tramp.el to fix it.
via i.imgur.com
Write in C - Let it be Cover - Piano (via schoedav)
Too funny! And I surely agree - Write In C!
Mouse problem?
Having problems with a stuttery or even frozen mouse when playing Linux games like Doom, OpenArena or Teeworlds? Or a non-functioning mouse in your precious DosBOX games? Try setting an environment variable in your .bashrc file:
$ cat >> ~/.bashrc # Set this to fix mouse problems in Linux & DosBOX games export SDL_VIDEO_X11_DGAMOUSE=0 ^D $ source ~/.bashrc $ dosbox -conf master_of_magic.conf
VoilĂ , it should work! After digging deep into my Google-fu, I found that “DGA” stands for “Direct Graphics Architecture”, an XFree86 proposal for better dealing with fullscreen graphics. I guess it proposes some kind of hardware rendering for the mouse and other lowlevel things, but it looks like the latest X.org 1.9 driver broke things. My DosBOX games were working just fine and then the mouse stopped working. Setting SDL_VIDEO_X11_DGAMOUSE means to don’t use the “DGA” mouse and all of a sudden, my mouse was working again.
Hopefully, this is something that a later revision of the X driver will address, as I didn’t used to have this problem.

