Author Topic: More Stupid Questions  (Read 4184 times)

laur

  • Newbie
  • *
  • Posts: 41
    • View Profile
More Stupid Questions
« on: December 16, 2005, 11:25:44 pm »
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.

I am new at this so be patient and explain in detail (so other newbies can learn too!!!)

THANSK  
[span style=\'font-size:8pt;line-height:100%\']Proud owner of a C1000, Cacko ROM v1.23 (Named Gimlet)
SanDisk SD 32MB
PNY CF 1GB
Mini USBHost Connector
Cables Unlimited BT Dongle
DLINK DCF 660W 802.11b
[/span]

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
More Stupid Questions
« Reply #1 on: December 17, 2005, 08:18:37 am »
Quote
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.

I am new at this so be patient and explain in detail (so other newbies can learn too!!!)

THANSK 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107364\"][{POST_SNAPBACK}][/a][/div]

I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

laur

  • Newbie
  • *
  • Posts: 41
    • View Profile
More Stupid Questions
« Reply #2 on: December 17, 2005, 12:59:04 pm »
Quote
Quote
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.

I am new at this so be patient and explain in detail (so other newbies can learn too!!!)

THANSK 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107364\"][{POST_SNAPBACK}][/a][/div]

I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107385\"][{POST_SNAPBACK}][/a][/div]

Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[span style=\'font-size:8pt;line-height:100%\']Proud owner of a C1000, Cacko ROM v1.23 (Named Gimlet)
SanDisk SD 32MB
PNY CF 1GB
Mini USBHost Connector
Cables Unlimited BT Dongle
DLINK DCF 660W 802.11b
[/span]

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
More Stupid Questions
« Reply #3 on: December 17, 2005, 11:11:49 pm »
Quote
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]

I'll clean it up and add comments and post in on Monday. The answer to your first question is yes, but you can create an actual clickable icon if you want.

I'm not 100% sure about your second question, but I would tend to say yes.
And on your third question I'm learning as I'm going too but from what I've read some apps do not like to be installed anywhere but your internal flash memory.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
More Stupid Questions
« Reply #4 on: December 19, 2005, 06:48:13 am »
Quote
Quote
Quote
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.

I am new at this so be patient and explain in detail (so other newbies can learn too!!!)

THANSK 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107385\"][{POST_SNAPBACK}][/a][/div]

Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]

well, since the Zaurus runs linux, you can use symbolic links to refer to files at any locations. for that, you need your cf or sd card to be formatted as ext2 or ext3 instead of the default fat or fat32 filesystem. Then you can move your datafiles to your card and symbolically link the original location to your new location. the applications don't need to know about it. as far as they are concerned, they are writing to the same place.

read up on linux a bit. i learned linux by reading [a href=\"http://www.tldp.org/]http://www.tldp.org/[/url]
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
More Stupid Questions
« Reply #5 on: December 21, 2005, 11:48:29 am »
Quote
Quote
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]

I'll clean it up and add comments and post in on Monday. The answer to your first question is yes, but you can create an actual clickable icon if you want.

I'm not 100% sure about your second question, but I would tend to say yes.
And on your third question I'm learning as I'm going too but from what I've read some apps do not like to be installed anywhere but your internal flash memory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107447\"][{POST_SNAPBACK}][/a][/div]

Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

laur

  • Newbie
  • *
  • Posts: 41
    • View Profile
More Stupid Questions
« Reply #6 on: December 21, 2005, 02:28:53 pm »
Quote
Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107940\"][{POST_SNAPBACK}][/a][/div]

Yes. please. I will help me and the other newbies.
 I hope you are feeling better.
[span style=\'font-size:8pt;line-height:100%\']Proud owner of a C1000, Cacko ROM v1.23 (Named Gimlet)
SanDisk SD 32MB
PNY CF 1GB
Mini USBHost Connector
Cables Unlimited BT Dongle
DLINK DCF 660W 802.11b
[/span]

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
More Stupid Questions
« Reply #7 on: December 28, 2005, 02:43:35 pm »
Quote
Quote
Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107940\"][{POST_SNAPBACK}][/a][/div]

Yes. please. I will help me and the other newbies.
 I hope you are feeling better.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107968\"][{POST_SNAPBACK}][/a][/div]

Thanks, I am feeling better now.
I'm still working on the script (I keep finding things I want to backup), but hopefully I'll be done in the next day or two as I want to try flashing to pdaXrom again.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
More Stupid Questions
« Reply #8 on: January 08, 2006, 12:48:29 am »
I never really got the script to the point I was happy with but I wanted to try the pdaXrom beta so here's what I have currently:
# opera cookies
cp /home/zaurus/.opera/cookies4.dat /mnt/card/backup/home/zaurus/.opera
# opera bookmarks
cp /home/zaurus/.opera/opera6.adr /mnt/card/backup/home/zaurus/.opera
# ka/pi addressbook
cp /home/zaurus/kdepim/apps/kabc/std.vcf /mnt/card/backup/home/zaurus/kdepim/apps/kabc/
# ko/pi calendar
cp /home/zaurus/kdepim/apps/korganizer/mycalendar.ics /mnt/card/backup/home/zaurus/kdepim/apps/korganizer/
# snes save games
cp /home/zaurus/.snes96_snapshots/* /mnt/card/backup/home/zaurus/.snes96_snapshots/
# Gaim contacts and prefs
cp /home/zaurus/.gaim/* /mnt/card/backup/home/zaurus/.gaim/
# pwm/pi database
cp /home/zaurus/kdepim/apps/pwmanager/mqhome.pwm /mnt/card/backup/home/zaurus/kdepim/apps/pwmanager
# kp/pi
cp /home/zaurus/kdepim/apps/kphone/kphone-phonebook.xml /mnt/card/backup/home/zaurus/kdepim/apps/kphone/
cp -R /home/zaurus/kdepim/config/* /mnt/card/backup/home/zaurus/kdepim/config
# all app settings
cp /home/zaurus/Settings/* /mnt/card/backup/home/zaurus/Settings
# kero player
cp /home/zaurus/Applications/keroplayer/* /mnt/card/backup/home/zaurus/Applications/keroplayer
cp /home/zaurus/Documents/kerolist.txt /mnt/card/backup/home/zaurus/Documents

I had to make the directories before I ran the script.

You could tar up the entire directory tree on your card with the current date and then extract it into the root of your Zaurus memory when wanting to do a restore or you can manually pick through your backup and restore what you want.

I realize this is probably prety primative to most people on this forum but hpoefully it will help some people.

Some might ask why I wouldn't want to do a NAND backup. I guess I'm kinda funny and like to start fresh with app installs when I reinstall a ROM/OS.

Please feel free to offer sugestions about how to do it better or how to backup other apps.

A backup is only as good as the last time you tested it so i recommend you test anything you setup for yourself.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment