Author Topic: Desktop Icon?  (Read 3175 times)

beresmed

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Desktop Icon?
« on: September 12, 2005, 08:34:57 am »
I have Zaurus C-700 and i want to know is possible to put on desktop any link of some document saved on my CF card to quickly open that document?
SL-C1000, Cacko ROM v1.23,
D-Link DCF-650BT, Linksys WCF12
SD card 512MB, PDAIR case, pentopia stylus, ultra clear Brando screen-protector,

drnick

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Desktop Icon?
« Reply #1 on: September 12, 2005, 09:04:12 am »
Quote
I have Zaurus C-700 and i want to know is possible to put on desktop any link of some document saved on my CF card to quickly open that document?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95509\"][{POST_SNAPBACK}][/a][/div]

<disclaimer>I haven't tried this so it might not be right at all</disclaimer>
you could goto the settings tab and click on the tab settings icon.  in there you can add new shortcuts to programs.  The same should apply to documents and the like.  So if you wanted to add a shortcut to your document you could just type the path such as /mnt/cf/document.doc , give it an icon, and a name, and if the mime types are set correctly it should open in hancom or whatever the mime is set for document files.

Alternitively, you could locate the .desktop files on your Z (/home/QtPalmtop/desktop i think). copy one of them and edit it to reflect the path to your document.

If anyone knows that this wont work feel free to correct me.  I'm at work and dont have my Z with me to test this.
Current Toshiba Libretto U100 Owner
Previous SL-C3000 Owner
Waiting for next Z.  Will still hang out here to offer help when I can.

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Desktop Icon?
« Reply #2 on: September 12, 2005, 09:35:30 am »
If that doesn't work, you are usually able pass options through using the tab settings app.  It might be possible to e.g. startup hancom word and give the document name.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

drnick

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Desktop Icon?
« Reply #3 on: September 12, 2005, 11:13:25 am »
Quote
If that doesn't work, you are usually able pass options through using the tab settings app.  It might be possible to e.g. startup hancom word and give the document name.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95525\"][{POST_SNAPBACK}][/a][/div]

just to make things clearer i believe he means that instead of just giving the path to the document in the desktop shortcut but to start the program along with it.

ie. make the shortcut point to "hancomword /mnt/cf/document.doc" i do not believe that you will need to use any flags after the program name to open the document
Current Toshiba Libretto U100 Owner
Previous SL-C3000 Owner
Waiting for next Z.  Will still hang out here to offer help when I can.

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Desktop Icon?
« Reply #4 on: September 12, 2005, 12:13:43 pm »
yes, but I just tried it and the tab settings app didn't like it.
« Last Edit: September 12, 2005, 12:35:55 pm by bluedevils »
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Desktop Icon?
« Reply #5 on: September 12, 2005, 11:19:14 pm »
You can't pass arguments with the applicatuion name in the desktop file.

If you want/need arguments then you need to create a shell script and call the script for the desktop icon.

Code: [Select]
#!/bin/sh
hancomword /mnt/cf/document.doc

save that as something like "docstart.sh", chmod it to 755 so that it becomes and executable, copy it to /home/QtPalmtop/bin (or anywhere else in your PATH) and call docstart.sh from the desktop icon.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Desktop Icon?
« Reply #6 on: September 13, 2005, 12:57:54 am »
very true stubear though I wonder if this may be more involved than what the original poster wanted.  I mean anyone can just go to the files tab and just open it there.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

beresmed

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Desktop Icon?
« Reply #7 on: September 13, 2005, 03:16:16 am »
Thanks on all advices! I will try that!
SL-C1000, Cacko ROM v1.23,
D-Link DCF-650BT, Linksys WCF12
SD card 512MB, PDAIR case, pentopia stylus, ultra clear Brando screen-protector,