try this it worked for me. http://www.google.com/support/forum/p/c … 4e32e57ab6
Note: in the post by davidhi he has a typo he says to mkdir -p /emul/ia32-libs then later refers to /emul/ia32-linux. These should be the same directory. 

-N

I love crunchbang but I am stuck with Windows at work, boo.  I can run colinux off of a usb drive.  I would love to set up a usb drive that can run colinux and also boot.  Is Statler using live-helper to create the images?  I have found http://wiki.debian.org/DebianLive/Colinux but it isn't very clear what is going one there however it does give some insight.  Does anyone have any experience with colinux that could offer some help?  Are the config files for building Statler images available?  Should I start with colinux and work towards crunchbang or start with crunchbang and work towards colinux?  I believe colinux uses a custom kernel so perhaps I should start there.  I could start with a basic debian colinux image and then add the crunchbang sources and then update and upgrade but then how do I make the usb bootable for the images?  Any advice and or links toward this end would be greatly appreciated?

3

(4 replies, posted in Off Topic / General Chat)

Yeah django rocks.  I highly recommend it especially if you already know python.  The community is strong and getting stronger.  I love how easy it is to tailor things to how you like them.

Well I will continue with git and we can compare.  I should also learn bzr to contribute on the launchpad team as well.

Are you ignoring any files?

5

(4 replies, posted in Off Topic / General Chat)

Yeah I know autoplay is cheating.  I did it for the exercise.  Thanks, I should clarify the "first script" comment.  I develop web apps with django so I am familiar with python syntax.  I have just never written a console script before and if I am going to contribute to crunchbang I thought I should learn.

I'm not familiar with bzr but I have started the same process with git.  What are the differences between bzr and git?  Does bzr offer features that git doesn't that are better suited for this type of thing?

7

(1 replies, posted in Tips, Tricks & Scripts)

Just posted a fun little, non configuration, python script here: http://crunchbanglinux.org/forums/post/9194/#p9194 check it out.

8

(4 replies, posted in Off Topic / General Chat)

I know this kinda defeats the purpose of a game, but it is my first python script and was a fun exercise.   The following script allows you to play the facebook game mafia wars unattended.  Just set a cron job to run the script while you are away.  Feel free to use the script but please join my mafia.  Add me as a friend.

#!/usr/bin/env python

"""
mafiawars.py - A python script to play mafiawars when not on the computer.

Usage:
    mafiawars.py -j jobnumber -J jobnumbers [-u facebook login emal] [-p password] [-l link] [-n] [-c configfile]

requires:
    mechanize
"""

import optparse
import os
import sys
import ConfigParser
from mechanize import Browser

class AccountError(Exception): pass

#Play mafia wars while away
def checkOptions():
    config = os.path.expanduser(os.path.join('~', '.mafiawarsrc'))
    op     = optparse.OptionParser()

    op.add_option('-c', '--config',   dest='confpath', default=config)
    op.add_option('-u', '--username', dest='username', default=None) # facebook login email
    op.add_option('-p', '--password', dest='password', default=None)
    op.add_option('-l', '--link_to_follow',   dest='link')
    op.add_option('-n', '--no-save-conf', dest='save_conf', default=True, action='store_false')
    op.add_option('-j', '--job', dest='job', default=None,
                 help="Job number. Login to mafia wars and inspect the " + \
                  "\"Do Job\" link.  The job number is towards the end \"http:\\\\...&job=24\"")
    op.add_option('-J', '--job_list', dest='job_list', default=None, help="comma separated list of job numbers. (no spaces please)")

    options, args = op.parse_args()
    options.msg = ' '.join(args)

    cp = ConfigParser.RawConfigParser()
    cp.add_section('account')
    cp.add_section('links_to_follow')
    cp.add_section('jobs')
    cp.read([options.confpath])

    try:
        if options.password is None:
            options.password = cp.get('account', 'password')
        if options.username is None:
            options.username = cp.get('account', 'username')
    except ConfigParser.NoOptionError:
        raise AccountError()

    if options.job is None and options.job_list is None:
        print >>sys.stderr, 'No job or jobs specified please use ' + \
                            'with -j or --job_list.\n'
        sys.exit(2)

    if options.username is None or options.password is None:
        raise AccountError() 

    return options, cp

