Page 4 of 8

Posted: Fri 09 Oct 2009, 07:48
by Lobster
This makes some points about speeding Linux booting
Most have been implemented?
http://l.pr/a44wk/

Posted: Mon 12 Oct 2009, 08:23
by aragon
hi technosaurus,

one thing that would be great to have is a central proxy-setup-gui (maybe as part of the network-wizard).

working with puppy behind a proxy is a little tedious. for every network-task you do, you have to manually setup the proxy.

- if you surf the web, setup the browser for your proxy
- if you install a package, setup wget for your proxy (if you know that wget is the downloader for te installer)
- if you want to look at a manpage, setup another browser...
- if you want to hear online-music....
- ...

most of the apps do read variables like http_proxy, ftp_proxy, ... so this should be possible (at least for a large number of apps)

I think this would increase the 'skills' of puppy as a portable os.

aragon

Posted: Mon 12 Oct 2009, 14:36
by Jim1911
Since the problems concerning ext4 partitions have been solved.

Considering adding code to the shutdown dialogue that would detect the type partition (ext2, ext3, ext4) that the frugal installation is on and create a corresponding pupsave.2fs, 3fs, or 4fs. Alternatively, let the user make a choice of pupsave files on the first shutdown.

Thanks,
Jim

Posted: Tue 13 Oct 2009, 15:56
by technosaurus
@aragon - I don't have much experience with Proxy setup. Any recommendations out there? Can it be done with just a bash script with corresponding gtkdialog gui?


@Jim - I have been operating in pfix=ram mode for a while and recall that we used to have that option with ext2 and ext3 the last time I used a save file, so it should be a basic cut and paste job once I track down the script(s). I'll have a look tonight.

Posted: Tue 13 Oct 2009, 18:52
by aragon
@technosaurus
yes in my opinion it should be 'simple'. in short we need a gui to setup some global variables, an rc-file for the variables e.g. /root/.proxyrc) and a 'point' in startup (/etc/profile ?), where we read them to set them global.

a second question would be if this is possible without restart.

a last question is more about security. some proxies need username/password. we can also set variables for them but could we save and use them in a secure way?

i will test and have some google searches to look which variables are needed.

aragon

Posted: Tue 13 Oct 2009, 19:01
by Pizzasgood
Have it create a file like /etc/profile.d/proxy.sh, which would be a script that exports the variables. That way you don't need to touch /etc/profile at all. /etc/profile is already configured to automatically source anything in /etc/profile.d/ that has a .sh extension and is also executable.

