![]() |
[Palm OS] GVM: Running PalmOS apps via shortcut
I posted the following over at Brighthand, maybe there's some interest here too so I'll post a slightly edited version. It's a bit oriented at PalmOS users but should fit here as well. Here goes:
I suspected it would be possible to launch directly into a specific PalmOS application from the Nokia user interface, and this turns out to be correct - you can. I looked around a bit on the installed garnet vm, and it's possible to bypass the GVM launcher altogether. That's good, because it's a bit slow to start and it gets slower the more applications you add. But you actually only need it to install new applictions, and for hotsync (or possibly, not even for that. Will experiment more later). And as a convenient way of configuring the resources for each PalmOS application (as already mentioned you can configure the device type (Treo xxx, T3, TX..) and heap memory for each application). But the Garnet VM consists of two applications: The above-mentioned GVM launcher (gvm-launcher) as well as the actual Garnet virtual machine (gvm). The latter can be executed directly, and then it'll start as quick as any Nokia app, that is, in less than 2 seconds. Then it takes another two-three seconds to initialize itself and show you the default application (Preferences) or the one you specified. Because you can specify one.. along with a list of other parameters, including your hotsync name and hotsync id for the session. Example (this all has to be done from the Nokia xterm command line for now, but it's easy enough to script this and make it into an icon that can be executed by clicking in the Nokia UI): Note that you can skip the 'cd /usr/bin/gvm' step and instead access the gvm binary with the absolute path '/usr/bin/gvm/gvm', it'll work fine. Code:
$ cd /usr/bin/gvm Code:
-z, --zoomFactor=1|1.5|2 /EDIT So, to just start it and end up with the Preferences screen (from where you could just click Home to get to the home screen), just enter Code:
./gvm To start with Google Maps directly, use the application ID (which you can get from FileZ, running on the GVM itself, for example). And non-rotated, fullscreen: Code:
./gvm -a GLM. -f Code:
./gvm --storagefilename=filename Tested this one and it works perfectly: Code:
./gvm --hotsyncid="My HotSync Name:1234" EDIT: That (what I saw in the video) turned out to be another option - there's still (Jan. 2008) only that one version of GVM. 8MB heap space is currently max. There's a bunch of files in that /usr/bin/gvm/ directory, including a ROM image. From the names etc. of other files it looks like it'll only be able to run m68k apps (in this version at least), although that could change. Some of the options (see above) also suggest there may be more features later, the -O (rotate) option, for example, doesn't do anything in practice (the screen rotatation depends on the -f (fullscreen) option). Oh, and I got to see what really happens when it refused to run AvantGo.. by starting it from the command line I got a Segment Violation message and a large backtrace, which I could presumably email to Access. But I guess AvantGo is a major application they would test themselves sooner or later anyway (and I've already reported to Access that it doesn't run). |
Re: GVM: Running PalmOS apps via shortcut
1 Attachment(s)
Looks like they touch up on the help file too, slight editing, only on the heading,.... interesting.
__________________________________________________ __________________________________________________ ____________________ Garnet (tm) VM v1.0 (Prod-Release) - Build 588891 (May 26 2008-19:27:54) Usage: gvm [OPTION...] [ROM filename] Settings are first loaded from gvm.conf. Command line parameters override config file. If the -S option is specified, command line parameters will be saved to gvm.conf file. Help Options: -?, --help Show help options Application Options: -s, --screensize=160x160|160x220|240x240|...|320x480 Screen size -O, --rotated=yes|no Rotate display by 90? clockwise -z, --zoomFactor=1|1.5|2 Dsiplay zoom factor -B, --bgimage=An absoute path to an image file Background image -L, --bgcolor=RGB triplet as 0xrrrr,0xgggg,0xbbbb Background color -b, --bitdepth=1|2|4|8|16 Screen bit depth -f, --fullscreen=yes|no Fullscreen mode (no graffiti area nor status bar) -q, --qvgascaling=yes|no Rescale 1x or 2x density screen to a QVGA display -j, --siafile=filename|none Specify a Static Input Area configuration file -h, --storageheap=1|2|4|...|64 Storage heap size (in Mbytes) -d, --dynheap=256|512|1024|2048|4096|8192 Dynamic heap size (in Kbytes) -g, --storagefilename=filename A filename to load/save storage from/to. -c, --companyid=ABCD Company ID (e.g. Palm) -i, --deviceid=abcd Device ID (e.g. Arz1) -l, --locale=enUS|frFR|...|default local language and country (e.g. enUS) -o, --sound=yes|no Enable/Disable sound -m, --virtualmouse=yes|active|no Enable, Enable and Activate or Disable virtual mouse -t, --traces=all|none|12,15,0xab,... Trace filters -k, --keymap=GDK_KeyCode:vchrPalmOS,... Key Mapping (e.g.: 0xFF91:vchrHard1 -a, --appcreator=ABCD|default default application creator to launch at startup (e.g. memo) -H, --starthidden Hide window at startup -n, --serialnum Device Serial Number (12 characters) -u, --hotsyncid=(e.g.: TestUser:9669) HotSync User ID (string:id) -w, --wpath Writable path to save persistent information (settings,...) -I, --hotsyncip=aaa.bbb.ccc.ddd HotSync Desktop IP -G, --gras Start the GRAS server at launch -p, --pimdb=yes|no Use direct PIM Apps Db access -6, --68kdbg=Bit Mask: 0x2(Break On App Start)|0x4(Trace Traps)|0x8(Start Console)|0x10(Enable GDB Stub) 68K debugger flags -A, --alsa=none|default|name ALSA device name -T, --transient Use transient storage |
Re: GVM: Running PalmOS apps via shortcut
Thanks for the info guys. Personal Menu allows you to enter commands, so an example of an entry would be like "/usr/bin/gvm/gvm -a GLM. -z 1.5", and that works really well. :)
|
Re: GVM: Running PalmOS apps via shortcut
FWIW, this also works great running from KDE :D I've already made several shortcuts to directly launch some long missed Palm apps.
|
Re: GVM: Running PalmOS apps via shortcut
Where do I find the installed Palm apps so I know what to give -a? I installed ListPro from Illum software, I know where the .prc file is but can't find anything else that seems to belong to it. The .prc is an installer, at least that's what it is called.
|
Re: GVM: Running PalmOS apps via shortcut
Quote:
Epocrates /usr/bin/gvm/gvm -a ep25 -z 1.5 Run in terminal checked Zlauncher same as above and -a ZLCR stopwatch -a J_SW SC-123PU -a Rec4 Converter -a CNvt To increase storageheap, I use -h and this "somehow" erase ALL my apps and I have to end up re install all of the above. What am I doing now? Glue to the desk like an idiot and re-install the apps one by one........ Post back if question bun |
Re: GVM: Running PalmOS apps via shortcut
Quote:
Does anybody know of a way to hotsync with a Linux box? Also, as for the -h wiping all of your installed apps... Yes that will happen. When you try to adjust the storage heap from gvmlauncher it gives you a Warning dialog that lets you know you're going to wipe everything you've installed. |
Re: GVM: Running PalmOS apps via shortcut
Quote:
Well, epocrates is up and running, even on my 770/2008He. No, they sync with the epocrates web server, not your linux box yet. To get epocrates: go to their website, open a brand new account, FREE, and choose palmOS and wireless install. Your old account will dl a version that search for SD disk and fail. The new account registration will get a link, you have to dl to a palm or any palm device, Treo. and transfer the install file to your tablet. You need your account username and password to do the installation. Post back if questions, bun |
Re: GVM: Running PalmOS apps via shortcut
Quote:
|
Re: GVM: Running PalmOS apps via shortcut
"Oh, and I got to see what really happens when it refused to run AvantGo.. by starting it from the command line I got a Segment Violation message and a large backtrace, which I could presumably email to Access. But I guess AvantGo is a major application they would test themselves sooner or later anyway (and I've already reported to Access that it doesn't run)."
Well, I can tell you for certain that AvantGo was reported as not working with the LAST beta. If reporting it then did no good, why should reporting it now be effective? It seems SO close, however. I just spent an hour or so trying different options. It says that it has downloaded the articles, but just fails after reporting success with everything. |
Re: GVM: Running PalmOS apps via shortcut
Quote:
|
Re: GVM: Running PalmOS apps via shortcut
But the epocrates software is NOT free after a trial period, correct?
What I DON'T like about the Palm software is that so little of it seems to be free. |
Re: GVM: Running PalmOS apps via shortcut
Quote:
You still get quite a bit with the free ePocrates Rx - all the drugs, and some algorithms and a few calculators. :D |
Re: GVM: Running PalmOS apps via shortcut
Quote:
On the other hand, I would guess that Jpilot and Pilot-Link may be bundled in some distributions. |
Re: GVM: Running PalmOS apps via shortcut
I have tried and been unable to launch the VM into Landscape Fullscreen start mode. Is it possible to boot from the command prompt into this start mode? The -f, -O and screensize options don't seem to do anything. Appreciate any suggestions.
-JD |
Re: GVM: Running PalmOS apps via shortcut
Quote:
Code:
/usr/bin/gvm/gvm --rotated=no |
Re: GVM: Running PalmOS apps via shortcut
Not to hijack thread but a discussion of free medical apps must include medcalc which is small but with lots of formulas (80+) and now works. I am trying to install epocrates now. Took a while to get the setup.prc My treo hasn't been used for months and the data contract is out of date so I used the firefox user agent switcher and switched my browser to blazer which let me download the file to copy to my N800. Seems to be working 25 minutes to go just hope there is enough free space.
|
Re: GVM: Running PalmOS apps via shortcut
terrencegf, thanks for the help. I was thinking that landscape was the rotated view, didn't think to set rotate to no. Using this with Personal Menu, being able to hotsync with Missing Sync has now allowed me to use Palm Pims on my N800!
|
Re: GVM: Running PalmOS apps via shortcut
Still trying to get the datebook application to launch from personal menu in portrait full screen mode. Only option I managed to get working is the rotated option, tried screensize but no luck etc. GVM help file lists the options such as --fullscreen=yes|no but the /usr/bin/gvm/gvm.conf has options like fullscreen=false.
Has anyone tried the GVM with diablo yet? |
Re: GVM: Running PalmOS apps via shortcut
Quote:
Code:
usr/bin/gvm/gvm -a date -z 1.5 |
Re: GVM: Running PalmOS apps via shortcut
Cheers Brent
I think I was trying the zoom by 2 option only along with other options but these combinations just defaults it back down to normal size. It can still work with the full description option but it is case sensitive so --zoomfactor does not work whereas --zoomFactor does. Now going to setup the hotsync shortcut and once that works I shall install Diablo and start all over again. Many Thanks |
Re: GVM: Running PalmOS apps via shortcut
Well I have sucessfully got commands in the Statusbar Graph Control to directly launch Palm apps. This is great.
However, like others, I have not been able to start an application without the graphiti area in view. I have tried the following unsucsessfully: -f -f y -f yes -f n -f no --fullscreen=yes --fullscreen=no --fullscreen=true I also tried varying the position before and after the -z 1.5 I know it's easy to hit the arrow and the graphiti area will dissappear but it would be great to have control over this. Anyone have any solutions in the command line? |
Re: GVM: Running PalmOS apps via shortcut
I have discovered how to set the background to black (the remaining screen area not used by the Palm app)
add the setting: -L 0x0000,0x0000,0x0000 (That's uppercase L and lowecase x's) So a full command with black background would be: /usr/bin/gvm/gvm -a [app name] -z 1.5 -L 0x0000,0x0000,0x0000 As mentioned before in this thread the app name can be found from FileZ, View and Edit files, Internal, Select the app (to get a check by it), Details, Creator. Hope this helps someone. |
Re: GVM: Running PalmOS apps via shortcut
I haven't found a way to start with the writing area off either, unfortunately.
BTW I updated my first post with the -z option, which seems to be the only additional command line option added in the second beta. |
Re: GVM: Running PalmOS apps via shortcut
I wonder why Access include apparently unsupported functions. You would think that they would simply add to the list as new versions of GVM are rolled out. Why spend time defining things that aren't even developed yet? Perhaps we are missing something and they do/will work under the right conditions?
One reason this might be the case is that I was playing around with screen resolutions, trying to 'stretch' to the NIT's 800 wide and it would give me an error message in xTerm BUT using other apparently non-functioning but listed functions give no error message. What-da-ya-think? |
Re: GVM: Running PalmOS apps via shortcut
I, personally, think that Access has defined a whole ton of features (i.e. command line modifiers) that will at some point actually be present, just aren't yet. I think that is why some thinngs just don't work [yet].
Another thing I wish the GVM supported is started apps in landscape mode -- now I know there are a lot of Palm apps that don't support landscape, but for the ones that do, it would save rotating the device in your hand every time you use the GVM... |
Re: GVM: Running PalmOS apps via shortcut
Quote:
Quote:
I only ever used a Palm TX which has rotate but I understand the GVM is based on an older O/S - perhaps one which did not support rotate? |
Re: GVM: Running PalmOS apps via shortcut
I have now more-or-less copied the first post (where I listed the gvm options) into the itt wiki. Quick-and-dirty as I'm not really familiar with the particular wiki used by itt.
See http://www.internettablettalk.com/wi...S_.28Garnet.29, follow the link to "Running Palm OS applications via command line shortcut". |
Re: GVM: Running PalmOS apps via shortcut
TA-t3 ,
Thank you for this thread. I had seen it and only recently added some start button icons for my palm GVM applications.*This* is the best enhancement since the GVM itself (with portrait mode) to make the Palm to ITT transition more or less seamless. Regards, Frank |
Re: GVM: Running PalmOS apps via shortcut
You're welcome. It's one of the very few threads I've started myself, which I did because it looked like it could be useful for others and not just myself.. :)
I agree that being able to start the GVM apps directly makes for a more integrated (and faster!) experience. Now we just need a slightly enhanced GVM (which can see the SD card and maybe use BT too), and we're all set! :D (well, and if it could also run AvantGo..) |
Re: GVM: Running PalmOS apps via shortcut
OK, I may be a might be a bit slow and missing something obvious but I can't launch gvm with my existing gvm.store file. I have tried from the home/user/ /usr/bin/gvm/gvm -z 1.5 -g /home/user/.gvm/gvm.store I tried the same thing from the root. From usr/bin/gvm I tried ./gvm -z 1.5 -g /home/user/.gvm/gvm.store from the home/user/.gvm I tried /usr/bin/gvm/gvm -z 1.5 -g gvm.store and /usr/bin/gvm/gvm -z 1.5 -g ./gvm.store
I either get an empty version of Garnet or the system tries to concatenate the two paths and then says it can't find the storage file. I am running the latest VM (downloaded a week ago.) on an N770 running OS2007HE. Any help would be appreciated. Santa_Matt |
Re: GVM: Running PalmOS apps via shortcut
Quote:
bun |
Re: GVM: Running PalmOS apps via shortcut
I downloaded the version for N800 because I am running OS2007HE. I also have another chip that boots OS2006 and has the 770 gvm on it. I had similar problems with it before I made the OS2007HE chip.
santa_matt |
Re: GVM: Running PalmOS apps via shortcut
Quote:
--refresh=x --nice I had to set "--refresh=2" in order to play SNES games on Little John Palm Emulator. Not sure if "--nice" does anything. I found these by doing "strings" on the gvm binary. My posts on SNES play using Garnet and LJP are here: http://talk.maemo.org/showthread.php?p=288263 |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
Okay. So I guess I have a couple of questions.
I have libxmu6, wmctrl and the screen rotation kernel all installed correctly. First, can the gvmlauncher be displayed in fullscreen? No biggie, just thought I would ask. Also, I would like for the screen to display just like it does in the "Portrait fullscreen" start mode option. However, I would like the extra space that isn't being used to be available on the bottom of the screen, rather than the top. Here's the thing though, I also would like for it to appear in this "Portrait fullscreen" display while the screen is already rotated before an application is launched. Basically, I have an xkbd keyboard that I'd like to sit on the bottom of the rotated screen, but since Garnet also rotates itself while in this mode, applications don't appear correctly. Here's kind of an image of what I'm hoping to achieve only picture the keyboard rotated and on the other side of the screen with the application pushed all the way to the top. http://img191.imageshack.us/img191/4741/92316318.png I think that this would absolutely be the best setup if someone could help figure this one out for me. :D Thanks! |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
Hey all.
I also have one more question. How can I grab all of the graphical icons that are displayed while in GarnetVM and then be able to use those icons under Personal Launcher? Thanks ahead! |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
Quick note on how to sync GVM using Missing Sync in OS X:
In xterm: Code:
./gvmlauncher --hotsyncid="My HotSync Name:1234" Thanks to all of those who worked on these problems. |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
If I start Garnet, the applications I registered work just fine.
However, if I skip Garnet and go straight to the launcher via shortcut, my applications are no longer registered and my registration keys no longer work either. How can I find my Device Serial Number while in Garnet so I can load up the same number when going by shortcut? That is what's causing the problem, right? |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
Quote:
Hopefully this will work for you. |
Re: [Palm OS] GVM: Running PalmOS apps via shortcut
How do I get a list of application names on my system? For example how do you know /usr/bin/gvm/gvm -a date -z 1.5 is valid instead of usr/bin/gvm/gvm -a datebook -z 1.5 or usr/bin/gvm/gvm -a dbook -z 1.5, etc.
|
All times are GMT. The time now is 13:04. |
vBulletin® Version 3.8.8