Author Topic: Apps dependent on Documents tab  (Read 2494 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Apps dependent on Documents tab
« on: August 23, 2004, 04:40:43 am »
Hi,

I recently took a quick look at ZSafe and that didn't seem to save any files using Cacko 1.21b so I scrapped that idea quite quickly.

I now have Visiscript installed to use as a rather cool editor for my perl scripts, however, again there seems to be a saving/loading issue.

From what I can gather it seems to be that Visiscript (and maybe it's the same problem ZSafe has) relies on .desktop files being created for documents in the Documents folder as in the older ROMs (and I think OZ does this, certainly OPIE on the iPAQ did it).

Now, I absolutely hate the idea of returning to the Document tab layout but I'm wondering if there's any way of enabling it just to be sure if this is the cause of the problem and also wondering if anyone has a good workaround.

Regards,

Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

MtnMichael

  • Newbie
  • *
  • Posts: 40
    • View Profile
Apps dependent on Documents tab
« Reply #1 on: August 24, 2004, 03:14:59 pm »
iamasmith,

You probably already found all of this, but mentioning just in case.  You can get around the save/load issue by using import/export.

Using 'save', seems to save it as an "_" (underscore), even though the name is clearly there.  Saves it under "/home/zaurus/Documents/application/octet-stream/_".

Using 'saveas', at least retains the same name you type in, but under "/home/zaurus/Documents/text/plain/filename".

In both cases, I told it to save to the SD card, but went to the places listed above for some odd reason.

By using import/export, you can definitely control where it loads and saves.

I'm using the Sharp 3.10 ROM, but as you mention it shouldn't matter (in your case as well) since it's looking for the old Documents layout.  At any rate, import/export definitely works and it will still runs your apps in the window.    I mostly use vi/command line anyway, but thought this app would be fun to have on hand if I can't telnet for some reason.  Though I seem to still default to the Konsole anyway.  

Hope that helps.

- Michael

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Apps dependent on Documents tab
« Reply #2 on: August 25, 2004, 04:01:56 am »
Thank Michael
« Last Edit: August 25, 2004, 04:02:19 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

mikew

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Apps dependent on Documents tab
« Reply #3 on: August 25, 2004, 04:08:59 am »
Zsafe saves the file to '/home/root/Documents/application/zsafe/passwords.zsf'

You may need to search for passwords.zsf if the file is located somewhere else.

You can also add an entry to the /home/QtPalmtop/etc/mime.types file & rebooot, so you can load zsafe via the above data file.

You also need to be aware that by default zsafe does not display any entries when you first open a file making it appear that you have not opened a file or it is empty. This is a particular issue if you have upgraded to a new version of zsafe or reflashed to Cacko.

Select 'File' then 'Open entries expanded' to see the entries.

Mike
C3200, C760 Cacko 1.23 ROM, 1gb SD, 1gb CF, WiFi, Imate Jasjar & Psion Netbook

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Apps dependent on Documents tab
« Reply #4 on: August 25, 2004, 04:16:30 am »
Ah, thanks Mike, I'll give it another try...

...actually on the Mime types thing I think it's better to add mime types to the .desktop file associated with the app. (check out the Opera one) - I think Qtopia scans these when it boots and updates the mime.types file that you mentioned.
« Last Edit: August 25, 2004, 04:22:52 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Apps dependent on Documents tab
« Reply #5 on: August 25, 2004, 05:36:10 am »
Actually it behaved quite well this time, nothing unexpected, remembered the store that I set an opened it immediately.

The only thing that I can think of is that I did have quite a lot of stuff like GAIM with OPIE libraries and various versions of libs from other feeds (rebuilt since that minus all that stuff). Maybe this was what's killing it.

Thanks anyway,

- Andy
« Last Edit: August 25, 2004, 05:36:59 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card