Install Pepper Flash Player In Chromium On Manjaro/Arch Linux

pepper_flash

Since Flash 11.2 has stopped working with Chromium because Chromium has stopped supporting the Netscape Plugin API (NPAPI)which it uses. Also, the latest Adobe Flash Player 13 is only available for Linux via Google Chrome.

Without a flash player flash contents won’t work in your browser.

No_flash

Pepper Flash player is available via AUR

To install open terminal and run:

sudo yaourt -S chromium-pepper-flash

Restart your browser and and you can now access flash contents. (Reboot system if it doesn’t take effect)

Install Numix Icon and Theme In Arch Linux

Numix from its official website, is a modern and stylish way to give your desktop a warm and jazzy feel.

In this tutorial am going to show how to install Numix theme and icon on your Manjaro box.

This as simple as ABCD your. Let’s begin:

First download the zipped form of these two repositories from GitHub.

Installation

  • Theme:

To install themes we are going to unzip or extract the contents of the zipped file as a root user to /usr/share/themes where all theme reside.

With current working directory /usr/share/themes unzip the theme.

sudo unzip ~/Downloads/Numix-master.zip
  • Icons:

To install icons, we are going to unzip or extract the contents of the zipped file as a root user to /usr/share/icons where all theme reside.

With your current working directory as /usr/share/icons run the command below to unzip icons

sudo unzip ~/Downloads/numix-icon-theme-master.zip

Now you only need to navigate to Appearance from the Application menu.

You should see the name of your theme here Numix-master.

Numix_1

Also see the icons name from the icons tab. here Numix-Circle

Numix_2

By selecting these themes and icons your Manjaro box has been Numixed. :-)

Enock_Manjaro_Numix_Desktop

You can also take a look at these community forks of Numix, follow the same procedures above to install and use them.

用Infinality改善Arch Linux字体渲染

安装用 infinality 打包过的 freetype2 和 fontconfig。freetype 是字体渲染程序,fontconfig 是对字体的配置规则。
默认情况下的绘字库的显示效果不是很好,所以我们要安装打过补丁的版本。
两个打过补丁的包名字叫做 freetype2-infinalityfontconfig-infinality。不过只能用 yaourt 安装。

  • 安装 yaourt:
pacman -S yaourt
  • 然后运行 yaourt 安装 infinality 
yaourt freetype2-infinality
  • 之后会出现这样的一个列表:

yaourt freetype2-infinality

       这时输入 “1 3”(1空格3)就可以安装这两个包了。如果你不是 root 用户,可能会要你输入密码。 当出现 “Edit PKGBUILD ?[Y/n]”或者“Edit install.sh ?[Y/n]”字样的时候,输入“n”表示不编辑。 在“Continue building xxxx ?[Y/n]”出现之后输入“y”表示继续安装。

  • 安装 fontconfig-infinality:
yaourt fontconfig-infinality
  • 完毕之后,执行
    /etc/fonts/infinality/infctl.sh setstyle

    ,然后选择一个渲染风格(我设置了5)。

以上!

 

 

纸牌屋

全集


