Active Topics

 


Reply
Thread Tools
Posts: 26 | Thanked: 13 times | Joined on Aug 2008 @ UK
#201
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.
 
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#202
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's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#203
Dany-69 please see my previous post about this problem.

Originally Posted by JonWW View Post
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.
Originally Posted by JonWW View Post
Edited file with Windows style NewLine characters removed
Attachment 12425
After you have downloaded it remove the .txt extension.
 

The Following 2 Users Say Thank You to JonWW For This Useful Post:
Posts: 41 | Thanked: 1 time | Joined on Jun 2010
#204
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
 
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#205
Originally Posted by JonWW View Post
Dany-69 please see my previous post about this problem.
I love you
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
Tnx

EDIT: OMG ....the status bar has gone
Attached Images
 

Last edited by Dany-69; 2010-08-02 at 13:10.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#206
Originally Posted by Dany-69 View Post
EDIT: OMG ....the status bar has gone
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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
Posts: 58 | Thanked: 65 times | Joined on Oct 2009 @ Finland
#207
Originally Posted by Dany-69 View Post
EDIT: OMG ....the status bar has gone
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.
 

The Following User Says Thank You to mattiviljanen For This Useful Post:
Posts: 214 | Thanked: 256 times | Joined on May 2010
#208
@Dany-69 and @pycage
That happened because it was still rebooting. Maybe your CPU was still doing something else.
 
Posts: 214 | Thanked: 256 times | Joined on May 2010
#209
Originally Posted by mattiviljanen View Post
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. 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
 
Posts: 38 | Thanked: 4 times | Joined on Jan 2010
#210
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!
 
Reply

Tags
faster, reflash, refresh, script-a-brick, sell it


 
Forum Jump


All times are GMT. The time now is 09:54.