Puppy 2.15CE Standard Edition - Trim the Fat!

A home for all kinds of Puppy related projects
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#16 Post by rarsa »

My comment was intended to bring focus to the thread (and admitedly, bump it up). I'm sorry it had the oposite efect.

May I suggest returning this thread to the original purpose? What can be trimmed that will have an impact? Specific things.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

TheSquire
Posts: 5
Joined: Thu 18 Jan 2007, 00:58

No X at All?

#17 Post by TheSquire »

The official 2.15 release might not be the best place for it, but I would really appreciate a modern Puppy with no X at all. No X and no graphical apps. What I'm after is a fast, lightweight console only OS, easy to install to hard disk, with enough drivers to support the kinds of hardware I'm using. Could we generate a version <50 MB installed?

[The best I've done so far is trim Puppy 2.13 down to ~109 MB installed... but this includes Xorg and Dillo. If I remove more, I break things. :( ]

It would be a little like SLAX 5.1.8 Frodo - except it would be Puppy! And modern! With drivers for USB-Serial adapters and such.

If such a No-X base for Puppy were implemented, I could imagine a console-based technique for adding X. Perhaps a nifty script thingie using wget to fetch the needed file(s).

[I'm a Linux noob or else I'd apply myself to generating the Puppy variant I've described. Maybe as my 1337-ness increases...]

Anyway, thanks so much to the Puppy community for a great distro. Keep up the great work!

xandas
Posts: 41
Joined: Fri 23 Jun 2006, 11:26

#18 Post by xandas »

I downloaded 2.14. All right. But, it doesn't recognizes our Sound Blaster cards.
And it was impossible to get working the voip phones we use daily.
So, the trimming of Alsa and so on was -at least for me- a bad choice, that forbid me the use of 2.14.
Does not seems coherent to stretch the code when the old machines are left out Puppy. The newer ones does not need so stretching, at all !!!.
By example, I navigate several hours each day. In the alternative to change the
browser plenty of features I use, (which simpify greatly my browsing life ), simply to get the goal of five megas more small the obliged solution is to change to a older Puppy version.

My proposal is to make a small Puppy version, full of libraries and drivers, with a menu to install those programs we need. Some people will install graphic programs, other music developement ones, some others offfice suite, so I propose to include a menu that allow to install the personal programs each guy needs, letting a lot of other programs out. And remaster the CD.
Without compel by force the guys to use programs they doesn't likes.
The freedom of choice is a flag between who censure M$ practices.

Do not forget that all must be simple to let the not-initiated people not need to compile anything or follow the smart guidances that a lot of generous guys post in the forum, but that doesn't help to spread Puppy, and Linux, among the masses (not technically minded people).

I propose that certain features must be included: it is awfull when navigating the browser doesn't shows the pages "comme il faut" or ask for a inexistent plug-in or doesn't show the stream of videos that apperars into the newspapers frequently., or reboot in other version to see a powerpoint file that a friend attach to its mail.
Or when browsing off-line the browser shows the code instead the formatted page, as usually happen with small navigators.

As my girlfriend told me, small not always be the best.
Xan

User avatar
Springer
Posts: 52
Joined: Tue 22 Aug 2006, 16:25
Location: Austin, TX

#19 Post by Springer »

Good ways to trim fat out of the Standard Edition (V): General theme - avoid needless duplication. A few suggestions:

ONE X server. Do we *really* need two, especially in Standard?

ONE Window Manager. We DON'T need more than one of these!

ONE Very Good default theme/background/icon set.

ONE Calculator (with a STRONG preference for one that can use algebraic OR RPN entry. Right now, for all the calculators we have, there's still not one that does RPN (HP-style, the standard in business and finance (because of the HP-12C), and also favored by many of us engineers.)

ONE Text Editor. I know they're small, but do we really need FOUR text editors? Pick one and make it the default. SIMPLIFY!

If the new PETget system really allows single-click installs (haven't tried it myself, yet), then adding pieces is no problem for the people that need something different.

The beauty of Puppy is it's simplicity and size with very rich functionality. It's niether the smallest distro, nor the most complete (nor should it try yo be either), it's simply the best bang-for-the-byte that produces a system that JUST WORKS.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#20 Post by Pizzasgood »

Actually, better to have two text editors: one for in X, and one for the commandline. Ever try fixing a script with just cat, echo, grep, and sed? I can tell you now I'd have trouble. Think how a new user would feel! Give them good old MP, with it's familiar interface.

Themes can stand to be chopped down a little more, to maybe two or three. Only go to one if space is very tight. Eliminate the similar ones first (multiple XP, multiple Velvet, etc.)

I didn't look at the backgrounds, but only a couple are needed. 3 tops.

The reason I don't advocate a single theme/wallpaper is that this is the standard version, not a barebones. Just because there's a big version doesn't mean the standard can be stripped naked. Having a few themes (only a few mind you) really helps in the user-appreciation department. It gives an illusion of space, like the ISO is really packed with stuff, even though they only take a couple hundred kb. The trick is to limit yourself to just several themes, or the size starts to get too big. Two or three distinctly different themes are plenty.

As for X servers, the setup for Xorg has improved a lot since we first got it. But unless the vast majority of hardware works with it, it still might be good to include Xvesa. Hardware is one of my weak points, so I don't know how well it's support is. I do know that that's the reason Barry has kept Xvesa so long.

Now, for JWM, I don't really see any good reason to keep it, other than for choice's sake. It wouldn't even be needed as backup, because IceWM is so sturdy. It really is minuscule though, so it doesn't hurt any.

Hmm... I'm thinking back to the old days when we used FVWM95 and JWM was the "cool new second WM" that you could convert to out of the box. Choice factor again. It made Puppy that much cooler to ship with a second windowmanager for an imperceivable size increase.

Actually, the JWM configuration utility is bigger than JWM. :lol:

But yeah, the standard Puppy hasn't had a second WM since Barry dropped FVWM, so it's not like we'd be breaking tradition by not having JWM included as a second choice.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#21 Post by WhoDo »

Springer@

I support what Pizzasgood had to say about multiple copies. With very few exceptions, there are either very good reasons or a significant split in preferences. It's surprising how many Puppy users have stayed with JWM, despite the availability of Icewm. There are even some still using Fvwm, believe it or not. The next Puppy will probably be a toss up between Icewm and Xfce, the way things are going with our younger generation of Puppy's.

No-one would rather see the demise of Xvesa than me, but for sheer compatibility with lots of older hardware, its unbeatable. I have machines that simply won't boot with Xorg, and Xvesa is the only choice. Some even drop back to 320x200 and 4 colours for crying out loud! I just couldn't configure them without Xvesa. As soon as I get them running I can bump up the resolution and colour support, but seldom can I move them up to Xorg - not yet.

Themes, backgrounds and icons are my Ace in the hole, so to speak. When I get desperate for space to meet a size target, they're the first things to go. That said, I don't want to lose what will be, I hope, a Puppy showpiece for those outside the community, and more themes, etc does help convey the idea of getting more bangs per buck.

Have you tried Fox calculator in Puppy 2.15CE Beta1? I don't know but maybe that's the one you've been looking for. Just a thought.

Pizzasgood@

I had planned to drop JWM from the Beta1 to see what sort of reaction it would bring. Trouble was, it was almost not worth the hassle because of its size! I want the CE to be a unifying experience for the community - something we can all be proud of together - so leaving in JWM for its many devotees was really the only choice. It will be revisited before Final if the community wants it so, however.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#22 Post by Pizzasgood »

Doesn't matter to me either way. In fact, the only reason I dropped it from Pizzapup was to save me from having to maintain/support it.

Two reasons someone might prefer JWM are that you can scroll the mouse on the title bar to roll up the window, and you can roll the mouse on the desktop to change desktops. And on a slower computer, it's probably faster than IceWM, though I doubt by much.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

about stripping out one of the X servers

#23 Post by cb88 »

In respsone to Springer:
strip out xorg and you loose the ability to change refesh rate ect...
stripout xvesa and puppy won't run on strange hardware or many emulators. So IMHO keep them both.

cb88

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#24 Post by rarsa »

What can I say that I didn't say in my first post in this thread?

Removing 100 small things makes no diference. Ooops, I had already said that.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#25 Post by zigbert »

I agree, Rarsa. But I also see Lobsters point of clean menus.
In 2.15beta, there is 3 filemanagers, 2 cd-rippers, 3 burner programs, 3 backup-programs, 2 file finders, 2 grep-progs, 4? texteditors...
Choices are nice, but...... there is a petget. :wink:

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#26 Post by rarsa »

zigbert wrote:I agree, Rarsa. But I also see Lobsters point of clean menus.
A) I don't remember this thread being about clean menus. I remember it is about trimming fat.

B) Geany is not a text editor is a development environment. It is not categorized correctly. That leave us with Leafpad and MP plus that other small editor I don't remember the name which is the one included in initrd in case something goes really wrong.

The worst thing that can happen when having two editor entries in the menu is that you always choose one and ignore the rest. I think that we should not patronize "new users".

I haven't read a post from a new user saying that they got confused with three calculators but I've read people saying that "other people" may get confused. That big brother attitude may even be ofensive to some "new users".
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#27 Post by GuestToo »

Right now, for all the calculators we have, there's still not one that does RPN (HP-style, the standard in business and finance (because of the HP-12C), and also favored by many of us engineers.)
xcalc can run in TI mode or RPN (HP10C) mode ... trouble is, xcalc is a bit buggy in rpn mode

see my xcalc wrapper dotpup, which runs xcalc in 5 different styles, including colours, large fonts, and rpn mode: http://www.murga-linux.com/puppy/viewtopic.php?t=16040

you can use dc on the command line, for rpn calculations

# dc -h

# dc 2 3 \* p
6

# dc
2 3 * p
6

i have hp67, kalc, and rpncalc installed on my machine
Good ways to trim fat ... avoid needless duplication
no, as has been said, when you have a 100 meg distro, and you remove 200k or so, you still have a 100 meg distro ... but you definitely have less functionality ... the 80/20 rule also applies here (80% of the bloat is from 20% if the apps)
do we really need FOUR text editors?
yes

if Puppy does not boot properly, it might be useful to have a text editor available ... e3 is only about 10k compressed ... 100 megs minus 10k = 100 megs

mp is a powerful and useful text editor for general purpose editing in command line mode

leafpad is a simple and useful general purpose X application ... it is the text editor that i use most of the time

Geany is more than a text editor, as rarsa says, it is a development environment. ... personally, i use leafpad more often

remove all 4 applications, and you still have a 100 meg distro ... with considerably less functionality

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#28 Post by GuestToo »

note: my xcalc wrapper is not installing a new application ... it is just running xcalc, which is already installed in Puppy, using the fonts and configurations that are already in Puppy (well, i added an alternate colour configuration for the TI calculator, and i added the TI colours to the RPN caclulator)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#29 Post by Pizzasgood »

I haven't read a post from a new user saying that they got confused with three calculators
Erm,... I get confused. I never liked any of them though, so I just use a real calculator. My only confusion was in remembering which one was which though. I didn't see the options and say, "Oh no, what do I do? Too complex!" I just opened them all then made my decision.

Leafpad starts much much faster than Geany, which makes it better when just opening plain text. Geany has tons of great features for coding (syntax highlighting, keyboard shortcuts for multi-line commenting, auto-indent, geometric select, function collapse, function listing, etc.) It's very small anyway. Keeping it adds much more functionality than weight, it's worth it.

Even xmms is only 1.5 MB decompressed. After the filesystem compresses, it probably adds at most 1 MB, probably more like 0.8. Thats enough that the overlap with Gxine becomes nagging, but not too much. It's much faster to start, and more friendly to use. Reason: it doesn't support video. Replacing it and Gxine with a unified solution would require that unified solution to start as fast as xmms, or save a significant amount of space (more than .8 MB in my opinion).

That said, I'm all for dropping Gxine for something nicer. I'm no videophile so I couldn't offer suggestions. I do know that I've never liked Gxine though. Does VLC offer the same functionality or more in the same space or less? If so, add it (keeping xmms unless VLC fits the conditions of the prior paragraph).



As for bootsplash, Puppy's boot scripts are pretty different from most distros. To enable a third party bootsplash would probably take a great deal of work. I once began looking into that, but decided it would be easier to just make a Puppy specific bootsplash program. There is a working beta in the cutting-edge forum (named "Pebble"), which I worked on in the fall. It's not the best implementation by far, and lacks the ability to have animation, split screens, or change to text. I don't even know if it works with the newest Puppies. But it worked back in 2.02.

I have plans to start fresh with a better design that will make the above features possible. I just haven't gotten to it yet. For one thing, it will require C/C++, which I hadn't used in years and am re-learning now. I'm to the point now where I could start on it. My first goal is to get Pizzapup 3.0.1 done, then I'll finally start in on it.

Puppy does support a brief splash when booted from the CD, which is currently used to display optional boot parameters. It can display images too. It only lasts until the kernel and initrd.gz are loaded though, then is replaced by boot-text (which is where my bootsplash will kick in).
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#30 Post by zigbert »

I guess it's not important, but I thought the Linsta gtk-theme was a little to big for me, so I tweeked another. I haven't checked the size of LiNsta in 2.15CE beta, maybe it's stripped, but original is is 226kb compressed. H2O-Stardust is 12kb.
http://www.murga-linux.com/puppy/viewtopic.php?t=16203

User avatar
Springer
Posts: 52
Joined: Tue 22 Aug 2006, 16:25
Location: Austin, TX

#31 Post by Springer »

Thanks to all who replied. It's good to know that at least in most cases (and especially X) there really *are* reasons for having multiple solutions.

That said, I have some pretty old and crufty hardware, and I've yet to have to resort to Xvesa - anything I have that has enough RAM to run Puppy has display hardware modern enough to use X.org. (I suspect that if I tried to put Puppy on my old Libretto 50J, that I'd have issues, but with only 24 MB RAM, it's not really a Puppy candidate, so it'll keep running Mandrake as my "portable NAS server".)

As for themes and such - I still think ONE REALLY GOOD ONE beats a choice of several mediocre ones. There's a reason Apple doesn't ship themes...

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#32 Post by WhoDo »

zigbert wrote:I guess it's not important, but I thought the Linsta gtk-theme was a little to big for me, so I tweeked another. I haven't checked the size of LiNsta in 2.15CE beta, maybe it's stripped, but original is is 226kb compressed. H2O-Stardust is 12kb.
http://www.murga-linux.com/puppy/viewtopic.php?t=16203
Ooohh...I like it! Will make it the default for Beta2 if I can get it to work. At the moment selecting it just causes the default to start, and it is in an entirely different format. Can it be made compatible with both GTK-1 and GTK-2?

Cheers

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#33 Post by zigbert »

WhoDo wrote:At the moment selecting it just causes the default to start, and it is in an entirely different format.
Strange, I just copied the H2O-Stardust directory to /usr/share/themes/.
I have only used it in JWM. I'll hope you make it. :?
This is my /root/.gtkrc-2.0

Code: Select all

include "/usr/share/themes/H2O-Stardust/gtk-2.0/gtkrc"
include "/root/.gtkrc.mine"
I have no idea about gtk1. There is so few gtk1-programs left in Puppy, that I haven't give it a thought. The only gtk1 programs I use is gtksee and Turma. It is maybe a little too early to skip gtk1, but my crystal ball tells me that it won't live forever in Puppy. :wink:

User avatar
tronkel
Posts: 1116
Joined: Fri 30 Sep 2005, 11:27
Location: Vienna Austria
Contact:

endeavour2 file manager

#34 Post by tronkel »

Would it be a good idea to include the Endeavour 2 file manager in 2.15CE instead of Rox_Filer? Endeavour has a built-in image browser that might be a good replacement for GTKSee, thus saving space. I have tried it under 2.14 standard. It runs like greased lightning and is more stable than Rox 2.5 which can fall over when reading large directories such as /usr/bin. Also faster than Thunar I would say. I tested the Endeavour dotpup on my old Compaq 400 MHz PC and I was impressed with the speed. See what u think.

There is a dotpup of Endeavour 2 for Puppy Linux available at Wolfpack here:
http://wolfpack.twu.net/Endeavour2/
Dotpups are everywhere now!

While you're there, have a look at the Icewin menu program too. Might also be handy for 2.15CE.

My latest Icewin options GUI dotpup is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=16241
Life is too short to spend it in front of a computer

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

html editor

#35 Post by Lobster »

If we have no Composer (with Firefox or Opera browser choices) can we have this please
http://www.unverse.net/whizzywig-cross- ... ditor.html

first suggested here
http://www.murga-linux.com/puppy/viewto ... 7366#27366
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply