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 Wed 16 Apr 2014, 10:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Request: SciPlore 15 beta [FILLED]
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
Puppyt

Joined: 09 May 2008
Posts: 549
Location: Karana Downs, Queensland

PostPosted: Sat 30 Jul 2011, 10:05    Post subject:  

Ariel!

You little beauty. I saw Marcello post on your FreeMind thread earlier, and will be trying your work-around in the morning (just turned pumpkin-hour here in East Oz). I've already given the Docear team a 'heads up' on this issue, and I'm sure that they've read the FreeMind and SciPlore threads in this forum but they are very busy with moving their base from FreeMind to FreePlane, so no direct remedies have appeared. Myself I've even tried symlinking in various directories - all dead-ended. I hadn't considered the xdg-open issue at all - here's hoping! I hope to attach a screenie of a PDF opened from within SciPlore, very soooooon....
Cheers!

PS I hope that they might toss a bit of their 100.000 your way - I'm guessing you're in Europe Smile

UPDATE :
Ok I've followed your recipe outlined in the FreeMind thread, although I haven't installed your FreeMind pet. I've even installed the cgj-jre-4-4-4-3-lucid pet you had listed on that thread. Web-pages cast into the SciPlore mindmap open with default browser, FireFox (yay! Behaviour that I hadn't checked earlier), but I get no response when trying to open PDFs or JPG images, after openfile.sh pet is installed and the SciPlore Tools>Preferences>HTML >Default Browser command Other Os> ... changed to "openfile.sh {0}". Nada. No signs of activity, just stonewalling.
So something has changed in SciPlore's behaviour - and I'm thinking that your work-around is possibly the most likely solution, nonetheless. I'll try other puplets other than my early-lucid barebones base, and experiment with other java pets (currently using one of pemasu's, wondering if ttuuxx's pet might show something different). Hope to give more feedback later tonight. Smile

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux

Last edited by Puppyt on Wed 03 Aug 2011, 22:16; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Puppyt

Joined: 09 May 2008
Posts: 549
Location: Karana Downs, Queensland

PostPosted: Sun 31 Jul 2011, 08:26    Post subject:
Subject description: SciPlore pdf jpg nearly solved
 

G'day again Ariel,

I've just run a frugal install of pemasu's Polarpup v 003 on my machine, installing ttuuxx's jre-6u26-1-i386, your cgj-jre-4-4-4-3-lucid, geoff's SciPlore15 pet, and then with reboots your openfile.sh and then even your FreeMind pet.
Strange - here the SciPlore flash title page halts while "Load maps..." but mindmaps can still be designed and saved. Didn't see that in my Lucid lite frugal environment - and not while using ttuuxx's java in dpup pupplets. My test mindmap, with PDF, html and jpgs on nodes returned the same behaviour as noted in my update in the previous post. Then tested Freemind, first without the change to the xdg-open default:
Code:

sh-4.1# freemind
Checking Java Version...
java.io.FileNotFoundException: /root/.freemind/auto.properties (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:120)
   at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136)
   at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56)
Panic! Error while loading default properties.
Jul 31, 2011 9:45:09 PM freemind.main.FreeMindCommon$FreemindResourceBundle handleGetObject
SEVERE: Warning - resource string not found:OptionPanel.kr


And after changing to openfile.sh and restarting Freemind:
Code:

sh-4.1# freemind
Checking Java Version...
Jul 31, 2011 9:49:04 PM freemind.main.FreeMindCommon$FreemindResourceBundle handleGetObject
SEVERE: Warning - resource string not found:OptionPanel.kr
sh-4.1#

...so, I'm afraid I'm still completely in the dark about this issue. In ttuuxx's TOP8 214X I reported last week a different response where the default browser was called to (unsuccessfully) open pdfs and images. Wonder if your openfile.sh pet would work there?

Thanks for your help,
Puppyt

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 92

PostPosted: Mon 01 Aug 2011, 08:06    Post subject:  

Puppyt wrote:
I get no response when trying to open PDFs or JPG images, after openfile.sh pet is installed and the SciPlore Tools>Preferences>HTML >Default Browser command Other Os> ... changed to "openfile.sh {0}". Nada. No signs of activity, just stonewalling.


of course not. you are supposed to modify the script to suit your install Exclamation
for example add this line to the script to open a jpg file:

Code:
elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then viewnior "$@"


another catch is that you need a proper application that can open files with a command line. for pdfs you can use evince, for images viewnior, for htmls firefox, and so on...

i've just scribbled a fast and dirty script that needs your cooperation Smile

for each kind of file check if there's the corresponding code to open it. if the script doesn't work add the necessary code or change it in /usr/bin/openfile.sh with a text editor. it should be a peace of cake even for bash illitarates.

if you wonder where to find evince you can GoNgetIT Wink
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 549
Location: Karana Downs, Queensland

PostPosted: Mon 01 Aug 2011, 14:33    Post subject:  

Laughing
...bash illiterates, and ME! "None so blind...", as they say.
Brilliant, Ariel - I reckon I will have it going very shortly, later today. Thankyou VERY much for filling in that last piece of the puzzle for me! SciPlore/ Docear provides a MASSIVE tool to assist research and research writing, and although (I hope) their next round of updates are planned to include Preferences for the user to select and change their preferred apps for various file integration - removing this problem in future (I'm guessing) - it's been a bugger to have SciPlore only working, for me, in XP rather than Puppy.

3 Cheers for you, Ariel! Exclamation Exclamation Exclamation


PS I think I've tried eVince from a pet somewheres from the forum - one of my earlier dead-ends in trying to awaken SciPlore in Puppy... thanks for the link nonetheless - good backup avenue if things don't go 'ping' in the right way...

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux

Last edited by Puppyt on Wed 03 Aug 2011, 22:24; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 92

PostPosted: Mon 01 Aug 2011, 15:30    Post subject:  

it's a fine pleasure to help get rid of the Redmond virusware Very Happy


ps
i meant bash, the unix shell
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 549
Location: Karana Downs, Queensland

PostPosted: Mon 01 Aug 2011, 17:16    Post subject:
Subject description: REQUEST ABOUT TO BE FILLED
 

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:

#!/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.

Very Happy

[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]

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
Puppyt

Joined: 09 May 2008
Posts: 549
Location: Karana Downs, Queensland

PostPosted: Fri 05 Oct 2012, 21:12    Post subject:
Subject description: BUMP? Docear
 

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/viewtopic.php?p=655270#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. Smile

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
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.0657s ][ Queries: 12 (0.0044s) ][ GZIP on ]