Jimmy Conway |
2010-03-08 10:09 |
Wrong Encoding after trying to get more space
After almost never have space to use extras-devel, I tried to do this.
Code:
# mkdir -p /home/root/usr/share
cd /usr/
for FILE in games include local src var
do
mv $FILE /home/root/usr/
ln -s /home/root/usr/$FILE /usr/
done
mkdir -p /home/root/var/cache
cd /var/cache/
for FILE in apt
do
mv $FILE /home/root/var/cache/
ln -s /home/root/var/cache/$FILE /var/cache/
done
cd /usr/share/
for FILE in fonts icons locale mime nokia-maps pixmaps sounds themes tutorial-applet zoneinfo
do
mv $FILE /home/root/usr/share/
ln -s /home/root/usr/share/$FILE /usr/share/
done
mkdir /home/root/usr/share/games
ln -s /home/root/usr/share/games .
I know, I know.. if you don't know what your're doing you shouldn't do stuff like this.
But now my Problem. I have moved my fonts. Everything looks like this.
http://i49.tinypic.com/11ak290.jpg
With a little help from a friend i tried this, maybe it helps
Code:
ls -la /home/root/usr/share/
Result
Code:
drwxr-xr-x 17 root root 4096 Mar 8 11:19 .
drwxr-xr-x 9 root root 4096 Mar 8 10:55 ..
-rw-r--r-- 1 root root 61236 Mar 19 2006 NcrBI4nh.ttf
-rw-r--r-- 1 root root 57436 Mar 19 2006 NcrBR4nh.ttf
-rw-r--r-- 1 root root 58588 Mar 19 2006 NcrRI4nh.ttf
-rw-r--r-- 1 root root 58592 Mar 19 2006 NcrRR4nh.ttf
-rw-r--r-- 1 root root 67936 Mar 19 2006 NtmBI4nh.ttf
-rw-r--r-- 1 root root 67120 Mar 19 2006 NtmBR4nh.ttf
-rw-r--r-- 1 root root 68032 Mar 19 2006 NtmRI4nh.ttf
-rw-r--r-- 1 root root 67384 Mar 19 2006 NtmRR4nh.ttf
-rw-r--r-- 1 root root 58036 Mar 19 2006 SwaBI4nh.ttf
-rw-r--r-- 1 root root 56856 Mar 19 2006 SwaBR4nh.ttf
-rw-r--r-- 1 root root 58628 Mar 19 2006 SwaRI4nh.ttf
-rw-r--r-- 1 root root 56964 Mar 19 2006 SwaRR4nh.ttf
drwxr-xr-x 2 root root 4096 Jan 25 17:43 arabic
drwxr-xr-x 2 root root 4096 Jan 25 17:42 chinese
-rw-r--r-- 1 root root 0 Mar 8 11:22 fonts
drwxr-xr-x 2 root root 4096 Mar 8 10:59 games
drwxr-xr-x 8 root root 4096 Feb 16 12:55 icons
drwxr-xr-x 90 root root 4096 Mar 8 10:55 locale
drwxr-xr-x 14 root root 4096 Feb 16 12:59 mime
drwxr-xr-x 2 root root 4096 Jan 25 17:43 nokia
drwxr-xr-x 3 root root 4096 Jan 25 17:42 nokia-maps
drwxr-xr-x 6 root root 4096 Feb 22 17:05 pixmaps
drwxr-xr-x 4 root root 4096 Feb 16 12:19 sounds
lrwxrwxrwx 1 root root 35 Mar 8 10:55 thai-ttf -> /opt/maemo/usr/share/fonts/thai-ttf
drwxr-xr-x 9 root root 4096 Feb 19 00:19 themes
drwxr-xr-x 3 root root 4096 Feb 27 00:12 truetype
drwxr-xr-x 2 root root 4096 Jan 25 17:43 tutorial-applet
drwxr-xr-x 3 root root 4096 Feb 16 12:55 type1
drwxr-xr-x 19 root root 4096 Jan 25 17:41 zoneinfo
|