S.03

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E01.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|587637442|0f50e89d335f9fb74704d85c0bc61a5a|h=b4h5u6pjssxvdgev3abzd4xy26jzo3zd|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E02.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|542370701|44f58ea50b554abb699a84d3b47f0b94|h=p5c66fivkuxhvlegf5jkysqspcs4qpki|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E03.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.V2.mp4|562847377|c69b896967157d8f9ee8dc14ffd5cdd9|h=rm6m4isiani6olxjlkmalvoeyxmyoanj|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E04.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.V2.mp4|476050140|e63aa01ff256d46264da878f4c679007|h=g2mio7yz4exudvh4sogykolmikyoyd62|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E05.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|521724965|28a91253d054a6b456cacf4d6c468dee|h=7pi5s26gwwdmifmhomzgtk4b6wvgf3sh|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E06.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|540357443|74607e8e91a9dcca52298930fe40f891|h=l5nzy2wumkwfxlkfhj7f3qncbxvox76k|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E07.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|528334386|c685e659a527d08c68a29590abdf5d61|h=uf5pyrjge5qqx5bt7uuuapbshrw7l3ha|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E08.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|437472019|db37104dcfd3c3ece7f3f15a084df4c3|h=wna42hq7npkfscceaczdau3xuoisv4ol|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E09.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|513579402|6604924f91192db3193c6f1b5a62457d|h=dze2yhm7vxp66af2sk6fwc5qabmkroqk|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E10.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|567310945|695d668a772d8f00f31e570880e3161d|h=ge5hn4dzcdt4qq4j4mnfdjlgmbcedbsh|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E11.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|522002618|2e70fa185f4d9c4f81c16e25da2eeb19|h=mru4tagw57cufpdtib5xu2xgwgona3wa|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E12.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|491316263|c19f14d3c2d65a2447faa49f535abd7e|h=zvxiqraf6wmghjy6esjn5vpbzovscvpe|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S03E13.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HDTVrip.1024X512.mp4|575262115|14b6cfb6f4e97b8a3970135152f816de|h=wgl6cazklbrlrnnwfcnytnh27hptj6tj|/

 


 

S.02

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E01.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|587989712|60a832c8fc5e604b9560ef26edf316f4|h=753ldkdo2ria6jjcqzgbkaq2e6suimue|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E02.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|578600116|9e31649007bff2dfcd8423d9cb8ed5cb|h=gibwskptsnh2hx7cjazeqqevxsup7io3|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E03.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|606396335|51612d46c295309cfcf8b84adf035d74|h=bauxmtrf2xz5r5ugwgrju5q3bpdp5okl|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E04.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|568217490|871dd10263606135620cce6ca51d0d9d|h=rnx5j4n7ox3mqfrzbdonr23hjrv446ov|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E05.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|580199470|331aef7e40b0d2775a44731780a40ee9|h=zta475s7pry2jcicif72zs35bhbl6e4t|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E06.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|613211352|8a2da71e467954e18d6572d9eb698c0f|h=yk4ldffsropxatbye5ur6ps6r5gdm7d6|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E07.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|572463747|443ecc99f6acafae83dbb8a716a168d3|h=usrpgscbam7t2krdgegzhugbcr3u3kv6|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E08.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|559676917|4260a332f0219a630d3d76961605b794|h=smn3sb6fazokz6v3pvycmbaatwv3rok2|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E09.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|582108907|392c9f63362aa5446f24487decc2c6f7|h=b75tg2f266hyygfik4hndjgcssf65s63|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E10.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|602425394|d41384da88e8cb1dccf6732f67351fa7|h=t6qbcnwtvbcssqah4pgdnadtg2mi47kb|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E11.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|633845151|a57cc5ded5639bed43a3d69b263ea5e1|h=pzrtjxobwz2gk7edfi63hqe6aa2odsjf|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E12.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|558156631|adcccc2db3d2a5ffbc33ccf5953b1a70|h=yyjw3g3n5xk52lsb4cqpnmozm53e3ani|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S02E13.End.%E4%B8%AD%E8%8B%B1%E5%AD%97%E5%B9%95.HR-BluRay.AC3.1024X512.x264.mkv|703956936|932873abe4702e3f815fed7fefdf132b|h=6w5ufhphdwmbemrwkyovf5wj4jwm7ccz|/


