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 Mon 20 May 2013, 02:15
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Dpup Exprimo 5.X.15
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 59 of 148 [2207 Posts]   Goto page: Previous 1, 2, 3, ..., 57, 58, 59, 60, 61, ..., 146, 147, 148 Next
Author Message
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Fri 09 Sep 2011, 11:35    Post subject:  

Backi. /root/my-applications/bin/nosaveshutdown script has been included since the Exprimo you first time posted about your need. It works as it works.
But the script has been there all the time since your post. That script has issues as you know. But your need is the kind personal tuning that somekind own searching and testing is needed.
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 4741
Location: Kentucky

PostPosted: Fri 09 Sep 2011, 12:00    Post subject:  

nooby wrote:
james c your cpu there 83% was that typical or an exception?


Just momentarily went higher while I was taking the screenshot.......generally is much lower.
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 353
Location: GERMANY

PostPosted: Fri 09 Sep 2011, 12:06    Post subject:  

HI pemasu !

Backi. /root/my-applications/bin/nosaveshutdown script has been included since the Exprimo you first time posted about your need. It works as it works.
But the script has been there all the time since your post. That script has issues as you know. But your need is the kind personal tuning that somekind own searching and testing is needed.



Didn't know this. will have a look .

Thanks
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 901
Location: Malvern, Worcs, UK

PostPosted: Fri 09 Sep 2011, 16:19    Post subject:  

Hi pemasu

I like the idea of having separate sfs's for things like office applications....

however after adding the abiword / gnumeric sfs, documents will not open with either a click or by selecting the open option from the right-click menu.

Is there something missing from the sfs to allow this integration to happen?

Thanks
peebee

_________________
HP550 laptop: 2GHz Celeron, 2GB ram, Broadcom B43 wifi, Agere HDA modem [2009]
IBM Thinkpad 600: 266MHz PII, 160MB ram, 2GB swap partition, wifi & modem via pcmcia [1999]
Desktop: AMD Athlon II X2 260 4GB, Nvidia GeForce7025[2012]
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Fri 09 Sep 2011, 16:22    Post subject:  

It is possible I have not included needed folders to perform the right mime open commands. I thought they were included. I will test the working tomorrow later.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Fri 09 Sep 2011, 16:55    Post subject:  

Peebee. Well. Tv movie wasnt so good. I checked the sfs already. It missed some of the stuff I thought was there. Now it should be fixed. The updated abiword-2.9.0-gnumeric-1.10.13-goffice-0.8.12-dpup.sfs is now in the pet_packages-repo. Mime types and rox right clicks should now work for .abw, .doc, .xls, .gnumeric...at least.

Thank you Peebee. It is much less work when someone finds the need for fix and you know what to look for. Really helpful.
Back to top
View user's profile Send private message 
Superdooper

Joined: 28 Aug 2011
Posts: 4

PostPosted: Fri 09 Sep 2011, 21:51    Post subject: Thanks  

Thanks for the hard work Pemasu. Just downloaded and running live cd. So far everything is working great on the old gateway! Everything is running a lot smoother than with 5.2.8 so far. Good Job!
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 901
Location: Malvern, Worcs, UK

PostPosted: Sat 10 Sep 2011, 04:18    Post subject:  

pemasu wrote:
Peebee. Well. Tv movie wasnt so good. I checked the sfs already. It missed some of the stuff I thought was there. Now it should be fixed. The updated abiword-2.9.0-gnumeric-1.10.13-goffice-0.8.12-dpup.sfs is now in the pet_packages-repo. Mime types and rox right clicks should now work for .abw, .doc, .xls, .gnumeric...at least.

Thank you Peebee. It is much less work when someone finds the need for fix and you know what to look for. Really helpful.


Hi pemasu

As always - many thanks for your rapid and helpful response.

I've downloaded the modified .sfs and can confirm that right click open now works....

however single click on a document does not open it - I think because defaultspreadsheet and defaultwordprocessor are not linked to gnumeric and abiword.........these are the run commands executed on single click I think....confirmed by editing the files in /usr/local/bin to remove the # on the relevant lines

Cheers
peebee

