maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Optimize your Nokia N900 (https://talk.maemo.org/showthread.php?t=58935)

gs1 2010-08-01 13:21

Re: Optimize your Nokia N900
 
Jay, try Alarmed with okhabin's version. Seems to work fine and the power button still works. Haven't had a major N900 jam yet to see how effective it is at clearing up, but I found I lost widgets after hildon-home was restarted in the earlier versions of the script.

Dany-69 2010-08-02 01:56

Re: Optimize your Nokia N900
 
Hi JorgeFX.
Tnx for all your work here ;)

I have a strange problem... using the script .. i obtain this :


Nokia-N900:/# sh refresh
: not foundne 2:
Your Nokia N900 is being Optimized
: not foundne 4:
: no process killed
: not foundne 7:
: no process killed
: no process killeddexer
: not foundne 11:
killall: cannot kill pid 5196: No such process
: no process killed
: not foundne 14:
: no process killed
: no process killedlator
: no process killed
: no process killed-ui
: no process killed
: no process killedaging-ui
: no process killeder
: no process killed
: no process killedssbook
: not foundne 25:
: no process killedktop
: no process killedtus-menu
: no process killed
: not foundne 32:
: no process killed
: no process killedenderer
: not foundne 36:
Your Nokia N900 is now Optimized!
Nokia-N900:/#

(I've renamed rhe script ..)... Where il the problem? :(
It seems that nothing changes o.o neither the hildon desktop restarts itself .. :(

JonWW 2010-08-02 09:53

Re: Optimize your Nokia N900
 
Dany-69 please see my previous post about this problem.

Quote:

Originally Posted by JonWW (Post 763417)
I had this exact problem, it was complaining about empty lines.
I fixed it by editing the file with "Midnight Commader" to correct the bad NewLine/CarrigeReturn charaters. It seems the Linux can get put off by a Microsoft Window style NewLines.
Windows used two characters and Linux/Unix only use one character.
Hope this helps.

Quote:

Originally Posted by JonWW (Post 763895)
Edited file with Windows style NewLine characters removed
Attachment 12425
After you have downloaded it remove the .txt extension.


minty95 2010-08-02 12:07

Re: Optimize your Nokia N900
 
I am fairly new to the N900 and Linux

I have used the following script 'optimize.desltop' in /usr/share/applications/hildon

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=Optimize
Exec=osso-xterm "sh /opt/scripts/QuitOptimize"
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=false
X-Osso-Type=application/x-executable

an in /opt/scripts the file named 'QuitOptimize'

echo Your Nokia N900 is being Optimized
killall -q pulseaudio
killall -q trackerd
killall -q tracker-indexer
killall -q browser browserd
killall -q Calendar
killall -q osso_calculator
killall -q camera-ui
killall -q rtcom-call-ui
killall -q modest
killall -q rtcom-messaging-ui
killall -q image-viewer
killall -q osso_notes
killall -q osso-addressbook
killall -q hildon-desktop
killall -q hildon-status-menu
killall -q systemui
killall -q tonegend
killall -q mafw-gst-renderer
echo Your Nokia N900 is now Optimized! ;)

I do not get any error messages but I do not see the 'echo Your Nokia N900 is now Optimized message' at the end and I see no changes in the Conky page

Is all well or have i missed something ?

thanks

Dany-69 2010-08-02 12:59

Re: Optimize your Nokia N900
 
1 Attachment(s)
Quote:

Originally Posted by JonWW (Post 772854)
Dany-69 please see my previous post about this problem.

I love you :p
My english isn't good enought to understand what was the problem you described in your post... and looking at the code it seems the same ... but now it work :o
Tnx :)

EDIT: OMG ....the status bar has gone :eek:

pycage 2010-08-02 17:54

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Dany-69 (Post 773025)
EDIT: OMG ....the status bar has gone :eek:

I experienced the same once. It returned eventually. I just played some Angry Birds and after I returned to the desktop, it was there again.

mattiviljanen 2010-08-02 21:22

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Dany-69 (Post 773025)
EDIT: OMG ....the status bar has gone :eek:

A word of warning. While it may work just fine when, pardon me, killing every living creature (killing many system process, some of which are critical), there can be consequences. Temporarily losing the status/menu bar might be the smallest of them.

So, further advice: If you really really need to run this script, please reboot instead. Then find out which application(s) eat up resources, and complain to the maintainer about it, most preferably file a bug. That way the problem will be fixed instead of workarounded (inventing new words here) and the device can be used without tricks, to the fullest.

Still, the script has its use, if the system hangs or some sort. It's sort of "soft reboot". It's not all bad. I'm just afraid of killing 'em all.

JorgeFX 2010-08-03 16:17

Re: Optimize your Nokia N900
 
@Dany-69 and @pycage
That happened because it was still rebooting. Maybe your CPU was still doing something else.

JorgeFX 2010-08-03 16:25

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by mattiviljanen (Post 773554)
A word of warning. While it may work just fine when, pardon me, killing every living creature (killing many system process, some of which are critical), there can be consequences. Temporarily losing the status/menu bar might be the smallest of them.

So, further advice: If you really really need to run this script, please reboot instead. Then find out which application(s) eat up resources, and complain to the maintainer about it, most preferably file a bug. That way the problem will be fixed instead of workarounded (inventing new words here) and the device can be used without tricks, to the fullest.

Still, the script has its use, if the system hangs or some sort. It's sort of "soft reboot". It's not all bad. I'm just afraid of killing 'em all.

In a perfect world, that would be the nice way to solve the problem:rolleyes:. But, it is not a perfect world:(. I agree with you, but, it can be maybe 4 or 5 months before one or two bugs get fixed, maybe more, or maybe one week. Meanwhile, this is a little help:).
Like I said on this post: http://talk.maemo.org/showpost.php?p...0&postcount=30
It will NOT fix the bugs that NOKIA should fix, but it helps

masq 2010-08-03 17:45

Re: Optimize your Nokia N900
 
Hi JorgeFX,

You mentioned that you would soon be releasing a one-time script to optimize the N900 performance. Is that still on its way? What kind of things would this script do and what would it fix? Don't mean to rush you but if you can drop a note I'm curious.

I'm running your other script though I haven't noticed a significant difference. Actually the one time I ran it it slowed down my machine a bit but that's probably cause some processes were still doing some initialization stuff in the background. Will try to give some more useful feedback if I notice some consistent behavior (good or bad).

thanks!


All times are GMT. The time now is 10:12.

vBulletin® Version 3.8.8