Tuesday, June 22, 2010

fix for cups socket printing in Debian GNU/Linux 6.0 testing

I couldn't print to a Dell M5200 printer and found that I was getting a socket error. I was able to telnet to the printer, so it wasn't my network connection... It turns out it was a permissions problem. This bug thread for Ubuntu seems to have more.

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/596611

Thursday, June 17, 2010

slime and sbcl with Debian 6.0 testing

I had some trouble getting slime to work with Debian 6.0 testing using sbcl. This page had the answers. It might not be ideal, but it's working for right now.

Thursday, June 10, 2010

Adding a screensaver to Ubuntu 10.04

I wanted to add a simple screensaver that had a floating SVG of the Condor project's logo. You can download the SVG file here.

  1. sudo cp condor_logo.svg /usr/share/pixmaps
  2. cd  /usr/share/applications/screensavers
  3. sudo cp footlogo-floaters.desktop condor-floaters.desktop

  4. sudo vim condor-floaters.desktop
    [Desktop Entry]
    Name=Floating Condor Logos
    Comment=Bubbles the Condor logo around the screen
    Exec=/usr/lib/gnome-screensaver/gnome-screensaver/floaters /usr/share/pixmaps/condor_logo.svg
    TryExec=/usr/lib/gnome-screensaver/gnome-screensaver/floaters
    StartupNotify=false
    Terminal=false
    Type=Application
    Categories=GNOME;Screensaver;
    OnlyShowIn=GNOME;
    
    
  5. sudo /usr/share/gnome-menus/update-gnome-menus-cache /usr/share/applications > /tmp/desktop.en_US.utf8.cache
  6. diff /usr/share/applications/desktop.en_US.utf8.cache /tmp/desktop.en_US.utf8.cache
  7. Make sure the diff looks like what you expect
  8. sudo cp /tmp/desktop.en_US.utf8.cache /usr/share/applications/desktop.en_US.utf8.cache