S.01

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E01.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|665909952|2d9e745045d216e08e2f439a69c4b014|h=fadnni3sguyehbw4yond5w67bmio2pp2|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E02.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|581407521|246c556912467e66c8870fc1732c8dce|h=43ynqf7p27ampe7bjaogfqxniyznwg5w|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E03.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|603743542|0c60bf0c480eed311f682e9fd2990815|h=knfb3kyzx5xjbf3miqvwjvgrqkqkpb26|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E04.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|574531391|604273c32356e27f3af649ed49b882c6|h=itelc3f2nxbhaa622rerwglz3pc3szkb|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E05.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|618131229|885913440f0ba5fb7ccd4b71a8f57929|h=dvmc2lbtzf3buzlmscdht4pmnj55fctu|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E06.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|593331267|685ed5194b0c5aeea332cd909c2e164a|h=cbu2fzkm4mfln2ppc5om7w4uqigkf3am|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E07.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|637012206|90744f6e61f37943db0a098ecbe3400c|h=zs6ohewc53f7auazuhqkswixcaomdvat|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E08.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|553086915|aa208d3a2e5765917de13c523514eede|h=hmh43wnsvvk42bpklq7bqmvxlpjydj2n|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E09.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|607271248|46793fe98b50b69a94410b78dd895558|h=rjwj7oeoycp5cfryg3ezjrqybue6fgrk|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E10.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|619187621|c6431b3cf193ec6610481a9e08ec030b|h=epwvesa3n5um5qhjz2v4rrjovkd53mk5|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E11.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|637850910|bc726e65db28a939504819088a5f59cd|h=kfq2pwu4mxytk63umcw4phtsu6c4j7le|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E12.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|625055034|e6aced58c70a924551778edbfada41ab|h=4geyxmgg57bdrjbeg46od6urhwirzhif|/

ed2k://|file|%E7%BA%B8%E7%89%8C%E5%B1%8B.House.Of.Cards.2013.S01E13.Chi_Eng.HR-BluRay.AC3.1024X512.x264-YYeTs%E4%BA%BA%E4%BA%BA%E5%BD%B1%E8%A7%86.mkv|585294622|bc7c2fddf2a923e73282ef37aa347e4d|h=57wfp25cmcsp4zrllkshmhlrt467gilq|/

 

koreader更改默认设置

-- To make configuration changes that persists between (nightly) releases,
-- copy defaults.lua to defaults.persistent.lua and make the changes there.

-- number of page turns between full screen refresh (elink屏每隔多少页完全刷新一次,)
-- default to do a full refresh on every 6 page turns (默认=6,参数范围 1-99)
-- 影响格式 = 全部
DRCOUNTMAX = 15

-- number of pages for hinting (在后台预先加载页数)
-- default to pre-rendering 1 page
-- 影响格式 = PDF/DJVU
DHINTCOUNT = 2

-- full screen mode, 1 for true, 0 for false (显示/隐藏进度指示条,1=显示,0=隐藏)
-- 影响格式 = PDF/DJVU
DFULL_SCREEN = 1

-- scroll mode, 1 for true, 0 for false (是否以连续模式显示页面)
-- 影响格式 = PDF/DJVU
DSCROLL_MODE = 1

-- default gamma setting (默认伽玛设置)
DGLOBALGAMMA = 1.0

-- DjVu page rendering mode (used in djvu.c:drawPage())
-- See comments in djvureader.lua:DJVUReader:select_render_mode()
DRENDER_MODE = 0 -- 0 is COLOUR

-- minimum cache size
DGLOBAL_CACHE_SIZE_MINIMUM = 1024*1024*10

-- proportion of system free memory used as global cache
DGLOBAL_CACHE_FREE_PROPORTION = 0.2

-- maximum cache size
DGLOBAL_CACHE_SIZE_MAXIMUM = 1024*1024*30

-- background colour in non scroll mode: 8 = gray, 0 = white, 15 = black
DBACKGROUND_COLOR = 0

-- outer page colour in scroll mode: 8 = gray, 0 = white, 15 = black
DOUTER_PAGE_COLOR = 0

-- supported view mode includes: "scroll" and "page" (pagination in "page" mode, no pagination in "scroll" mode)
--  影响格式 =  EPUB/FB2
DCREREADER_VIEW_MODE = "page"

-- show dimmed area to indicate page overlap in "page" view mode, (是否以灰色标识当前页与上一页的重叠区域)
-- default to false (缺省 = )
--  影响格式 = PDF/DJVU
DSHOWOVERLAP = true

-- show hidden files in filemanager (是否显示隐藏文件 (以"."开头的文件))
-- default to false (缺省 =  )
--  影响格式 = FileManager
DSHOWHIDDENFILES = false

