Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 13:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
jwm_tools-0.9 (was jwm_menu_create)
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 5 of 9 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: 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
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Tue 22 Nov 2011, 00:40    Post_subject:  

Hmm interesting solution, could probably pipe it through unique when echoing it to the .jwmrc[/img]
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 28 Nov 2011, 00:48    Post_subject:  

v0.9 is uploaded and ready for testing, see initial post
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: 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.
jwm1.png
 Description   
 Filesize   99.51 KB
 Viewed   713 Time(s)

jwm1.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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?

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: 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.
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: 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.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: 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.
ppmdiffs.tar.gz
Description 
gz

 Download 
Filename  ppmdiffs.tar.gz 
Filesize  15.82 KB 
Downloaded  228 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
mavrothal


Joined: 24 Aug 2009
Posts: 1698

PostPosted: 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 Very Happy
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: 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.
jwm_deco-wider.patch.gz
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.
gz

 Download 
Filename  jwm_deco-wider.patch.gz 
Filesize  488 Bytes 
Downloaded  232 Time(s) 
deco-wider.png
 Description   
 Filesize   2.81 KB
 Viewed   534 Time(s)

deco-wider.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
mavrothal


Joined: 24 Aug 2009
Posts: 1698

PostPosted: 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 Very Happy
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 Very Happy
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 5 of 9 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0866s ][ Queries: 13 (0.0078s) ][ GZIP on ]