Sid Kapoor wrote: > hi all, > > I am having a customised linux distribution installed on a thin client > with the following configuration. > > AMD LX800 > 128MB RAM > Xorg version 7.2gtk-2.0 libraries > > I have made a gtk application (size 830 kB) using glade-2 to generate > code for my application. When I run this gtk application on my > customized linux distribution, it takes almost 6 seconds to show up. > This lapse of 6 seconds is very irritating. Can anyone suggest how to > reduce this "boot-up" time of my application. Do all GTK apps have this bootup delay? gedit, for example? Is there a lot of disk activity during this 6 second startup? If you switch to the default GTK theme does that help? One thing that sometimes helps (if you can parse through the noise) is to use strace to get a dump of all the system calls. This can help see if it's file opens that slow you down. > > One more thing. Here as I have said, I am using the code generation > feature of glade-2. There is another approach to make gtk apps. and > that is by using the XML file made by glade. Does both these > approaches differ in loading time of my application? Using glade XML files certainly is the recommended way to go. However I doubt it will make your app start up any faster, maybe a tiny bit slower. So after you've found out the cause of your slow starts, then you can move to using the XML file directly and see what happens. > > Thanks in advance. > > Regards, > Siddharth Kapoor > > > > ------------------------------------------------------------------------ > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list -- Michael Torrie Assistant CSR, System Administrator Chemistry and Biochemistry Department Brigham Young University Provo, UT 84602 +1.801.422.5771 _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list