I use the stock configuration, with a couple of extra bits for link handlers. What version of luakit are you using?
Last edited by zoqaeski (2014-03-15 13:49:53)
for me as a student it was very annoying that there is no pdfreader-plugin, because often i first want to have a look into an pdf before i decide to download and read the wohle one...
i solved this by checking the url from every navigation-request. if it ends with ".pdf" i'll be redirected to an online-pdf-viewer. Add this in rc.lua's user-section:
--Automatic view PDF files webview.init_funcs.pdfview = function (view, w) view:add_signal("navigation-request", function (v, uri) if string.sub(string.lower(uri), -4) == ".pdf" then local url ="http://docs.google.com/gview?url=" url = url .. uri url = url .. "&embedded=false" w:navigate(w:search_open(url)) end end) end
if somebody knows another service as googles "gview", let me know (actually im not a google-fan).
I also wrote a very compfortable speeddial. if required, i'll clean up the code an post it too.
is it possible to set up luakit for work in kiosk mode?
or view a transitional animation on page loading/changing?
Does anyone know, how to change the luakit.data_dir ? I'd like to use ~/.luakit instead of ~/.local/share/luakit, but I can't find this variable in any lua file.