def saveConfig(options, cp):
    if not cp.has_option('account', 'username'):
        cp.set('account', 'username', options.username)
    if not cp.has_option('account', 'password'):
        cp.set('account', 'password', options.password)
    if not cp.has_option('links_to_follow', 'link'):
        cp.set('links_to_follow', 'link', options.link)

    cp.write(file(options.confpath, 'w'))
                  
def main():
    try:
        options, cp = checkOptions()
    except AccountError:
        print >>sys.stderr, 'No account specified. Please run mafiawars once ' + \
                            'with --username and --password\n' + \
                            'to create your ~/.mafiawarsrc.'
        sys.exit(2)

    b = Browser()
    try:
        #log into facebook
        b.open("http://www.facebook.com")
        b.select_form(nr=0)
        b["email"] = options.username
        b["pass"] = options.password
        b.submit()

        # visit the provided link
        if options.link:
            b.open(options.link)
        elif options.job_list:
            for j in options.job_list.split(','):
                url = "http://apps.facebook.com/inthemafia/remote/html_server.php?xw_controller=job&xw_action=dojob&job=%s" % j
                b.open(url)
        else:
            url = "http://apps.facebook.com/inthemafia/remote/html_server.php?xw_controller=job&xw_action=dojob&job=%s" % options.job 
            b.open(url)

        b.open("http://www.facebook.com/logout.php")
        b.close()

        if options.save_conf:
            saveConfig(options, cp)
    except KeyboardInterrupt:
        sys.exit(130)

if __name__ == "__main__":
    main()

Joined big_smile Looking forward to helping out where I can.

I think you could use xli

xli -onroot -fullscreen /path/to/image

and then target it in your applications section of your ~/.config/openbox/rc.xml to display only on the desktop you want.  I am new to openbox so I haven't done it but info can be found at: http://git.icculus.org/?p=mikachu/openb … .4-working

Take a look at this: http://urukrama.wordpress.com/2007/12/0 … -managers/

Happy Birthday and thanks so much for all your work.

michaelramm wrote:

The hard thing will be to determine if a bug is #! or ubuntu related,

I'd imagine that if it is a bug in ubuntu then it cascades down to a bug in #!, which if fixed by the crunchbangers team could be rolled up to ubuntu. 

I would like to help as well and will join the launchpad team when I get a chance.

Nate

I am relatively new to linux and I love #!.  I have 8.10.01 installed on my box and I want to update to .02.  Where is the update guide?  Can anyone recommend some good links for the impatient? 

Anxiously waiting big_smile

http://ubuntuforums.org/showthread.php? … ost1653773 this solved the problem.

When I run a

sudo apt-get update

it get this

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2BA7BC59D745C5EB
W: You may want to run apt-get update to correct these problems

Anyone else?  Do I just need to wait until the GPG key is available?

Nate

Thx corenominal.  I am not sure what I think.  They can be distracting.

Just wondering what people think of animated avatars.

18

(35 replies, posted in Feedback & Suggestions)

I agree that vim is essential and gedit is completely different.  Perhaps if size is an issue then it could be excluded from the lite version.

django (python) for me.  I have done some coding at work in vb.net too.

20

(5 replies, posted in Introductions)

omns wrote:

Keep working away at the boss. I'm sure he/she will see the light eventually.


It is probably out of his hands.  Corporate IT has the final say.  I can at least waste my time with ssh.

21

(5 replies, posted in Introductions)

Just wanted to say hi and that I am lovin #!.  It is exactly what I was looking for and after months of trying out different distros, to convert from XP, I have arrived with this great OS.  Thanks to all who have contributed.

Now I just need to convince my boss to let me use it at work.

Nate

nate@linuxbox:~$ sudo apt-get install zwopper-crunchbang-artwork
E: Couldn't find package zwopper-crunchbang-artwork

You might want to update the first post.  I did find this:

nate@linuxbox:~$ aptitude search zwopper
i   zwopper-crunchbang-artwork-90103      - ***** #! Crunchbang Linux Artwork by Zwopper ***
nate@linuxbox:~$

Thanks for the great artwork.  I am lovin #!

Nate