← Back to team overview

lubuntu-desktop team mailing list archive

Lsc using a database, amazing!

 

Hi, i'm trying to use a database builded parsing
/usr/share/app-install/desktop in lsc.
well men, is amazing fast! when the ui shows the apps database is
charged and ready to go!
i will commit as soon as possible and i will build the ppa.
if you wan't to try the database follow these step:

1 - sudo apt-get update && sudo apt-get upgrade, if no upgrade are
visible, you should wait.

2 - remove your lsc config folder ~/.config/lsc (remove the folder, not
only LSC.ini)

3 - open a python shell ( $ python) and type these commands:

from LSC import threadingops
threadingops.BuildDatabase("/usr/share/pyshared/LSC/datas.db")
# wait the prompt
exit()

4 - launch lubuntu-software-center (better from terminal, to see if
there are errors), open the preference dialog and toggle "Use packages
database". click apply and see the result! (if you restart lsc you will
see better)

we should build the database with a postinstall script (in the deb
package), using exactly the commands of the 3 step (althought this will
probably create a config file in the root home).

Regards
Stephen Smally