Author Topic: Specify Fast Load From Console?  (Read 3752 times)

wylbur

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
Specify Fast Load From Console?
« on: May 21, 2006, 05:01:39 am »
I want to load KoPi in a script, but with the remain-in-memory feature that can be specified in the gui. Is there a wrapper or switch for this?

tia -- wylbur
SL-C3200 running Cacko 1.23 (today, at least)
Hitachi 6G microdisk replaced with SanDisk 133x 4G CF
socketcom.com CF ethernet adapter
Ambicom WL1100C-CF WiFi
Corsair 1G SD card

chal

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • http://
Specify Fast Load From Console?
« Reply #1 on: May 21, 2006, 06:16:17 am »
Quote
I want to load KoPi in a script, but with the remain-in-memory feature that can be specified in the gui. Is there a wrapper or switch for this?

tia -- wylbur
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127945\"][{POST_SNAPBACK}][/a][/div]

I once moved some icons in the tab settings and when I tried to get fastload from the GUI, the option was gone. I changed it by editing the " /home/QtPalmtop/apps/Applications/whateverapp.desktop " file like this "CanFastload = 1." I'm not sure how that would be done from a script though.

PDAs
2 SL5500s
tKc Rom
Lexar 1GB CF card
Viking 512GB  CF card
PC 1. Mandriva 2009
PC 2. Windows XP
[/font]

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Specify Fast Load From Console?
« Reply #2 on: May 21, 2006, 10:32:25 pm »
you would add it to a list of fastloaded apps in qpe.conf, best way to do that, as far as I know.
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Specify Fast Load From Console?
« Reply #3 on: May 21, 2006, 11:26:31 pm »
it does not matter whether you start it from command line or from the GUI. an application that fastloads is started automatically when you boot up your Zaurus, so its already started and just sitting in the background. then when you launch it from either the gui or command line, it is just brought to the foreground.
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

wylbur

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
Specify Fast Load From Console?
« Reply #4 on: May 22, 2006, 12:27:52 am »
thanks for the tips! A few follow-up questions:

I've checked the {/home/zaurus/Settings/|/usr/QtPalmtop.rom/defconf/}qpe.conf files, and I don't see a section on fastloading. They seem to be ini format, which is easy enough to hack, but is it just
Code: [Select]
[fastload]
kopi
or something like that?

And if I put the script there, will it launch on boot as Meanie suggests? The bigger picture is that I'm trying to put an ssh-agent where kopi can see it so that syncing goes passwordless. Thanks -- wylbur.
SL-C3200 running Cacko 1.23 (today, at least)
Hitachi 6G microdisk replaced with SanDisk 133x 4G CF
socketcom.com CF ethernet adapter
Ambicom WL1100C-CF WiFi
Corsair 1G SD card

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Specify Fast Load From Console?
« Reply #5 on: May 22, 2006, 02:14:08 am »
actually I'm wrong its ~/Settings/Launcher.conf, info curtosy of tovarish
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

wylbur

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
Specify Fast Load From Console?
« Reply #6 on: May 22, 2006, 02:18:55 am »
Bam,

I found ~/Settings/Launcher.conf in the same thread (and PM'd you on on a related question you asked there).

However, when I run my script from Launcher.conf, the *script* stays resident, but Ko/Pi is closed when I hit the close button. Worse, somehow they're in separate shells, so Ko/Pi can't see the ssh-agent I'm trying to glue to it.

If I run this script from a console, it works:
Code: [Select]
eval `/usr/bin/ssh-agent -s`
/usr/bin/ssh-add
kopi >/dev/null 2>/dev/null &

I can close the console, and it's all good -- except that Ko/Pi closes when I hit the X button instead of staying in RAM. Does the cacko WM have a minimize option?

thanks to all -- wylbur.
SL-C3200 running Cacko 1.23 (today, at least)
Hitachi 6G microdisk replaced with SanDisk 133x 4G CF
socketcom.com CF ethernet adapter
Ambicom WL1100C-CF WiFi
Corsair 1G SD card

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Specify Fast Load From Console?
« Reply #7 on: May 22, 2006, 02:43:25 am »
you could bring the desktop to foreground via QCOP, havent done it yet but have seen the command when I was searching for the command to update the wallpaper(of which I never found)
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder