~4+mb of that is usually an unnecessary built-in font that can be disabled at compile time. There are actually quite a few defines that can be added to cflags for it iirc.[/list]Iguleder wrote:The MuPDF binary is 5.5 MB here after stripping ... impressive
Akita Linux, Beta 16 ISO
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Just a little cleanup tip: if you cat $PKG/pet.specs >> ... all of the pet.specs to a common file as you go you can delete it with rm -rf$PKG (so you don't end with 1000 almost empty dirs)sc0ttman wrote: EDIT: Nearly done, 1 hour and 2GB later...
Good thing end-users will not need to run this script!
Hopefully this new livepackages5.txt file, which is nearly done,
will fix the following problems in PPM, without additional work (yeah, right):
- missing dependancy detection and installation
- filtering the wary5 repo by category
EDIT2: Done, the issues listed just above are indeed fixed
The full way repo is in the PPM, filtering and missing dependancy installation work fine!
But the script is very slow, and I downloaded around 2.1GB...
Although diskspace is not affected by these downloads.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
I'll have a think.. A custom logo might be nice, or some wallpaper.. I like the 'clean' look, not too 'busy'.. Afgs has done some great work on this forum, if you could come up with something of a similar quality that would be amazing..starhawk wrote:I'm an artist, you see, and I was wondering if you'd like some new graphics for Puplite
The main release will use the default 2.6.25.16 kernel, which is not an smp kernel,one of my chief complaints with Wary 511 is that I have to pass "puppy nosmp" at boot or I get a kernel panic....I'd love to see that issue eliminated...
so you will not need to add that to the boot options.
When running the "JWM only" desktop, after inserting a USB, a dialog pops up asking if you want to update the drive icons.(1) Could you find a way to make the drives tray dynamic? i.e. when I plug in my USB stick, the icon appears, without having to restart JWM?
If you click yes, JWM is restarted, which takes about half a second.
After this your new USB drive will be listed next to the other drive icons.
But you will, see it's gonna be really easy to enable the full ROX desktop with icons...
So getting the full, dynamic drive icons will be easy.
PMConky will not be in the new one (it is, but disabled), cos JWM 500 does not like root-tail, which PMConky relies apon.(2) Can we have the "real" conky, instead of goingnuts' pmconky? No offense, goingnuts, but I like the look of the real thing better -- that font just reminds me a little too much of an IBM 360's terminal or somesuch
I will get conky setup, but disabled by default, I will add conky to the 'startups' manager, so it can be easily enabled at 1st boot, of desired.
Techno, thanks for that, I will try that, nice and clean, although I'm running
rm $petname/*
rmdir $petname
after each wget command, as it's in a loop anyway...
Last edited by sc0ttman on Sun 31 Jul 2011, 06:49, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Re: artwork. Gimme some ideas to start with, a napkin sketch or something. Once I have something to work with, I'm awesome
Re: drive icons. A better example: when I plug a drive into my HP (running Wary 511), within about 10sec the drive blinks and an icon for it appears on the desktop. It's not mounted, but the option is there -- without restarting the WM. That's what I'm looking for. BTW, I really like the JWM desktop over the ROX desktop when I have the choice.
Re: conky, kernel. Sounds great. I like not having to do more at boot than absolutely necessary.
Re: drive icons. A better example: when I plug a drive into my HP (running Wary 511), within about 10sec the drive blinks and an icon for it appears on the desktop. It's not mounted, but the option is there -- without restarting the WM. That's what I'm looking for. BTW, I really like the JWM desktop over the ROX desktop when I have the choice.
Re: conky, kernel. Sounds great. I like not having to do more at boot than absolutely necessary.
You might be interested in considering some implementation of "idrivepanel" here -
http://murga-linux.com/puppy/viewtopic.php?t=69830
It places a gtkdialog panel anywhere on the screen containing the drive icons as they appear on the rox desktop and updated dynamically. You can either leave it "on-top" or toggle it off and on from the tray.
Regards,
s
http://murga-linux.com/puppy/viewtopic.php?t=69830
It places a gtkdialog panel anywhere on the screen containing the drive icons as they appear on the rox desktop and updated dynamically. You can either leave it "on-top" or toggle it off and on from the tray.
Regards,
s
I have already downloaded it, looks nice.. I wanna have a good look at it soon...seaside wrote:You might be interested in considering some implementation of "idrivepanel" here -
http://murga-linux.com/puppy/viewtopic.php?t=69830
It places a gtkdialog panel anywhere on the screen containing the drive icons as they appear on the rox desktop and updated dynamically. You can either leave it "on-top" or toggle it off and on from the tray.
Regards,
s
It's a nice idea, but I wonder, how does it's resource usage compare to using a normal ROX desktop?
I am thinking about giving users a simple GUI to choose what kind of drive icons they want, if not using a ROX desktop... Basically a GUI to help setup the "JWM only" desktop, and offer xdesk icons and/or drive icons..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
The plus side is that it could be extended to support tray applets like battery, CPU etc... now that gtkdialog supports refreshing pixmaps... maybe even swallow it in a tray? ...lots of potential there, but in the mean time goingnuts' tray applet has the lowest resource usage and supports many applets simultaneously.sc0ttman wrote: I have already downloaded it, looks nice.. I wanna have a good look at it soon...
It's a nice idea, but I wonder, how does it's resource usage compare to using a normal ROX desktop?
I am thinking about giving users a simple GUI to choose what kind of drive icons they want, if not using a ROX desktop... Basically a GUI to help setup the "JWM only" desktop, and offer xdesk icons and/or drive icons..
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
I'll get on it, thanks for the offerstarhawk wrote:Re: artwork. Gimme some ideas to start with, a napkin sketch or something. Once I have something to work with, I'm awesome
This is simply not possible using a JWM only solution - all JWM menus (drive icons included) are only updated when JWM restarts..when I plug a drive into my HP (running Wary 511), within about 10sec the drive blinks and an icon for it appears on the desktop. It's not mounted, but the option is there -- without restarting the WM. That's what I'm looking for.
But see above for seasides alternative, idrivepanel, which uses GTKDialog, not JWM itself (although I can't seem to get newly inserted drives listed automatically, but it reportedly should work)...
Last edited by sc0ttman on Sun 31 Jul 2011, 07:02, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
I already had pmmon5 running next to my JWM drive iconstechnosaurus wrote:The plus side is that it (idrivepanel) could be extended to support tray applets like battery, CPU etc... now that gtkdialog supports refreshing pixmaps... maybe even swallow it in a tray? ...lots of potential there, but in the mean time goingnuts' tray applet has the lowest resource usage and supports many applets simultaneously.
(just needed to enlarge pmmon icons/output, etc, or make tiny drive icons, and would look great)
pmmon5 will be included in the ISO, as well as pmnet, pmfree, plus I've kept/added the latest full tray utils like freememapplet, network_tray, etc.. The user can easily select which tray tools to use, using the 'startups' manager..
I am thinking about doing the same thing with ROX desktop, the xdesk thing by goingnuts, and idrivepanel...
Have to have a think and play around..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
progress:
x updated VLC-GTK to 2.3.2 (thanks to thunor)
- fixed enable/disable of playback buttons
- fixed GUI resize issue, fixed "general settings" and "streams" tabs
- fixed checking of installed gtkdialog verion in vlc-gtk,vlc-gtk-btns
- fixed --play command, if it fails, loads saved settings and return main menu
- vlc-gtk-btns does not return to main window, when invoked with --play option
- updated VLC-GTK ROX-App, now forces windowed mode
- minor code cleanups
x updated defaultmediaplayer to vlc-gtk --window --play --open "$@"
- now possible cos of VLC-GTK updates, above
x updated VLC-GTK to 2.3.2 (thanks to thunor)
- fixed enable/disable of playback buttons
- fixed GUI resize issue, fixed "general settings" and "streams" tabs
- fixed checking of installed gtkdialog verion in vlc-gtk,vlc-gtk-btns
- fixed --play command, if it fails, loads saved settings and return main menu
- vlc-gtk-btns does not return to main window, when invoked with --play option
- updated VLC-GTK ROX-App, now forces windowed mode
- minor code cleanups
x updated defaultmediaplayer to vlc-gtk --window --play --open "$@"
- now possible cos of VLC-GTK updates, above
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
sc0ttman.sc0ttman wrote: But see above for seasides alternative, idrivepanel, which uses GTKDialog, not JWM itself (although I can't seem to get newly inserted drives listed automatically, but it reportedly should work)...
Idrivepanel monitors "/root/.pup_event" for changes, so you could check to see if the drive shows up there.
I've made a separate "Idrivepanel" pet to try without the desktop changes below -
http://murga-linux.com/puppy/viewtopic. ... 916#548916
Regards,
s
Thanks for the offer Bruce, very kind.. I am happy with the JWM setup at the moment, config files are setup nicely, etc.. Just tweaking a few custom scripts to manage the settings..Bruce B wrote:I don't know if you need or want help on how I setup JWM up and how I change backgrounds. If you do, ask and I'll explain it.
What I am really looking into (and struggling with quite badly) is getting the Wary pets to play nicely with the PPM - they are not listed by the dependency checker tool in PetGet, and do not uninstall!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
using the Xvesa/jwm quick start command to start X can sometimes fail because jwm tries to start before the X server is established.
This is easily fixed with sleep but to get the sleep value large enough for older PCs, it causes undue delay for others.
I recalled a program in tinycore that was called waitforx, but couldn't find any source code and wasn't 100% sure what it did, so I just wrote my own that just keeps trying to connect to a display and returns as soon as it does (so that a wm wont fail to open a display and quit)This works with either Xvesa or other Xservers (Xfbdev, Xorg...)
Ex.
where the initial "X" could be:
Xvesa -br -kb -nozap -screen 640x480x16 -shadow -mouse /dev/mouse -nolisten tcp -tst -I
or simply
Xorg
The && after waitforx prevents the wm from trying to start if the Xserver fails, while the killall X keeps the Xserver from staying open if the wm quits (this part could be modified if you wish to change window managers on the fly)
Edit:
I also wrote a static build version that uses getenv("DISPLAY") instead of XOpenDisplay ...to prevent pulling in xlib and its deps. (this works because the server exports DISPLAY once it is running)works with uclibc, but fails on dietlibc because diet's getenv always returns succes even if it fails (kinda like little league these days)
This is easily fixed with sleep but to get the sleep value large enough for older PCs, it causes undue delay for others.
I recalled a program in tinycore that was called waitforx, but couldn't find any source code and wasn't 100% sure what it did, so I just wrote my own that just keeps trying to connect to a display and returns as soon as it does (so that a wm wont fail to open a display and quit)
Code: Select all
#include <X11/X.h>
int main(int argc, char *argv) {
int i=0;
for (i; i < 4095; i++) {
if (XOpenDisplay(0)) return(1);}
return(0);
}
Ex.
Code: Select all
X & waitforx && jwm -display :0; killall X
Xvesa -br -kb -nozap -screen 640x480x16 -shadow -mouse /dev/mouse -nolisten tcp -tst -I
or simply
Xorg
The && after waitforx prevents the wm from trying to start if the Xserver fails, while the killall X keeps the Xserver from staying open if the wm quits (this part could be modified if you wish to change window managers on the fly)
Edit:
I also wrote a static build version that uses getenv("DISPLAY") instead of XOpenDisplay ...to prevent pulling in xlib and its deps. (this works because the server exports DISPLAY once it is running)
Code: Select all
#include <stdlib.h>
int main(int argc, char *argv) {
int i=0;
for (i; i < 99999; i++) {
if (getenv("DISPLAY")) return(1);}
return(0);
}
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
Seems that is what you want:technosaurus wrote: I recalled a program in tinycore that was called waitforx, but couldn't find any source code
http://distro.ibiblio.org/tinycorelinux ... waitforX.c
- Attachments
-
- waitforX.c.gz
- (992 Bytes) Downloaded 257 times
SUUM CUIQUE.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
That was it, but turns out that my static-uclibc-getenv version of waitfor{display} worked out fine, though the usleep in tinycore's version may be a good additionPANZERKOPF wrote:Seems that is what you want:technosaurus wrote: I recalled a program in tinycore that was called waitforx, but couldn't find any source code
http://distro.ibiblio.org/tinycorelinux ... waitforX.c
My startup times were:
5.1878500s Xorg
0.1434860s Xvesa-shared
0.0983872s Xvesa-static
times calculated using date +%s.%N >>/root/times
(prior to the X command and as the jwm <StartupCommand>)
Here is a copy of the static waitfordisplay, should anyone care to test it out.
Xvesa -screen 1024x768x24 & waitfordisplay && jwm -display :0 || killall Xvesa
or Xorg
Xorg & waitfordisplay && jwm -display :0 || killall Xorg
- Attachments
-
- waitfordisplay.gz
- (2.36 KiB) Downloaded 324 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
Gonna have a look at this soon.PANZERKOPF wrote:Today I tested your waitfordisplay. It works without any problems.technosaurus wrote: Here is a copy of the static waitfordisplay, should anyone care to test it out.
In the mean time, I've been busy stealing shinobars work on localisation.
I figure I will add much better support for Spanish, German and French.
So far, I have:
- added puppydesktop_NLS system (already mostly in place)
- created/added these translations for german, french, spanish:
- boot manager, chooselocale, check_deps, connectwizard, connectwizard_2nd, pkg_chooser, install_preview
- updated .mo files to match new scripts, bootmanager wont break if .mo outdated
I would greatly appreciate any guidance in this area!
Blame Google for the poor translations.. (And me, I edited bits...)
Here's a pic or 2:
- Attachments
-
- german.jpg
- (155.1 KiB) Downloaded 349 times
-
- spanish.gif
- (93.71 KiB) Downloaded 297 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
I ABSOLUTELY do not trust Google translate here:
I want the above in French, German and Spanish, if possible. Please.
Code: Select all
Loc_main_msg="Unmount /mnt/${1} now? Make sure ${1} is not being used."
Loc_was_unmounted="${1} was unmounted"
Loc_still_mounted="${1} still mounted"
Loc_already_unmounted="${1} was already unmounted"
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
It doesn't look too bad to me, but others may do better.....
Je ne suis absolument pas confiance à Google de traduire ici:
Code:
Loc_main_msg = "Démonter / mnt / $ {1} maintenant? Assurez-vous que $ {1} n'est pas utilisé."
Loc_was_unmounted = "$ {1} a été démonté"
Loc_still_mounted = "$ {1} encore monté"
Loc_already_unmounted = "$ {1} a déjà été démonté"
Je veux que le dessus en français, allemand et espagnol, si possible. S'il vous plaît.
_________________
Ich absolut kein Vertrauen in Google hier übersetzen:
Code:
Loc_main_msg = "Unmount / mnt / $ {1} jetzt? Stellen Sie sicher, $ {1} nicht verwendet wird."
Loc_was_unmounted = "$ {1} wurde nicht gefasst"
Loc_still_mounted = "$ {1} noch montiert"
Loc_already_unmounted = "$ {1} wurde bereits gefasst"
Ich möchte die oben in Französisch, Deutsch und Spanisch, wenn möglich. Bitte.
-----------------
Estoy totalmente de no confiar en Google traduce en:
Código:
Loc_main_msg = "Desmontar / mnt / $ {1} ahora? Asegúrese de $ {1} no se está utilizando".
Loc_was_unmounted = "$ {1} ha sido desmontado"
Loc_still_mounted = "$ {1} siendo montado"
Loc_already_unmounted = "$ {1} ha sido desmontado ya"
Quiero que el anterior en francés, alemán y español, si es posible. Por favor.
--------------------------------
btw, it's just my sense of humour to include your bits....
Aitch
Je ne suis absolument pas confiance à Google de traduire ici:
Code:
Loc_main_msg = "Démonter / mnt / $ {1} maintenant? Assurez-vous que $ {1} n'est pas utilisé."
Loc_was_unmounted = "$ {1} a été démonté"
Loc_still_mounted = "$ {1} encore monté"
Loc_already_unmounted = "$ {1} a déjà été démonté"
Je veux que le dessus en français, allemand et espagnol, si possible. S'il vous plaît.
_________________
Ich absolut kein Vertrauen in Google hier übersetzen:
Code:
Loc_main_msg = "Unmount / mnt / $ {1} jetzt? Stellen Sie sicher, $ {1} nicht verwendet wird."
Loc_was_unmounted = "$ {1} wurde nicht gefasst"
Loc_still_mounted = "$ {1} noch montiert"
Loc_already_unmounted = "$ {1} wurde bereits gefasst"
Ich möchte die oben in Französisch, Deutsch und Spanisch, wenn möglich. Bitte.
-----------------
Estoy totalmente de no confiar en Google traduce en:
Código:
Loc_main_msg = "Desmontar / mnt / $ {1} ahora? Asegúrese de $ {1} no se está utilizando".
Loc_was_unmounted = "$ {1} ha sido desmontado"
Loc_still_mounted = "$ {1} siendo montado"
Loc_already_unmounted = "$ {1} ha sido desmontado ya"
Quiero que el anterior en francés, alemán y español, si es posible. Por favor.
--------------------------------
btw, it's just my sense of humour to include your bits....
Aitch