|
|
2008-07-29
, 06:18
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#2
|
|
|
2008-07-29
, 07:40
|
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#3
|
Oowriter,cli,debbie oowriter "%params%"
.odt,Oowriter,
| The Following 3 Users Say Thank You to debernardis For This Useful Post: | ||
|
|
2008-09-10
, 22:55
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#4
|
# Enable GTK+2 integration for OpenOffice.org, if available. export SAL_USE_VCLPLUGIN=gtk
SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION
If set to nonempty value disables synchronous printer detection. This can help on startup e.g. if your CUPS server is very slow.
SAL_NOOPENGL
Disables usage of OpenGL if set to "true".
| The Following User Says Thank You to qole For This Useful Post: | ||
|
|
2008-10-07
, 23:01
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#5
|
echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
| The Following 2 Users Say Thank You to qole For This Useful Post: | ||
|
|
2008-10-08
, 04:55
|
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#6
|
|
|
2008-10-08
, 05:51
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#7
|
|
|
2008-10-08
, 07:22
|
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#8
|
to set performance when the slide is open, and ondemand when it's closed. I'm going to ask Jgallen23 (the developer) to include this in his next version.#!/usr/bin/env python
import dbus,gobject,time,os
from dbus.mainloop.glib import DBusGMainLoop
def main():
slidestatus = '/sys/devices/platform/gpio-switch/slide/state'
DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()
tklock = bus.get_object('com.nokia.mce','/com/nokia/mce/request')
def msg(id,obj):
f = open(slidestatus,'r')
status = f.read()
f.close()
if status == "closed\n":
tklock.req_tklock_mode_change(dbus.String("locked"))
os.system("echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor")
if status == "open\n":
os.system("echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor")
bus.add_signal_receiver(msg,dbus_interface="org.freedesktop.Hal.Device",signal_name="PropertyModified",path='/org/freedesktop/Hal/devices/platform_slide')
loop = gobject.MainLoop()
loop.run()
if __name__ == "__main__":
main()
|
|
2008-10-08
, 16:32
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#9
|
|
|
2008-10-08
, 16:36
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#10
|
![]() |
| Tags |
| debian, openoffice |
| Thread Tools | |
|
The command
From my experiments on my freshly booted 810, starting "ooffice" without this preload needs about 30 seconds, which scale down to 15 seconds after the preload.
I still have to fiddle with the booting scripts to determine the best way of autostarting the thing.
Ernesto de Bernardis