I have created a portable version of Workrave that is ready for some testing. Workrave is a program that assists in the recovery and prevention of Repetitive Strain Injury (RSI). The program frequently alerts you to take micro-pauses, rest breaks and restricts you to your daily limit.
I came across this the other day by accident. Definitely a nice little program to remind me to rest etc whilst I am at work busying away on the keyboard.
The self extracting archive can be downloaded from its current location.
The download link (5.32 MB):
Workrave Portable 1.8.4 (No longer supported)
Test 2 (25/02/07 @ 15:03 GMT) - Corrects registry, Data files may need to be looked at still. Any feedback/script corrections are welcome.
Test 3 (27/02/07 @ 19:42 GMT) - Profiles and last bit of registry all cleaned up.
Test 4 (28/02/07 @ 21:01 GMT) - Adjusted nsi script a little for Current User.
Test 5 (10/04/07 @ 22:11 GMT) - (Had a spare few minutes after Galactica finished) Updated file set to 1.8.4 & added the .ini file as suggested by Jose Pinto, based on the additional documentation in the installation files.
Updated 28/05/07 - Moved from beta testing
Regards,
tanisthalon
___
Visualize the possibilities!
Stop releasing apps!
I haven't even got them all up yet!
Anyway, good job since I use(d to use) Workrave.
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.
"If you're not part of the solution, you're part of the precipitate."
It leaves a lot of registry entries and stores the data in the folder where the launcher is.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Uploaded Test 2 for testing. Corrected the registry which for some bizarre reason I thought I had done. The data files may need to be looked at.
Another GTK based application I am looking at leaves a file within the C:\Documents and Settings\xxxxx which I, as yet need to extract/reinstate and delete on closure. Any feedback on the nsi script to control this based on John's nsi script will be even more welcome.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I just tested version 2.
You might wanna add the following registry keys:
and now, in the second version, the setting-files are left in
D:\Dokumente und Einstellungen\(username)\Anwendungsdaten\Workrave\
which is the same as
%appdata%\workrave\
In this folder, there are 4 files:
idlelog.log
idlelog.idx
state
todaystats
Johm uses the following commands to clean the Abiword folder:
So maybe we use
We just have to make the program use the settings at the beginning.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Changed the file to
CopyFiles "$APPDATA\workrave\idlelog..log" "$SETTINGSDIRECTORY\"
and
Delete "$APPDATA\workrave\idlelog..log"
as it would not transfer or delete the folder after closure.
That takes care of those files just to tidy up the last of the registry. This little exercise will help out with the other application that I had mentioned.
I will post the Test 3 update on Tuesday.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
you thought about copying them back at the beginning and (if necessary) backup eventually existing files with the same name from a local install first?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Latest test release has been uploaded. If there is anything awry or any recommended script alterations/additions, then please let me know.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
Sorry for not mentioning earlier:
You have to change all the
to
(HKCU or something like that)
The S-1-5-21-1801674531-527237240-725345543-1003 is different on every PC but means the same as HKEY_CURRENT_USER.
And it doesnt save the settings from the portable Workrave into a file and restores them before launching again. Is this possible to achieve?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Altered to Current User. Not sure on the restoring previous settings. Hopefully someone else can advise and this will be totally complete. Otherwise we'll have to do without a history of use.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I'm trying to make a version that takes care of a local install (backing up the local reg keys...).
What is a better method to back up reg keys:
Put them in a .reg file in the temp dir or renaming them???
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
I believe renaming them to something like local then reinstating them under their correct name at closure.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
Rename the entries from Whatever to Whatever-BackupByWhateverPortable
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
I now export them to a reg file. Lets see if it works...
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
In NSIS, is $APPDATA the same as %APPDATA% ?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Yes I believe it is, although I am quite new to all things nsi and such.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I think that %APPDATA% points directly to the Windows environment variable, and $APPDATA is an NSIS function that reads the afore mentioned environment variable.
Yours
Steve Lamerton
My Blog
NSIS read the $APPDATA variable from Windows, so yes it's the same.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
for your replies.
If I find a windows PC to compile it and test it a little bit, I plan to put the source code of the Launcher in the pastebin for you folks to take a look at it.
BTW, is there a NSIS compiler for Linux?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
http://portableapps.pastebin.com/897018
I haven't been able to make it use the last settings although it copies them to %APPDATA%/workrave/ and saves them to the settings folder afterwards.
Maybe someone else can help...
Any thoughts/hints/errors/help/advise is welcome.;-)
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
You have to use $APPDATA
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
http://portableapps.pastebin.com/897601
Thanks Ryan
I changed the handling of the copies a bit (It now copies the whole folder instead of each file one by one) and corrected the script with Ryans suggestions (Is "with" the correct word for this??? Dunno).
But the settings are not being remembered.
Maybe Ill write a mail to the authors of the program whether they could add a setting file. Would be easier...
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Have you got any further with getting the history to work correctly?
I haven't had time to look further into it and probably will not be able to for a while as I am extremely busy with work commitments at the moment.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I mailed to the dev of the app but till now I didnt get any answer.
I too have some things to do other than this but I'd like to see this App being portabalised. Then I guess we put the project "on hold" till one of us (or both) has time to spend on it.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Great. I should probably use this, considering the amount of time I spend on the computer :smile:.
Kevin Porter
To us also, through every star, through every blade of grass, is not God made visible if we will open our minds and our eyes.
--Thomas Carlyle
-Please search before posting
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
Hi,
Workrave can already be made portable.
Download default installation and follow these steps:
1. Support for storing configuration in a .ini file
This feature can be enabled by creating an empty 'workrave.ini'
file in '~/.workrave' (on Unix) or in 'c:\Program files\Workrave\etc'
(on Window, assuming Workrave is installed in this directory;
2. Support for configuring the data storage directory.
Add the following two lines to your workrave.ini
[general]
datadir=.\\Workrave\\Data
This feature can be used to run Workrave from an USB memory stick. The datadir configuration can only be a relative path on version 1.8.4.
These instructions were taken (and edited) from the file "News" on the Workrave main directory.
Cheers,
José Pinto
Portugal
Thanks for the pointer. Works well, I have tested it with 1.8.4 instead which seems to work barring it leaves a Workrave folder in the AppData menu for which I shall use the launcher script to delete on closure as previous. Checked a couple of times and the history for statistics works correctly.
If I get chance at the weekend I will post a new beta for testing, just to check before a release.
Edit: 22:16
Updated the download link. Hopefully it works correctly. Please check it runs even if there is a version on the pc and that it doesn't mess up the host files. The script will delete the Workrave AppData file if empty only. The portable version writes directly to the portable folder. As previous the script takes care of the registry also.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I get "Error, page not found"
The developer formerly known as ZGitRDun8705
Please try again its just been uploaded.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
cool beans...works great
The developer formerly known as ZGitRDun8705
Works fine here.
One sugestion, though.
Can you compress the exe and all dll's using UPX?
I did it in my copy and works fine, without visible delay.
Cheers
I will do when I move it from Beta Testing
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
You seem to pick great apps, along with John of course, I personally only like to use your apps, and John's.
And, erm, Ryan's...
But anyways, can you recommended a good program for me to take a shot at making portable? Because you seem to pick the best ones.
Thanks.
_____________________________
I felt so different without a signature.
I will have a look at what I have kicking around that I cannot get any time with and let you know etc. Still at work so it will be a good few hours yet before I respond.
Oh and thanks for the compliment.
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
*cries*
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
I believe that the following would attract interest:
Battle of Wesnoth, http://www.wesnoth.org/home, is one that many people would love to have in paf format. I have played it in the past and really enjoyed it.
Another game of sorts (you need your own wads or demo wads from demo downloads etc) is jDoom aka Doomsday and also Snowberry now I believe, http://www.doomsdayhq.com/. Anyways that would definately be a good one.
You have a few emulators too like zsnes http://www.zsnes.com/, ScummVM http://www.scummvm.org/ or even a launcher for the likes of pSX emulator http://psxemulator.gazaxian.com/.
I think someone is already working on a paf version of MediaCoder, http://mediacoder.sourceforge.net/index.htm, somewhere here on the forums. If not, it has potential.
As you may of guessed, I was thinking of a games section for my site and a contribution to the paf format before I got too busy. Well that should get you going for now.
P.S. You could always look into Celestia, http://www.shatters.net/celestia/ to offer as an alternative to Stellarium!
___
Visualize the possibilities!
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
I was thinking about Media Coder a few days ago, but decided against it, I did think about ZNES as well, I may do that one. I will check into Celestia as well.
Any suggestions in the "Office" category?
_____________________________
I felt so different without a signature.
Please update and link id down
PortableApps.com Advocate
I no longer support this app due to timing issues. I believe you can still get it from here Cubegames
Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT
Workrave Portable v1.9.1
Using info from Josepinto (here) and DeadSoul's Launcher.
Download here
Enjoy!
No offense but I think I need an actual PAF to feel safe rather than something created using DeadSoul's Launcher.
If anyone is willing to create this in PAF I'd happily test it
PortableApps.com Advocate
Workrave 1.10 does not work if there are russian characters in a path.
Workrave itself can't handle running from a path that isn't just ANSI characters. You'll have to run it from another location.
Sometimes, the impossible can become possible, if you're awesome!