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 15 Dec 2017, 21:57
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Puppy Power
Puppy Linux Newsletter
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 8 [108 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
smokey01


Joined: 30 Dec 2006
Posts: 2659
Location: South Australia

PostPosted: Wed 08 Mar 2017, 17:46    Post subject:  

Calling for articles for the April edition.
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
6502coder


Joined: 23 Mar 2009
Posts: 410
Location: Western United States

PostPosted: Wed 08 Mar 2017, 18:07    Post subject:  

Okay, here's a dialog/Xdialog version of the Puppy Newsletter Index Sorter. I tested this on my Puppy 412 Retro system so it should run on pretty much any Puppy. My Xdialog version there is 2.3.1; my dialog version is 1.0-20060221. You can switch from Xdialog to dialog with a simple edit.

Download.
Put it in the folder where you have the PNI.txt file.
Rename to remove the fake ".zip" extension.
Make executable with
Code:
    chmod  +x   dspni.sh

Run with
Code:
    ./dspni.sh
dspni.sh.zip
Description  See instructions in post
zip

 Download 
Filename  dspni.sh.zip 
Filesize  2.81 KB 
Downloaded  77 Time(s) 
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Wed 08 Mar 2017, 18:37    Post subject:  

This is great. These newletters are a great boost for the Puppy Community and that index creator is very helpful and useful.

Good to see.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 9687
Location: Charleston S.C. USA

PostPosted: Wed 08 Mar 2017, 21:01    Post subject:  

As small as the dspni.sh and the PNI.txt are.
You should be able to make it into a pet package.
As long as it is not larger than 256K.
The forum should allow posting it here.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
6502coder


Joined: 23 Mar 2009
Posts: 410
Location: Western United States

PostPosted: Thu 09 Mar 2017, 17:58    Post subject: Submission for April Newsletter  

smokey01 wrote:
Calling for articles for the April edition.

Just sent you my article via email.
Back to top
View user's profile Send private message 
6502coder


Joined: 23 Mar 2009
Posts: 410
Location: Western United States

PostPosted: Thu 09 Mar 2017, 22:03    Post subject:  

bigpup wrote:
As small as the dspni.sh and the PNI.txt are.
You should be able to make it into a pet package.
As long as it is not larger than 256K.
The forum should allow posting it here.

The PNI.txt will be updated every month, so it would be awkward to distribute it in a PET. The plan is for me to post the new PNI.txt to smokey01 each month and he will provide a place for it, probably right there with the newsletter notecase files, where people can download it.

As for the app, I've got it packaged as a PET but I'm waiting a little longer to make it more newbie-proof and to see if any suggestions for improvements come in. Then I'll post the PET here sometime next week. BTW I'm going forward with the dialog/Xdialog version and dropping the YAD version.

Meanwhile, I have two questions for anyone who wants to chime in:

1) I'm going to have the app assume the PNI.txt file is in ~/my-documents/
Of course it will check, and scream if it can't find the file. I assume that anyone who can't live with the PNI.txt file being in my-documents will at least be OK with either making a symlink or editing the script. Any objections? I really don't want to add the complication of a file selector dialog.

2) I'm having trouble deciding what category this app falls in, for purposes of adding a menu entry. I'm leaning towards Utilities just because it's the least bad fit. Any other ideas?
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9687
Location: Charleston S.C. USA

PostPosted: Sat 11 Mar 2017, 04:12    Post subject:  

Quote:
1) I'm going to have the app assume the PNI.txt file is in ~/my-documents/

I have my browser set to download to ~/Downloads

Makes it easy to find what I download.

Not sure if others do the same, but that is what the ~/Downloads is for.

That is going to be the issue. Where the person downloads to. Their choice in a browser.
Quote:
2) I'm having trouble deciding what category this app falls in

menu->Document

There are some document readers located here.
PNI.txt is a document file.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9687
Location: Charleston S.C. USA

PostPosted: Sat 11 Mar 2017, 04:28    Post subject:  

Tahrpup 6.0.6

Using the newest dialog/Xdialog version of dspni.sh

After selecting the options.
Nothing happens.

Get this error after selecting OK.
capture28657.png
 Description   
 Filesize   5.89 KB
 Viewed   599 Time(s)

capture28657.png


_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
6502coder


Joined: 23 Mar 2009
Posts: 410
Location: Western United States

PostPosted: Sat 11 Mar 2017, 13:36    Post subject:  

Thanks for the feedback, bigpup

1) Puppy 412, where I do the development work on this app, does not have a ~/Downloads directory (I just checked booting from a virgin 412 LiveCD -- no such directory). However, I see that Wary has a ~/Downloads directory and I take your point. If nobody else objects, I'm fine with making ~/Downloads the assumed location of the PNI.txt file.

Edit: skip to "LATE NEWS" below:


2) The "bad KeyA" error is puzzling. Around line 64 or so in the script, you should see this:

Code:
#echo "KeyA: " $keyA " KeyB: " $keyB
#echo "addDesc: " $addDesc " formatOutput: " $formatOutput
#exit


Could you un-comment those 3 lines by removing the leading "#" and let me know what you see?

Also, could you tell me what selections you made in the sort-order and "options" dialogs?

3) It looks like you've set the script to use "dialog" instead of "Xdialog", correct? Not that it should matter. Do you get the same error if you use "Xdialog" instead of "dialog"?