-- 是否显示文件大小,单位为MB
--  影响格式 = FileManager
DSHOWFILESIZE = true

-- landscape clockwise rotation
-- default to true, set to false for counterclockwise rotation
DLANDSCAPE_CLOCKWISE_ROTATION = true

-- default minimum screen height for reading with 2 pages in landscape mode
DCREREADER_TWO_PAGE_THRESHOLD = 7

-- page overlap pixels
DOVERLAPPIXELS = 30

-- timeout to show link rectangle around links
-- default to 0.5 second
-- set to 0 to disable showing rectangle and follow link immediately
FOLLOW_LINK_TIMEOUT = 0.5

-- customizable tap zones(rectangles)
-- x: x coordinate of top left corner in proportion of screen width
-- y: y coordinate of top left corner in proportion of screen height
-- w: width of tap zone in proportion of screen width
-- h: height of tap zone in proportion of screen height
DTAP_ZONE_MENU = {x = 1/8, y = 0, w = 3/4, h = 1/4}
DTAP_ZONE_CONFIG = {x = 0, y = 0, w = 0, h = 0}
DTAP_ZONE_MINIBAR = {x = 0, y = 15/16, w = 1, h = 1/16}
DTAP_ZONE_FORWARD = {x = 1/4, y = 0, w = 3/4, h = 1}
DTAP_ZONE_BACKWARD = {x = 0, y = 0, w = 1/4, h = 1}
DTAP_ZONE_BOOKMARK = {x = 7/8, y = 0, w = 1/8, h = 1/8}
DTAP_ZONE_FLIPPING = {x = 0, y = 0, w = 1/8, h = 1/8}
DDOUBLE_TAP_ZONE_NEXT_CHAPTER = {x = 6/8, y = 0, w = 2/8, h = 2/8}
DDOUBLE_TAP_ZONE_PREV_CHAPTER = {x = 0, y = 0, w = 2/8, h = 2/8}

-- behaviour of swipes
DCHANGE_WEST_SWIPE_TO_EAST = true
DCHANGE_EAST_SWIPE_TO_WEST = true

-- koptreader config defaults
DKOPTREADER_CONFIG_FONT_SIZE = 1.0        -- range from 0.1 to 3.0
DKOPTREADER_CONFIG_TEXT_WRAP = 0        -- 1 = on, 0 = off
DKOPTREADER_CONFIG_TRIM_PAGE = 1        -- 1 = auto, 0 = manual
DKOPTREADER_CONFIG_DETECT_INDENT = 1    -- 1 = enable, 0 = disable
DKOPTREADER_CONFIG_DEFECT_SIZE = 1.0    -- range from 0.0 to 3.0
DKOPTREADER_CONFIG_PAGE_MARGIN = 0.10    -- range from 0.0 to 1.0
DKOPTREADER_CONFIG_LINE_SPACING = 1.2    -- range from 0.5 to 2.0
DKOPTREADER_CONFIG_RENDER_QUALITY = 1.0    -- range from 0.5 to 2.0
DKOPTREADER_CONFIG_AUTO_STRAIGHTEN = 0    -- range from 0 to 10
DKOPTREADER_CONFIG_JUSTIFICATION = 3    -- -1 = auto, 0 = left, 1 = center, 2 = right, 3 = full
DKOPTREADER_CONFIG_MAX_COLUMNS = 2        -- range from 1 to 4
DKOPTREADER_CONFIG_CONTRAST = 1.0        -- range from 0.2 to 2.0

-- word spacing for reflow
DKOPTREADER_CONFIG_WORD_SPACINGS = {0.05, -0.2, 0.375}    -- range from (+/-)0.05 to (+/-)0.5
DKOPTREADER_CONFIG_DEFAULT_WORD_SPACING = -0.2            -- range from (+/-)0.05 to (+/-)0.5
-- document languages for OCR
DKOPTREADER_CONFIG_DOC_LANGS_TEXT = {"English", "Chinese"}
DKOPTREADER_CONFIG_DOC_LANGS_CODE = {"eng", "chi_sim"}    -- language code, make sure you have corresponding training data
DKOPTREADER_CONFIG_DOC_DEFAULT_LANG_CODE = "eng"          -- that have filenames starting with the language codes

