wesley tanaka

Tech

Shutdown not turning the computer off

()
My computer (Fedora Core 6) wasn't turning off when it was shut down (but instead halting after printing out "System halted," requiring a manual press of the power button to get it to turn off).

dmesg | grep ACPI

gave me:

 BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
ACPI: RSDP (v000 IntelR ) @ 0x000f6290
ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1f7f3040
ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1f7f30c0
ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1f7f6b00
ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Disabling ACPI support
ACPI: Interpreter disabled.
pnp: PnP ACPI: disabled
PCI quirk: region 0400-047f claimed by ICH4 ACPI/GPIO/TCO

which seemed suspicious. Then /sbin/modprobe acpi gave:

Enabling or Disabling compiz in Fedora Core 6

()
To enable or disable the wobbly window compiz window manager in Fedora Core 6 (e.g. if you want to switch back to metacity), go to System | Preferences | Desktop Effects or run:
% desktop-effects

It's included in the compiz package.

Puplet notification applet not working in fedora core 6

()

I was having a problem where puplet would show an error, saying that it was not receiving updates whenever I started it up. Starting it from a terminal and searching for the error that it produced led me to redhat bug 213622, which has a suggested fix and says that a new version of yum will fix the problem.

Converting SAMI (.smi) subtitles

()
I used this command to convert .smi subtitles to .srt format:
mplayer -vo null -ao null -noframedrop -sub FILENAME.smi -dumpsrtsub FILENAME.avi

rpm/yum crashes and hangs

()

I've been having trouble with rpm seg faults and yum freezing ever since upgrading to Fedora Core 6. For example:

.....
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
zsh: segmentation fault sudo yum -y update rpm
and this:
% sudo rpmdb --rebuilddb
zsh: segmentation fault sudo rpmdb --rebuilddb
To get rpm to start working again, I've been resorting to doing this, which fixes the problems most of the time:
% sudo rm -f /var/lib/rpm/__db.00* ; sudo rpmdb --rebuilddb

This has failed to work on one occasion:

Spam me with my own writing

()

Most of the spam coming to me recently has been of the "pump and dump" sort. These are the messages that tell you to invest in a particular unknown stock, which the sender has already purchased some amount of. The sender hopes that enough people will buy the stock that the price will be artificially driven up, at which point they can sell their shares for a profit. This seems like a great scam, because it's presumably a lot harder for law enforcement to follow the money. The scammers, who probably do this frequently, probably know from experience about when to buy stock so that they look like just another sucker. Plausible deniability.

Compiz desktop effects in Fedora Core 6

()

I started using AIGLX and compiz today.
No, that's not my computer.

It appears that to get the window manager actions to use the Windows button (a.k.a. Mod4 a.k.a. Super) insteaed of Alt, you need to open up gconf-editor and go into /apps/compiz and change various settings in there.

MIDI and Music in Linux

()

I'm considering trying to obtain some kind of MIDI keyboard. While trying to figure out which models might be somewhat supported on my computer, I started installing various software, primarily based on these articles:

  • http://www.redhat.com/magazine/023sep06/features/rosegarden/
  • http://wiki.ubuntustudio.org/index.php?title=Seq24_-_Introduction

After playing around for a while, I've come across some other introductory sites which I'm reading through

  • http://3345.com.au/sitemap.htm
  • http://hyperphysics.phy-astr.gsu.edu/hbase/acoustic/revtim.html#c3
  • http://linuxformat.co.uk/wiki/index.php/LXF_Tutorials

Quite a lot of time for wanting to get back to playing a classical piece or two and maybe learning the theory of chords a bit more thoroughly this time around.

GNOME deskbar applet

()
I've installed the deskbar applet recently on my Fedora Core 5 computer. (sudo yum -y install deskbar-applet). It seems to have some problems holding onto focus while I'm typing, but I might end up using it longer term. One thing that I've found is that:
/usr/lib/deskbar-applet/deskbar-applet --help
is good for debugging, since plugins that fail to load might output something to the terminal. I did have to do a few more things to get some of the functionality I wanted. They're described here:

Enabling Google Live Search

  1. Download the Google APIs developer's kit and put the GoogleSearch.wsdl file contained therein into ~/.gnome2/deskbar-applet/
  2. Create a google account and get your API key mailed to you
  3. Put the key in a file called ~/.gnome2/deskbar-applet/Google.key
  4. sudo yum -y install SOAPpy
  5. restart (logout/login or remove/add the deskbar)
  6. Enable google search in the deskbar preferences

Enabling Live Beagle Integration

  1. sudo yum -y install libbeagle-python
  2. restart (logout/login or remove/add the deskbar)
  3. Enable "Beagle Live" in the deskbar preferences
Syndicate content
by Wesley Tanaka