OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: wylbur 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
-
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.
-
you would add it to a list of fastloaded apps in qpe.conf, best way to do that, as far as I know.
-
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.
-
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
[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.
-
actually I'm wrong its ~/Settings/Launcher.conf, info curtosy of tovarish
-
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: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.
-
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)