-- crereader font sizes
-- feel free to add more entries in this list
DCREREADER_CONFIG_FONT_SIZES = {16, 20, 22, 24, 26, 28, 30, 34, 38, 44}  -- option range from 16 to 44
-- default font size (默认字体大小,参数范围 16 - 44)
--  影响格式 =  EPUB/FB2
DCREREADER_CONFIG_DEFAULT_FONT_SIZE = 22    

-- crereader margin sizes (页面边距)
-- margin {left, top, right, bottom} in pixels (页面边距 {左, 上, 右, 下},单位为像素,参数范围 5 - 50)
--  影响格式 =  EPUB/FB2
DCREREADER_CONFIG_MARGIN_SIZES_SMALL = {5, 10, 5, 10}
DCREREADER_CONFIG_MARGIN_SIZES_MEDIUM = {10, 15, 10, 15}
DCREREADER_CONFIG_MARGIN_SIZES_LARGE = {20, 20, 20, 20}

-- crereader font gamma
DCREREADER_CONFIG_LIGHTER_FONT_GAMMA = 10
DCREREADER_CONFIG_DEFAULT_FONT_GAMMA = 15
DCREREADER_CONFIG_DARKER_FONT_GAMMA = 25

-- crereader line space percentage
DCREREADER_CONFIG_LINE_SPACE_PERCENT_SMALL = 90
DCREREADER_CONFIG_LINE_SPACE_PERCENT_MEDIUM = 100
DCREREADER_CONFIG_LINE_SPACE_PERCENT_LARGE = 120

-- crereader progress bar (进度条样式)
-- 0 for top "full" progress bar (0为完整)
-- 1 for bottom "mini" progress bar (1为迷你)
--  影响格式 =  EPUB/FB2
DCREREADER_PROGRESS_BAR = 1

-- configure "mini" progress bar
DMINIBAR_ALL_AT_ONCE = false
DMINIBAR_PROGRESSBAR = true
DMINIBAR_TIME = true
DMINIBAR_PAGES = true
DMINIBAR_NEXT_CHAPTER = true
DMINIBAR_BATTERY = true

DMINIBAR_PROGRESS_MARKER = true -- Black notch for each TOC entry
DMINIBAR_TOC_MARKER_WIDTH = 2   -- Looses usefulness > 3

DMINIBAR_HEIGHT = 7             -- Should be smaller than DMINIBAR_CONTAINER_HEIGHT
DMINIBAR_CONTAINER_HEIGHT = 14  -- Larger means more padding at the bottom, at the risk of eating into the last line

DMINIBAR_FONT_SIZE = 14


-- gesture detector defaults
DGESDETECT_DISABLE_DOUBLE_TAP = true

-- change this to any numerical value if you want to antomatically save settings when turning pages
DAUTO_SAVE_PAGING_COUNT = nil

-- dictionary font size
DDICT_FONT_SIZE = 20

-- Frontlight decrease of sensitivity for two-fingered pan gesture,
-- e.g. 2 changes the sensitivity by 1/2, 3 by 1/3 etc.
FRONTLIGHT_SENSITIVITY_DECREASE = 2

-- Normally, Koreader will present file lists sorted in case insensitive manner
-- when presenting an alphatically sorted list. So the Order is "A, b, C, d".
-- You can switch to a case sensitive sort ("A", "C", "b", "d") by disabling
-- insensitive sort
DALPHA_SORT_CASE_INSENSITIVE = true

-- Set a path to a folder that is filled by Calibre (must contain the file metadata.calibre)
-- e.g.
-- "/mnt/sd/.hidden" for Kobo with files in ".hidden" on the SD card
-- "/mnt/onboard/MyPath" for Kobo with files in "MyPath" on the device itself
-- "/mnt/us/documents/" for Kindle files in folder "documents"
SEARCH_LIBRARY_PATH  = ""
SEARCH_LIBRARY_PATH2 = ""

