Request: SciPlore 15 beta [FILLED]

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Message
Author
Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#21 Post by Puppyt »

yeah, I know - but I understand bash: brick wall + my brain shell

Here though I'm certain you've spelt out the complete solution for me now - I'll get some time later today to finetune my openfile.sh, and snip off yet another string from my puppetmaster, Mr Gates :wink:

PS Again, your help on this matter is really, REALLY appreciated - by myself and nearly 1000 onlookers to this thread.

UPDATE:
YAHOOOO

I think I can safely call this request "FILLED".
Many Thanks to Geoffrey and Ariel for their impetus to get this over the line. SciPlore (FreeMind Scholar) is just about to evolve into FreePlane-based "Docear" that hopefully won't encounter the XDG-open problem in Puppy. SciPlore in Puppy however will still require some manual massage to have it working to the user's requirements. Here's the copy of my openfile.sh:

Code: Select all

#!/bin/bash
#this script opens files within freemind-0.9.0
#to use install the script in /usr/bin
#open freemind and go to Tools>Preferences>HTML menu
#in Defaul Browser Command Other Os, insert this command: openfile.sh {0}
#save
#quit freemind and launch it again
#
#you can add other programs provided you add the extension of the file you want to launch (last 3 characters)



ext=`echo "$@" | sed 's/.*\(...\)$/\1/'`

if [ "$ext" == doc ] ; then abiword "$@"
	elif [ "$ext" == txt ] ; then abiword "$@"
	elif [ "$ext" == tml ] ; then firefox "$@"
	elif [ "$ext" == abw ] ; then abiword "$@"
	elif [ "$ext" == pdf ] || [ "$ext" == PDF ] ; then evince "$@"
	# elif [ "$ext" == pdf ] || [ "$ext" == PDF ] ; then FoxitReader "$@"
	elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then viewnior "$@"
	# elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then evince "$@"

fi
I've commented out the jpg option for eVince - it can read a wide range of file formats - and it works here as does Viewnior. It also opens PDF's correctly and very rapidly. I would prefer Foxit Reader as apparently SciPlore retains user's highlighting and annotations made to any pdf in Foxit Reader. In my findings it just starts Foxit, doesn't open the pdf, and hence is commented out here. I'll post any other problem I might find in the next few days of use.

:D

[Test environment: using pemasu's Polarpup-003, Woof, kernel 2.6.39-3(i686); Geoffrey's SciPlore 15beta pet; Ariel's openfile and cgj-jre-4-4-4-3-lucid pets (latter might not be required); ttuuxx's jre-6u26-1-i386 and evince-2.30.3-i386 pets; and the FoxitReader-1.1-lucid pet downloaded via PPM]
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#22 Post by Puppyt »

Just a quick notification:
This thread for "SciPlore" is now deceased - many thanks to all those who assisted my venture. SciPlore is now "Docear" (http://www.docear.org/). Meeki has very kindly posted a pet for the 1.0.0.6 build123 Docear update here http://www.murga-linux.com/puppy/viewto ... 270#655270. Compiled in LH64, I haven't tested it in any other puppy yet, but meeki assures me it should work in just about any. There are links in associated posts to video tutorials on how to create/update your own Docear pets too. :)
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

Post Reply