Active Topics

 


Reply
Thread Tools
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#41
Originally Posted by arkanoid View Post
BTW after next reboot mc and dosbox icons (i "optified" both) were replaced with blue squares. It happens to desktop shortcuts only, icons the launcher are intact.
If you open the xterm and do the following:

Code:
 /usr/bin/gtk-update-icon-cache
does it fixes the desktop icons till the next reboot?

Sorry but I can't test this myself at the moment.
 
Posts: 3 | Thanked: 0 times | Joined on Dec 2009
#42
Hello everybody,

Here is a list of packages i've archived with this script.


libqt4-gui 38232
microb-engine 15616
microb-110n 10556
perl-modules 10272
libqt4-core 10016
perl 9932
libstdc++6-4.2-dev 9568
pokerth-data 9456
libc6-dev 8348
hildon-theme-alpha 7668
nokia-maps-ui 6876
adobe-flashplayer 6700
binutils 6488
hildon-theme-beta 6332
cpp-4.2 6188
nokia-maps-core 5316
pokerth 4532
drnoksnes 2076
libstdc++ 1648

My rootfs was full at like 100%, now 69 % ( the good number )
and the phone is still running correctly, no slow down detected.

Only one bug is on the pokerth application, before the operation, we can read the action being done by opponents, now this quick text doesn't appear ( but it's not really disturbing ).

Thx to his owner for this usefull script
 
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#43
I downloaded the script from http://pastebin.com/f1355fe1f
and I got the script f1355fe1f.sh
But when I try to run the script I got an error message :
Nokia-N900-42-11:/home/user/MyDocs/.documents# bash f1355fe1f.sh
: command not found2:
: command not found7:
'1355fe1f.sh: line 9: syntax error near unexpected token `{
'1355fe1f.sh: line 9: `{
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#44
As reported before in this thread, the script gets downloaded in "windows" text format, i.e. with cr/lf as end line chars, instead that lf only like in unix conventions. Some posts above you get ways of converting.
 
Jef91's Avatar
Posts: 191 | Thanked: 129 times | Joined on Dec 2009 @ Bloomington, IL
#45
Going to give this a try in the morning. Mostly posting here so i can find the thread again later.

Cheers,
~Jeff
 
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#46
I only tried:

libqt4-gui
libqt4-core
microb-engine
microb-110n
vim

and on the next reboot I couldn't click anywhere on the desktop. No icons or anything... I could slide desktops around and I could click within applications (e.g. phone, b/c i could rotate to start that).

I undid the qt stuff and I could click again, but for some reason I'm still at about 100% usage... how could that be?? It's like it made no difference at all.
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#47
Originally Posted by twoboxen View Post
I only tried:

libqt4-gui
libqt4-core
microb-engine
microb-110n
vim

and on the next reboot I couldn't click anywhere on the desktop. No icons or anything... I could slide desktops around and I could click within applications (e.g. phone, b/c i could rotate to start that).

I undid the qt stuff and I could click again, but for some reason I'm still at about 100% usage... how could that be?? It's like it made no difference at all.
You should propably not be messing with microb (browser stuff) or libqt... I know I wouldn't...

vim should be optified now AFAIK...

The rootfs is a compressed filesystem (ubifs) so You won't always see it right away... I've found that rebooting often frees extra space (guess it compresses on boot)...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#48
Originally Posted by DrWilken View Post
You should propably not be messing with microb (browser stuff) or libqt... I know I wouldn't...

vim should be optified now AFAIK...

The rootfs is a compressed filesystem (ubifs) so You won't always see it right away... I've found that rebooting often frees extra space (guess it compresses on boot)...
If Nokia would have properly optified their own packages, I wouldn't have to touch microb... believe me, I would rather not have to do this to "save space" on a phone that is supposed to have 32GB of storage with 2GB of that being dedicated to application storage. I didn't read about the 256MB rootfs limitation until I was trying to debug it myself. Yes, I shouldn't be dancing around extras-devel if I weren't willing to do this, but that doesn't make it any less frustrating

I updated today, vim was still one of the bigger offenders (> 8MB).

I found the problem. When you 'undo' the archiving it doesn't properly handle symbolic links.

