qtmoko - qgcide and dictionary location

Radek Polak psonek2 at seznam.cz
Mon May 23 12:50:34 CEST 2011


On Monday 23 May 2011 12:37:16 Robin Paulson wrote:
> hi,
> i recently installed the qgcide application and on first run it asked
> to download the data files.
> 
> but it tries to download them to /media/card/, which is only 7.5mb (it
> has the kernel on it)
> 
> my questions are:
> 1. why is it downloaded to this location, not /usr/share/ or /var/ or
> even /home/?

Because if you are running from NAND it will take a lot of precious space. The 
location for /media/card is usually expected to be big partition on SD card.

> 2. is there any way to change the location it downloads to, without
> recompiling?

No, but you are on linux so it's very easy either to change /etc/fstab and 
mount some decent big partition of your SD card to /media/card. Or you can 
make bind mount anywhere where you want your dictionary. E.g. if you want it 
in /home/root do something like this (not tested):

mount -o bind /home/root/ /media/card

Regards

Radek



More information about the community mailing list