_________________
HP550 laptop: 2GHz Celeron, 2GB ram, Broadcom B43 wifi, Agere HDA modem [2009]
IBM Thinkpad 600: 266MHz PII, 160MB ram, 2GB swap partition, wifi & modem via pcmcia [1999]
Desktop: AMD Athlon II X2 260 4GB, Nvidia GeForce7025[2012]
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 353
Location: GERMANY

PostPosted: Sat 10 Sep 2011, 04:41    Post subject:
Subject description: Shutdown with no save
 

Hi Folks !
Shut down with no saving.
Used this script in dpupexprimo and Three Headed Dog :

#!/bin/sh
# skips rc.shutdown and powers off computer without saving the session.
Xdialog --title "script $0" --yesno "\n\nAre you sure to power-off computer WITHOUT saving?\n\n" 0 0
[ $? -eq 0 ] && rm /initrd/pup_ro1/etc/.XLOADED && rm /etc/.XLOADED
exec /bin/busybox poweroff

In DpupExprimo you find it here:

" /root/my-applications/bin/nosaveshutdown script has been included since the Exprimo you first time posted about your need. It works as it works. "

Does work so far Shutdown without save, but not in every case.
Try to explain what i experienced.

For example: installed Iron-13 pet >shutdown with no save option (fast shutdown)
after restart- bootup this programm-browser still there (despite shutting down with no save)
For example installed an opera deb >shutdown with no save option (fast shutdown)
after restart- bootup this programm-browser still there (despite shutting down with no save)
(this programms don't appear as installed in PPM- if this may give some information)

Then did a test installing an hpprinter driver pet (indicated as installed in PPM) or made changes remove builtin packages then
>shutdown with no save option (fast shutdown)
after restart- bootup this installation-changes are not saved

Another example: making a text file saving it as dokument
>shutdown with no save option (fast shutdown)
after restart- bootup this saving is gone.

My thinking is i am running in ram and >shutdown with no save option (fast shutdown) will eliminate all changes during session.

Why these above mentioned pets and debs (there are others too) surpass
>shutdown with no save option (fast shutdown) ?
how do the manage to go to my USB stick despite>shutdown with no save option (fast shutdown) and other pets or debs don't ?

Quite curious.
Somehow these above mentioned pets and debs and others too ,manage to go to my USB stick despite >shutdown with no save option
Some others don't.

I'ḿ quite confused.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Sat 10 Sep 2011, 07:31    Post subject:  

Backi. Have you changed the save session time to 0 in Puppy Session Manager.
Otherwise I dont know why they dont work everytime.
Have you used Scottman posted rc.shutdown method also. Those two are the ones I know. Scottmans method with edited rc.shutdown can be found from forum or I can make installable pet of it.

Last edited by pemasu on Sat 10 Sep 2011, 07:57; edited 1 time in total
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Sat 10 Sep 2011, 07:33    Post subject:  

Peebee. Those /usr/local/bin default changes are included surely in sfs. Interesting that they dont change the existing ones. When I tested the sfs, it changed the default apps to execute abiword and gnumeric. It looks like the layering system does not handle the sfs as it should. Interesting. Maybe it is question how you load the sfs. Using Boot Manager to load the sfs and then reboot should load the sfs properly and overwrite the existing stuff.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 901
Location: Malvern, Worcs, UK

PostPosted: Sat 10 Sep 2011, 10:27    Post subject:  

pemasu wrote:
Peebee. Those /usr/local/bin default changes are included surely in sfs. Interesting that they dont change the existing ones. When I tested the sfs, it changed the default apps to execute abiword and gnumeric. It looks like the layering system does not handle the sfs as it should. Interesting. Maybe it is question how you load the sfs. Using Boot Manager to load the sfs and then reboot should load the sfs properly and overwrite the existing stuff.


Hi pemasu

Tried uninstalling and then re-installing the sfs after a reboot and that didn't make a difference so...

I went back to a pristine savefile - booted into e17 - closed down, created a new savefile, selected the sfs on reboot - rebooted again - changed into jwm and clicked on .xls file - same result it didn't open - looked in defaultspreadsheet and both lines were commented out.....

I am using jwm not e17 - is that the problem??

I got the sfs using the Sfs Apps loader by the way....but moved it into my squeeze subdirectory, not in /mnt/home - is that the problem??

Cheers
peebee

_________________
HP550 laptop: 2GHz Celeron, 2GB ram, Broadcom B43 wifi, Agere HDA modem [2009]
IBM Thinkpad 600: 266MHz PII, 160MB ram, 2GB swap partition, wifi & modem via pcmcia [1999]
Desktop: AMD Athlon II X2 260 4GB, Nvidia GeForce7025[2012]
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 353
Location: GERMANY

PostPosted: Sat 10 Sep 2011, 11:19    Post subject:
Subject description: Shutdown with no save
 

Hello pemasu !
Yes i have changed the save session time to 0 in Puppy Session Manager.

"Scottmans method with edited rc.shutdown can be found from forum or I can make installable pet of it."

If it where possible to make this pet ,i would like to test it.

Thanks!

Last edited by backi on Sat 10 Sep 2011, 12:47; edited 3 times in total
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 353
Location: GERMANY

PostPosted: Sat 10 Sep 2011, 12:22    Post subject:
Subject description: Shut down with no save
 

Hi pemasu !

Here i am back again. Sometimes things make me quite curious and stealing my sleep away.

Listen what i did (i am a linux newbee and not much experienced in all those things) . Maybe it does mean anything to anyone.

Because of this strange saving effect, i asked myself ,if or how or why some deb or pet file installations, seems to manage going to my USB stick during a session while i am working completely in ram ( i think so that i am doing that. My savesession intervalls are set to 0 ) and at the end of session when shutting down normally , everything is saved to my savefile (on USB stick).and nothing is saved meanwhile (except i save session manually with"save2flash ").This is my believe-system .


Makes me wonder.
So i made a test.
I installed IRON 13 pet during session - iron was installed and working
then i brutally cut of powerconnection of my laptop during session (removed accu battery
to shutdown the whole system (lights went off).

Then restarted Dpupexprimo (booted again from zero)
in expectation that iron ,installed during session wouldn`t be saved because of this sudden powerloss during session.
But much to my surprise, after booting dpup again, i found IRON still under -menue>internet and working .
Is it possible ,that some pets or deb programm installing themselves
directly to my USB stick , although (so is my believing) they should not
leave or escape out of the "Ram territory " during a session, without sending it to hardware- memory manually (with save2flash or shutting down normally).

Some other pets or installations don't behave like that.

That really makes me wonder.
Maybe anybody able to explain to me, how all this can happen and how this is working? Or maybe i misunderstand some things .

Last edited by backi on Sat 10 Sep 2011, 12:51; edited 1 time in total
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5167
Location: Finland

PostPosted: Sat 10 Sep 2011, 12:51    Post subject:  

Backi. My first thought is that when you boot up, it picks up savefile which has that Iron installed. if you boot up with pfix=ram and have savesession = 0, and when t you take the power off, there shouldnt be savefile created for that session. For me...logical reason is that you have another savefile in usb stick which has that Iron installed already and when you boot again it picks that savefile.
Otherwise...it is interesting. Could you post your usb stick booting config. Whatever booting method you use.
And...I dont recommend to violently shut down your comp. If you have filesystems mounted in you comp hdd, they might get damage. Filesystem table could corrupt.

Peebee. Okay...I tested again the abiword...sfs. You were right, the sfs included defaultspreadsheet and defaultwordprocessor filesdont overwrite the existing ones. Interesting. Those files dont have sticky bit so they should be overwritten by sfs included files.
I am at loss. Could better than me enlighten us, why the same files with different content will not be overwritten by sfs. And I am sure those folders are identical in sfs. Only file content is different.
I cant change the content with echo and sed because pinstall.sh is not executed with sfs loading.
Anyway, I will update the abiword....pet also. And I check that those stubborn files will be overwritten....or I use pinstall.sh to add the needed content.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 59 of 148 [2207 Posts]   Goto page: Previous 1, 2, 3, ..., 57, 58, 59, 60, 61, ..., 146, 147, 148 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1124s ][ Queries: 12 (0.0327s) ][ GZIP on ]