So I had three copies of libQtGui (libQtGui.so.4.5.3, libQtGui.so.4.5, libQtGui.so.4) and the same for libQtCore. Instead of having one (libQtGui.so.4.5.3) and the other two (libQtGui.so.4 and libQtGui.so.4.5) being symbolically linked to the first.

Last edited by twoboxen; 2010-01-03 at 00:35.
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#49
Originally Posted by twoboxen View Post
I updated today, vim was still one of the bigger offenders (> 8MB).
You're absolutely right:
Code:
Nokia-N900-42-11:~# dpkg -L vim | grep -v /opt
/.
/usr
/usr/sbin
/usr/bin
/usr/bin/vim.launch
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/vimtutor.1.gz
/usr/share/man/man1/vimdiff.1.gz
/usr/share/man/man1/evim.1.gz
/usr/share/applications
/usr/share/applications/hildon
/usr/share/applications/hildon/vim.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/26x26
/usr/share/icons/hicolor/26x26/hildon
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/hildon
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/hildon
/usr/bin/ex
/usr/bin/view
/usr/bin/xxd
/usr/bin/vim
/usr/bin/vimtutor
/usr/bin/rvim
/usr/bin/rview
/usr/bin/vimdiff
/usr/share/vim
/usr/share/man/man1/view.1.gz
/usr/share/man/man1/vim.1.gz
/usr/share/man/man1/rvim.1.gz
/usr/share/man/man1/ex.1.gz
/usr/share/man/man1/rview.1.gz
/usr/share/man/man1/xxd.1.gz
/usr/share/icons/hicolor/26x26/hildon/vim.png
/usr/share/icons/hicolor/48x48/hildon/vim.png
/usr/share/icons/hicolor/scalable/hildon/vim.png
Guess it hasn't been properly optified yet... I just saw that it had *some* files in /opt and figured it had been optified...

Hmmm... Something doesn't look right here:
Code:
Nokia-N900-42-11:~# du -sh `dpkg -L vim | grep -v /opt`
2.0G	/.
4.0k	/usr/bin/vim.launch
du: /usr/share/man/man1: No such file or directory
du: /usr/share/man/man1/vimtutor.1.gz: No such file or directory
du: /usr/share/man/man1/vimdiff.1.gz: No such file or directory
du: /usr/share/man/man1/evim.1.gz: No such file or directory
4.0k	/usr/share/applications/hildon/vim.desktop
0	/usr/bin/ex
0	/usr/bin/view
0	/usr/bin/xxd
0	/usr/bin/vim
0	/usr/bin/vimtutor
0	/usr/bin/rvim
0	/usr/bin/rview
0	/usr/bin/vimdiff
0	/usr/share/vim
du: /usr/share/man/man1/view.1.gz: No such file or directory
du: /usr/share/man/man1/vim.1.gz: No such file or directory
du: /usr/share/man/man1/rvim.1.gz: No such file or directory
du: /usr/share/man/man1/ex.1.gz: No such file or directory
du: /usr/share/man/man1/rview.1.gz: No such file or directory
du: /usr/share/man/man1/xxd.1.gz: No such file or directory
0	/usr/share/icons/hicolor/26x26/hildon/vim.png
0	/usr/share/icons/hicolor/48x48/hildon/vim.png
0	/usr/share/icons/hicolor/scalable/hildon/vim.png
Nokia-N900-42-11:~# ls -l /usr/share/man/man1/
ls: /usr/share/man/man1/: No such file or directory
Nokia-N900-42-11:~# ls -l /usr/share/man/
-rw-r--r--    1 root     root           19 Jan  2 17:30 README
EDIT -> I guess that's how man and docs are stripped (?)... The files are missing, but the still show up using dpkg -L... ??
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-01-03 at 10:02.
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2010
#50
When i opened the link to the script there are 2 scripts, i should take the bottom one i guess thats the updated right?

How can i take this script and excute it to x terminal please? i have to type it all or i can get it somehow into the n900?

thanks for your help!
 
Reply

Tags
n800, n810, n900, optification, optifying, rootfs


 
Forum Jump


All times are GMT. The time now is 21:06.