Thanks for the help.

@bigpup: LATE NEWS:

I just burned a CD of TahrPup 6.0.6 and booted up a LiveCD session. I immediately copied over PNI.txt and the version of the dspni.sh attached below. It's possible this is slightly later than the version you have. At any rate, I was unable to reproduce your bug. It worked fine using either dialog or Xdialog. I also ran it from from an xterm -- because that hideous blue console was driving me blind -- and again no problems. Very strange.
dspni.sh.zip
Description  You know the drill. Edit to point it to where you have placed PNI.txt
zip

 Download 
Filename  dspni.sh.zip 
Filesize  2.81 KB 
Downloaded  71 Time(s) 
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9687
Location: Charleston S.C. USA

PostPosted: Sun 12 Mar 2017, 01:33    Post subject:  

Ok, I tried the dspni.sh (from above) in a clean install of Tahrpup 6.0.6

dspni.sh Xdialog is working OK.
I did not try dialog.

I broke something in my Tahrpup 6.0.6 using the save.
I have got to stop trying to use program packages made for other Linux.
We are Puppy.
We are different.
You will assimilate.

Well, I can confirm that the Xdialog version of dspni should work in most/all Puppies.
They all come with Xdialog

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
kb8amz

Joined: 11 Jul 2008
Posts: 42
Location: Kent, Ohio, USA

PostPosted: Mon 13 Mar 2017, 02:03    Post subject: Read smokey01's 3 newsletters  

I've been having problems with one of PC's (its running Linux Mint 1Cool and old (really old) Dell Optiplex from a 2001 build. It had been running so slow that it reminded me of days with the 2 MHz 8 bit machine with the single sided floppy drive. Anyway I replaced that with a duo core Dell Laptop N5050 and Linux Mint 18 64 bit. I used to do telephone PC support for the No Child Left Behind Program. One day my supervisor lead me to a cart with many PC's in disarray and said take as many as you like. I took 2, a GX150 and GX520. The 520 seemed newer but I never checked the internals or ran a list of the hardware; I just assumed it was a 32 bit PC like the GX150. I had been running Ubuntu 16.04 on the 520 with no problem but since I was junking out the 150 replacing it with the laptop I wanted the remainder of my PC's desktop, laptops, and netbook's to run some version of Puppy. I discovered that the 520 is a 64 bit and I've been running it as a 32 bit. I thought I had accidentally inserted a tahr64-5.0.3.iso in the ROM drive and it booted much to my surprise. Been running on this PC for about the past week now and really enjoy it. When I opened the browser it opened to a page where I was notified about the newsletter. The what I said to self. I clicked on the link and found smokey01 had written a newsletter. Super swell. I had a 6.0.5 nonPAE iso on hand and thought I'd give it a try. The PC's drive didn't recognize this disc. I've downloaded a more recent version and will try it out, but I found 2 more newsletters by smokey01 and read them both. I learned that smokey01 is a, retired, firefighter or a 'hoser' as we call them here in the USA. I'm a retired police officer. Don't know what the firefighters call us but I've noticed as I've read many of the posts on here that many of the really smart people that have helped Barry K develop these versions of Puppy and applications are my age. Swell. I have enjoyed the newsletters smokey01 and wanted to give you my two cents worth of compliments.

Whoa, 0200 EDT, -5 GMT. Need to get off the PC and get to bed. Later, everyone.
Back to top
View user's profile Send private message 
Burn_IT


Joined: 12 Aug 2006
Posts: 2928
Location: Tamworth UK

PostPosted: Mon 13 Mar 2017, 08:05    Post subject:  

You need to format your text a bit.

It is extremely difficult to read as it is.

But welcome to the doghouse anyway.

64 bit capable machines will run 32 bit software quite happily - indeed there is very little ALL 64 bit software around as much of it uses library routines that are still 32bit.
Veryy few people are going to support two parallel versions of software whilst the single one still works. Don't forget that an awful ot of Linux is written and supported by private individuals who are doing it for the love of it in their spare time.

_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2659
Location: South Australia

PostPosted: Sat 18 Mar 2017, 17:13    Post subject:  

The deadline for April is tomorrow'ish.

In the past the newsletter .html file was a single file with base64 graphics embedded. Apparently this was as issue for apple devices so I have separated the graphics. For most readers this should not be noticable.

Cheers

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 174

PostPosted: Thu 23 Mar 2017, 03:12    Post subject:  

Just wanted to say thank you for the latest newsletter. Good read!
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 684

PostPosted: Fri 24 Mar 2017, 07:35    Post subject:  

Was making a 'how to make sfs using PPM' for submitting to Newsletter.

I thought pictorial guide would be nice. Then thought about combining pics to make gif.
After making gif, I inserted it in a node, notecase isn't showing it as a gif but as normal pic.
Can anyone suggest something.

I am worried about size too.
I reduced scaled down the gif to 300x200 so it's around 1mb.

I thought uploading it to imgur site and linking it on the howto.
It would work for html version, does it work for notecase too?

I am at work now, will experiment tomorrow.
Anyway learned to make gif from command line.

Thanks in advance for any help.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 8 [108 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Puppy Power
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0586s ][ Queries: 15 (0.0040s) ][ GZIP on ]