Active Topics

 


Closed Thread
Thread Tools
darrennewman@sky.com's Avatar
Posts: 97 | Thanked: 18 times | Joined on Jan 2008 @ UK
#61
Originally Posted by LordFu View Post
Huh, the image installer couldn't untar/unzip the package. I extracted the ext file on a different machine, moved it back, and all is well, though. I must have broken something, lol.

Nice, though; very nice! I like this new wm; much nicer to look at.
Mine won't install either. Is this the error message you got?

"TAR ERROR

ERROR! ERROR! ERROR!

TAR FAILED!

(MAYBE OUT OF SPACE ERROR)

Unable to install EASY DEBIAN IMAGE FILE"

How did you go about fixing it?
 
Posts: 164 | Thanked: 18 times | Joined on Dec 2007
#62
Mine did not install eithier... no errors just stopped downloading and did not extract...
 
mooler's Avatar
Posts: 213 | Thanked: 27 times | Joined on Oct 2007 @ Detroit, MI
#63
are we limited to the MMC capacity or by a limitation of the image?
 
Posts: 164 | Thanked: 18 times | Joined on Dec 2007
#64
I got it working, I guess the first post need to advise that once the file is downloaded, their is no indication that it is extracting. You just need to trust it and wait for the congratulations screen.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#65
Originally Posted by mooler View Post
are we limited to the MMC capacity or by a limitation of the image?
Well, you're limited to the size of the image, but you can resize that to fit more, or just use a partition directly if you'd rather. Of course,when using an image file, any filesystem limits on filesize apply as usual, so you may not be able to enlarge it beyond 4GiB.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#66
Originally Posted by fatalsaint View Post
What I think is happening is Bundyo is running a System call that is hanging and just waiting for the command to stop before closing... so Maemo thinks the App is hung, not knowing it was designed that way.
Yup, i'm making a synced system call which waits for the process to finish before continuing the execution. Didn't expect that maemo will think that the app is hung (My tablet is in RD mode, so i didn't see it either
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#67
Holy crap, this is running so nicely now! I haven't tried it since one of the earlier incarnations, and this thing flies.

Nice work!
 

The Following User Says Thank You to codeMonkey For This Useful Post:
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#68
Be careful with LXDE and the volume control applet. I killed LXDE twice by using this applet.
__________________
ongo bongo!
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#69
Okay, hostwin with 3 parameters is back

Usage:
hostwin AppName /usr/bin/program "What should be written inside"

Starts the process asynchronously, watches it and closes itself after it dies. Shows the message too.

http://bundyo.org/maemo/hostwin.bz2
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-10-15 at 10:36.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#70
hostwin.vala (fast replacement until i post the whole source):
Code:
using GLib;
using Gtk;
using Gdk;
using Hildon;
using Osso;

public string apptitle;
public string exttext;
public string filename;

static void println (string str) {
	stdout.printf ("%s\n", str);
}

public class mainProgram : Hildon.Program {
        private Hildon.Window window;
        private Label label;
        private Pid pid;
        
	construct {
                window = new Hildon.Window ();
		window.set_icon_from_file ("/usr/share/pixmaps/"+apptitle.down()+".png");
                window.destroy += Gtk.main_quit;
                add_window (window);
                
		label = new Label(exttext);
		window.add(label);

                Environment.set_application_name (apptitle);
                window.map_event += activate;
                
                window.show_all();
	}
		
	private bool activate() {
	        string[] buf = new string[1];

		buf[0] = filename;
	        Process.spawn_async( null, buf, null, SpawnFlags.DO_NOT_REAP_CHILD, null, out this.pid );
		ChildWatch.add (this.pid, child_exited);
				
		return false;
	}

	private void child_exited (Pid pid, int status) {
		Gtk.main_quit();
	}

        static int main (string[] args) {
                Osso.Context ctx;

                Gtk.init (ref args);
                
                apptitle = args[1];
                filename = args[2];
                exttext = args[3];
                
                ctx = new Osso.Context(apptitle, "0.2", false, null);
                if (ctx.display_state_on() != Osso.Error.OK)
                    println("Error: Osso Initialize failed.\n");
                    
                var prg = new mainProgram ();
                Gtk.main();
                
                return 0;
        }
}
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-10-15 at 10:20.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Closed Thread

Tags
debian, firefox, gimp, java, openoffice


 
Forum Jump


All times are GMT. The time now is 17:38.