Testing live persistence

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22144
Joined: Sun Dec 16, 2007 12:17 pm

Re: Testing live persistence

#11 Post by dolphin_oracle »

Persistence seems to be working fine. I do miss the auto-save (for dynamic persistence) from antix, but the use case is a different for mx so not that big a deal. Just got to remember to save...
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Developer
Posts: 8904
Joined: Wed Jul 12, 2006 1:42 am

Re: Testing live persistence

#12 Post by Adrian »

dolphin_oracle wrote:Persistence seems to be working fine. I do miss the auto-save (for dynamic persistence) from antix, but the use case is a different for mx so not that big a deal. Just got to remember to save...
Can we hack the shutdown scripts to save automatically?

User avatar
Jerry3904
Administrator
Posts: 23118
Joined: Wed Jul 19, 2006 6:13 am

Re: Testing live persistence

#13 Post by Jerry3904 »

Adrian wrote:
dolphin_oracle wrote:Persistence seems to be working fine. I do miss the auto-save (for dynamic persistence) from antix, but the use case is a different for mx so not that big a deal. Just got to remember to save...
Can we hack the shutdown scripts to save automatically?
If not, needs to be added to the Doc on "Persistence" (not that anybody reads them...)
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22144
Joined: Sun Dec 16, 2007 12:17 pm

Re: Testing live persistence

#14 Post by dolphin_oracle »

Adrian wrote:
dolphin_oracle wrote:Persistence seems to be working fine. I do miss the auto-save (for dynamic persistence) from antix, but the use case is a different for mx so not that big a deal. Just got to remember to save...
Can we hack the shutdown scripts to save automatically?
it only is an issue with the "dynamic" persistence option. the static version saves as you go.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Testing live persistence

#15 Post by BitJam »

dolphin_oracle wrote:Persistence seems to be working fine. I do miss the auto-save (for dynamic persistence) from antix, but the use case is a different for mx so not that big a deal. Just got to remember to save...
Good catch.

I think there may be an easy way to do this. Running MX-14-beta-2 live in virtualbox I see that /usr/local/bin is the first directory on the path. Also, the xfce4-session-logout.desktop file does not specify an absolute path to xfce4-session-logout so you can intercept the logout process with a script at /usr/local/bin/xfce4-session-logout.

For example, (as root) edit a file at that location and add:

Code: Select all

#!/usr/bin

yad --text="No logout for you\!"
Then (as root) run:

Code: Select all

chmod a+x /usr/local/bin/xfce4-session-logout
Then when you hit the logout button, you will get our silly dialog instead of the logout dialog. If you want to really logout then either delete the script or from a terminal run /usr/bin/xfce4-session-logout.

This will be slightly different from what happens in antiX because here you will do the persist-save before you choose which logout option you want. I don't know which way will be better for users but I think they both will work. If this works then we should disable the /usr/local/bin script upon install.

D.O. I will get you a script to test ASAP (or at least real soon now).

User avatar
loco
Posts: 23
Joined: Mon Jan 14, 2008 1:00 am

Re: Testing live persistence

#16 Post by loco »

thanks guys :thumbup:,

4gig cruzer here, installed opera along with gimp-basic 2.8.10 :biggrin:.

found that i couldn't use fat32? it wouldn't copy all the files/folders. i tried three times twice with toram and once from cd/dvd only, ext2 worked perfectly.
:beach: easy...

i've been laid up for a couple of weeks. rehabbing from a supposedly minimal surgery and it feels good to be semi mobile again :happy:.

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Testing live persistence

#17 Post by BitJam »

loco wrote:found that i couldn't use fat32? it wouldn't copy all the files/folders. i tried three times twice with toram and once from cd/dvd only, ext2 worked perfectly.
I'm sorry for being dense. What exactly could you not use fat32 for?

I hope your recovering continues apace.

User avatar
loco
Posts: 23
Joined: Mon Jan 14, 2008 1:00 am

Re: Testing live persistence

#18 Post by loco »

thank you sir,

as one of the options to format the usb drive.
:beach: thanks again :thumbup:

no, me cave man :).

User avatar
anticapitalista
Developer
Posts: 4285
Joined: Sat Jul 15, 2006 10:40 am

Re: Testing live persistence

#19 Post by anticapitalista »

loco is that using unetbootin or the antix2usb app?
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
loco
Posts: 23
Joined: Mon Jan 14, 2008 1:00 am

Re: Testing live persistence

#20 Post by loco »

big guy,

i tried to follow your post/instructions to the letter. found the iso on my sdb5 partition with live-usb, yes antiX.

thanks :thumbup:

Post Reply

Return to “Older Versions”