Stardict

From Qi-Hardware
Jump to: navigation, search
StarDict

Contents

[edit] StarDict

StarDict is already in the office release since 2010-04-08/

[edit] Building

in your OpenWrt folder:

$ ./scripts/feeds update -a && ./scripts/feeds install -a

in "make menuconfig" select stardict in "Utilities --->"

$ make packages/stardict/compile V=99

you will get stardict package at bin/xburst/packages/stardict_3.0.1_xburst.ipk

copy to your nanonote. install stardict by opkg install stardict_3.0.1_xburst.ipk

[edit] Dictionaries

you can download dictionaries from here To install these tarball dictionaries, do this:

$ tar -xjvf foo.tar.bz2
$ mv foo/* ~/.stardict/dic 

or

$ mv foo/* /usr/share/stardict/dic

[edit] Fonts

  • Chinese. for more info about this font : 文泉驿, here is binary package.
$ scp wqy-microhei_0.2.0-beta-1_xburst.ipk root@192.168.254.101:~/

ssh to your nanonote run:

$ opkg install wqy-microhei_0.2.0-beta-1_xburst.ipk

[edit] Config File

please use this config file copy it to "/root/.stardict/stardict.cfg"

[stardict-private]
version=1.0

[/apps/stardict/manage_dictionaries]
dict_default_group=Default Group

[/apps/stardict/preferences/dictionary]
only_export_word=false
enable_sound_event=false

scan_selection=false
only_scan_while_modifier_key=true

[/apps/stardict/preferences/network]
enable_netdict=false 

[/apps/stardict/preferences/notification_area_icon]
query_in_floatwin=false

[/apps/stardict/preferences/main_window]
hpaned_pos=64
hide_list=false
maximized=false


[edit] TODO

* when you use Ctrl + Q to quilt the StarDict. it's always give message " (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:859 in dfb_core_deinit_check()]" and do not quit the stardict. must use kill -9 `pidof stardict` to exit stardict for now.

[edit] Stardict Authors

Personal tools
Namespaces
Variants
Actions
Navigation
interactive
Toolbox
Print/export