| Author |
Message |
sc0ttman

Joined: 16 Sep 2009 Posts: 2173 Location: UK
|
Posted: Mon 21 Nov 2011, 20:19 Post subject:
|
|
to remove duplicates, using a quick dirty fix (im too dumb to understand technos guide above):
remove all tabs and spaces fro mthe start of the <Program> lines
then, right at the end of the script, echo it all to a VAR, then 'uniq' then echo to .jwmrc
# ugly fix to remove duplicates that end up in the same sub menu
FILE1=`cat ${HOME}/.jwmrc | uniq `
echo "$FILE1" > ${HOME}/.jwmrc#
this totally goes against the shell only thing, but it works
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Tue 22 Nov 2011, 00:40 Post subject:
|
|
Hmm interesting solution, could probably pipe it through unique when echoing it to the .jwmrc[/img]
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 27 Nov 2011, 21:17 Post subject:
|
|
I have made some changes to eliminate duplicate menu entries and added support for keybindings... It borks the pretty formatting in the jwmrc, but it works, so I will upload when I get home.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Mon 28 Nov 2011, 00:48 Post subject:
|
|
v0.9 is uploaded and ready for testing, see initial post
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Fri 13 Jan 2012, 19:10 Post subject:
|
|
Ok, trialling this in Slacko on my lappy with jwm-svn572.
This works fine: | Code: | | jwm_menu_create && jwm -reload. |
*If* I were to use this in the next release this is what I think I would have to do:
patch petget to run jwm_menu_create && jwm -reload (or -restart depending on version)
patch the jwm_install_menu_create to read /etc/DISTRO_SPECS which provides DISTRO_FILE_PREFIX (eg "slacko", "wary5", "dpup") and only show those repos, maybe cross reference with ~/.packages/woof-installed-packages for obvious reasons, also filter out the DISTRO_COMPAT_REPOS with "Packages-puppy-*" instead of "Packages-"
---Possible support for closest geographical repo based on locale???
set 'DRIVES=""' as default since I'm using rox-desktop
anything anyone else can think of?
I really like the speed, simplicity and ease of use, not to mention built in locale support.
| Description |
|
| Filesize |
99.51 KB |
| Viewed |
608 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Fri 13 Jan 2012, 20:23 Post subject:
|
|
jwm -reload ¦¦ jwm -restart
This should work regardless of version
I hard coded the repository locations in jwm_install_menu_create because there was no standard and Barry renamed a bunch of directories on ibiblio and broke all a lot of older versions... Let me know if it is at a permanent state and I will update them. (i initially had it using distrospecs)
The only other thing I will add before 1.0 is pseudo-icon support, but I am still debating the best way, I was thinking about using $HOME/Desktop as in many DEs, and supporting both rox and jwm. Any thoughts on that?
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Fri 13 Jan 2012, 20:58 Post subject:
|
|
| Code: | http://distro.ibiblio.org/pub/linux/distributions/quirky/
pet_packages-common/ 2012-Jan-08 19:24:08 - Directory
pet_packages-drake/ 2011-Jul-28 04:42:14 - Directory
pet_packages-noarch/ 2012-Jan-08 06:54:10 - Directory
pet_packages-quirky/ 2011-May-28 03:40:42 - Directory
pet_packages-squeeze/ 2011-Nov-25 21:18:50 - Directory
pet_packages-wary5/ 2012-Jan-10 19:30:11 - Directory |
that's the state of ibiblio/quirky atm (plus a wary5OLD, I guess deprecated), note "pet_packages-noarch/" for future arm support.. <OT>wonder if(when) arm-puppy becomes available if jwm will compile and run? I might put in a feature request to Joe for a restart when swithching from landscape to portrait mode (inverted, left, right etc) when switching with xrandr, probably will be needed for tablets/phones etc.</OT>
here's ibiblio/puppylinux
| Code: | http://distro.ibiblio.org/pub/linux/distributions/puppylinux/
pet-packages-lucid/ 2012-Jan-11 11:52:41 - Directory
pet_packages-2/ 2009-Jun-09 23:44:00 - Directory
pet_packages-3/ 2008-Apr-19 21:45:38 - Directory
pet_packages-4/ 2011-Jan-23 12:18:50 - Directory
pet_packages-5/ 2011-Feb-19 21:13:44 - Directory
pet_packages-lucid/ 2012-Jan-11 11:52:41 - Directory
pet_packages-slacko/ 2012-Jan-05 11:08:29 - Directory | ...but pet-packages-lucid/ (hy-phen) isn't needed as pet_packages-lucid/ (under_score) is a link to it.
| Quote: | | The only other thing I will add before 1.0 is pseudo-icon support, but I am still debating the best way, I was thinking about using $HOME/Desktop as in many DEs, and supporting both rox and jwm. Any thoughts on that? | I for one like that idea.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 14 Jan 2012, 22:11 Post subject:
|
|
My bandwidth is too low to download all of the packages to get the pet.specs files from all of the packages to generate the package lists (i didn't see them in the repo). Perhaps this would be a good thing to suggest to Barry as a way to get updated package lists (and save some of his scarce bandwidth too)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Sat 14 Jan 2012, 22:40 Post subject:
|
|
| Quote: | Packages-puppy-2-official 2009-Mar-31 19:33:46 25.4K application/octet-stream
Packages-puppy-3-official 2009-Aug-05 11:10:12 28.4K application/octet-stream
Packages-puppy-4-official 2010-Feb-06 20:39:19 89.4K application/octet-stream
Packages-puppy-5-official 2011-Feb-19 07:11:27 24.1K application/octet-stream
Packages-puppy-lucid-official 2012-Jan-14 11:39:37 35.5K application/octet-stream
Packages-puppy-slacko-official 2011-Dec-12 06:42:18 56.2K application/octet-stream | http://distro.ibiblio.org/pub/linux/distributions/puppylinux/
Those lists are based on the pet.specs, same is in the quirky repo respectively.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 14 Jan 2012, 23:00 Post subject:
|
|
Ah, I was expecting to see them in each directory, that will actually simplify using wget to get updates... Maybe a checklist to turn on/off different repos too.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Mon 16 Jan 2012, 20:04 Post subject:
|
|
Ok, so I have .9 in the Slacko-5.3.1.2 alpha .. fairly raw, as in I didn't really hack anything. I did attempt to patch PPM, diffs and files attached.
| Description |
|

Download |
| Filename |
ppmdiffs.tar.gz |
| Filesize |
15.82 KB |
| Downloaded |
121 Time(s) |
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Sat 21 Jan 2012, 04:56 Post subject:
button size in window tittle |
|
It would appear that changing the window hight and/or the window tittle font size does not affect the size of the minimize/maximize/close buttons.
Is there a way to resize them accordingly?
Thx
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 21 Jan 2012, 22:31 Post subject:
|
|
They are hard coded ... As is the default icon (the ugly X) if you send an alternative set I can recompile jwm with them.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Sun 22 Jan 2012, 01:37 Post subject:
|
|
Wasn't that hard to actually patch jwm (newer version with older version icons widened a bit.), getting it to look right was another thing.
I'll post the patch and mavrothal I'll pm a bin for you.
The patch could be adjusted to suit your needs provided you know what you are doing with the xbm image format. Mtpaint handles it better than gimp actually.
| Description |
for late model jwm (made in 576). I don't know when Joe hard coded the icons so I don't know how far back this patch will support.
|

Download |
| Filename |
jwm_deco-wider.patch.gz |
| Filesize |
488 Bytes |
| Downloaded |
126 Time(s) |
| Description |
|
| Filesize |
2.81 KB |
| Viewed |
432 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Sun 22 Jan 2012, 04:40 Post subject:
|
|
| 01micko wrote: | Wasn't that hard to actually patch jwm (newer version with older version icons widened a bit.), getting it to look right was another thing.
I'll post the patch and mavrothal I'll pm a bin for you.
The patch could be adjusted to suit your needs provided you know what you are doing with the xbm image format. Mtpaint handles it better than gimp actually. |
The slacko version works just fine
I also made an XOpup/Lupu version
Thanks!
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
|