In the standard Puppy (at least up to 4.2.1 as I haven't looked at 4.3 in detail yet) it will take effect immediately for anything run from a fresh terminal window, because Puppy has /root/.bashrc source /etc/profile every time it starts. You should be able to completely refresh the environment by exiting X and logging out. Puppy is by default configured to immediately log you back in, at which point /etc/profile will have been automatically resourced. Then you can start X and use the proxy settings.

Posted: Tue 13 Oct 2009, 19:27
by aragon
@pg
thanks for the info. will try to test that tomorrow.
aragon

Posted: Tue 13 Oct 2009, 19:29
by Jim1911
technosaurus wrote:@Jim - I have been operating in pfix=ram mode for a while and recall that we used to have that option with ext2 and ext3 the last time I used a save file, so it should be a basic cut and paste job once I track down the script(s). I'll have a look tonight.
Piratesmack and gyro have been working on this, their efforts resulted in the latest fixes for frugal installations to be work properly on ext4 partitions. See http://www.murga-linux.com/puppy/viewto ... 2&start=15

Thanks for addressing this issue,
Jim

Posted: Wed 14 Oct 2009, 04:59
by 01micko
Hi technosaurus

The other day when I compiled Seamonkey-2.0rc1 I had a configure error.. system libpng would not be accepted because there is no apng support.

So, can we update libpng?

Cheers

Posted: Wed 14 Oct 2009, 05:39
by technosaurus
of course - I think ttuuxxx did that for 4.2
see ibiblio

I also figured out that we can simply move the nss and nspr libraries to /usr/lib (as a separate package) will save 2.5 Mb if you want FF vs. seamonkey also you can delete the ff/sm libsqlite3.so and make a symlink in /usr/lib/libsqlite3.so to the system sqlite (as long as we don't upgrade sqlite) ~300-500kb ... That's all I have so far, others may work this way too if compiled the same.

Posted: Wed 14 Oct 2009, 06:01
by 01micko
Thanks techno,

I know it is early days, but what other relevant libs do you intend to update for 4.4? That way I can make 2 versions with my next effort, one for 4.4 and one for legacy Puppies.

Cheers

Posted: Wed 14 Oct 2009, 06:36
by technosaurus
sorry micko - that didn't have apng either... where to get it???

ftp://distro.ibiblio.org/pub/linux/dist ... 34-dev.pet
ftp://distro.ibiblio.org/pub/linux/dist ... 1.2.34.pet

I guess I should upgrade sqlite as well, since it is an allowed option in 2.X - system sqlite had started breaking 1.X

Posted: Wed 14 Oct 2009, 06:51
by 01micko
Hmmm... looks like libpng needs a patch for apng support... this link is fairly recent and from sourceforge http://libpng-apng.sourceforge.net/

I'll look into it over the next few days, will look to see if those linked pets are patched too.

Cheers

Posted: Wed 14 Oct 2009, 09:15
by aragon
@micko
the libpng-1.2.34.pet from puppy-4-rep should be the apng-patched version from ttuuxxx compiled for 4.2.

aragon

Posted: Wed 14 Oct 2009, 13:44
by technosaurus
See my prior post for the apng ttuuxxx patched version - micko you are too fast. I verified it this morning.

I suppose that apng is the replacement for mng since I no longer see a --with-system-mng???

Posted: Wed 14 Oct 2009, 15:23
by aragon
@technosaurus
ok now i've made some progress with the proxy-setup, but not positive (in all parts).

pizzasgood hint work. i've setup a script in /etc/profile.d/ that gets it's values from a config file in /root/.config/pproxy.

i've added my settings.

positive: it works in dillo, wget, streamtuner and opera
negative: it does not work in seamonkey, firefox 3.5.0 (it should but it does not) and gftp

i've not tested more apps. but as seamonkey and firefox actually do not work in this way, it makes no sense to go further (for an official version). i will test a little more and will post my solution as a pet.

aragon

Posted: Wed 14 Oct 2009, 18:03
by nubc
The final dialog in the Puppy Universal Installer asks whether to redo the grub config or finish. The button and dialog should be "YES, finished". This is what one would expect from any installation. But to close the Puppy installation dialogs, user must click "NO, finished". It doesnt make sense, and no wonder people are confused when grub config cycles through again.

I have a slow laptop. I havent figured out the settings to make the touchpad immediately responsive, and consequently there may be lag between click and action. I try to close a browser page by clicking the "X" in the upper right corner, nothing happens, so I instinctually click again. The page finally closes, but the second click applies to the lock icon which is so unfortunately located by default in the upper right corner of desktop. Why the heck is the desktop lock icon placed under the browser page sizing/closing functions?

Posted: Wed 14 Oct 2009, 18:31
by ttuuxxx
Hi Micko, that png pet package that techno post is already patched with apng, I had to patch png with apng (animated png) so that Firefox 3.0 alpha would compile.
ttuuxxx

Posted: Tue 27 Oct 2009, 22:59
by 01micko
Seamonkey-2.0 final is out.

I will be compiling 2 versions.

1) This will follow similar configure options to the previous beta 2 and rc1 that I compiled earlier. It will end up around 14MB including both themes but should be compatible with many puppy versions.

2). I will take a more radical approach. I will be compiling against the patched libpng with apng support as well as libnss and libnspr (system). I will be compiling those libs too and offering them as pets. libpng patched is available and linked on the previous page. (you won't need libpng patched in 4.2x)

Cheers

woofyCE

Posted: Wed 28 Oct 2009, 00:29
by raffy
Am tagging this thread with "woofy" as Woof will be used to build the release, and "CE", making the tag "woofyCE".

This is meant to make it easier to find 4.4CE-related discussions.