-- Search parameters
SEARCH_CASESENSITIVE = false

SEARCH_AUTHORS = true
SEARCH_TITLE = true
SEARCH_TAGS = true
SEARCH_SERIES = true
SEARCH_PATH = true

-- Light parameter for Kobo
KOBO_LIGHT_ON_START = -1           -- -1 or 0-100. -1 leaves light as it is, other sets light on start/wake up
KOBO_SCREEN_SAVER = ""             -- image or directory with pictures or "-"
KOBO_SCREEN_SAVER_LAST_BOOK = true -- get screensaver from last book if possible

-- Network proxy settings
-- proxy url should be a string in the format of "http://localhost:3128"
-- proxy authentication is not supported yet.
NETWORK_PROXY = nil

-- ####################################################################
-- following features are not supported right now
-- ####################################################################

-- set panning distance
--DSHIFT_X = 100
--DSHIFT_Y = 50

-- step to change zoom manually, default = 16%
--DSTEP_MANUAL_ZOOM = 16
--DPAN_BY_PAGE = false -- using shift_[xy] or width/height
--DPAN_MARGIN = 5 -- horizontal margin for two-column zoom (in pixels)
--DPAN_OVERLAP_VERTICAL = 30

-- tile cache configuration:
--DCACHE_MAX_MEMSIZE = 1024*1024*5 -- 5MB tile cache
--DCACHE_MAX_TTL = 20 -- time to live

-- renderer cache size
--DCACHE_DOCUMENT_SIZE = 1024*1024*8 -- FIXME random, needs testing

-- default value for battery level logging
--DBATTERY_LOGGING = false


-- delay for info messages in ms
--DINFO_NODELAY=0
--DINFO_DELAY=1500

-- toggle defaults
--DUNIREADER_SHOW_OVERLAP_ENABLE = true
--DUNIREADER_SHOW_LINKS_ENABLE = true
--DUNIREADER_COMICS_MODE_ENABLE = true
--DUNIREADER_RTL_MODE_ENABLE = false
--DUNIREADER_PAGE_MODE_ENABLE = false

--DDJVUREADER_SHOW_OVERLAP_ENABLE = true
--DDJVUREADER_SHOW_LINKS_ENABLE = false
--DDJVUREADER_COMICS_MODE_ENABLE = true
--DDJVUREADER_RTL_MODE_ENABLE = false
--DDJVUREADER_PAGE_MODE_ENABLE = false

--DKOPTREADER_SHOW_OVERLAP_ENABLE = true
--DKOPTREADER_SHOW_LINKS_ENABLE = false
--DKOPTREADER_COMICS_MODE_ENABLE = false
--DKOPTREADER_RTL_MODE_ENABLE = false
--DKOPTREADER_PAGE_MODE_ENABLE = false

--DPICVIEWER_SHOW_OVERLAP_ENABLE = false
--DPICVIEWER_SHOW_LINKS_ENABLE = false
--DPICVIEWER_COMICS_MODE_ENABLE = true
--DPICVIEWER_RTL_MODE_ENABLE = false
--DPICVIEWER_PAGE_MODE_ENABLE = false


--DKOPTREADER_CONFIG_MULTI_THREADS = 1    -- 1 = on, 0 = off
--DKOPTREADER_CONFIG_SCREEN_ROTATION = 0    -- 0, 90, 180, 270 degrees

最新文章

最近回复

  • 测试: 评论测试内容
  • 袅残烟: [嘻嘻]万网域名也降价了
  • yxy: 以后,我会经常来逛的。
  • 袅残烟: LXDE可以搭配xf...
  • Fooleap: 从好几年前用 Lub...

分类

  • 默认分类 (26)
  • 运维 (53)
  • docker (1)
  • 动漫 (19)
  • 科普知识 (15)
  • 苍白边缘 (17)
  • 资源 (12)
  • Linux (58)
  • Arch Linux (19)
  • 计算机 (18)
  • 编程 (3)
  • Java (4)
  • python (0)
  • php (0)
  • 前端 (1)
  • 公告 (1)
  • 归档




      其它