is it possible to set up luakit for work in kiosk mode?
or view a transitional animation on page loading/changing?
]]>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.
greetings
]]>zoqaeski wrote:sw2wolf wrote:luakit is great ! Now i am using it instead of Opera. However, there are 2 questions:
1) How to open Tab background
2) How to close Tab using mouse instead of Ctrl+W/dregards!
1) `F` instead of `f`. Have a look at `:help` for more keybindings.
2) Can't be done at present, but you're welcome to have a go at coding it in. The sources are on GitHub.Hmm? You can close a tab by middle-clicking on it.
Oh! So you can. See how often I use the mouse in luakit?
Either way, in answer to the original question, if you edit your rc.conf you should be able to customise it. Look at how the other bindings function to figure out how. I've added a few ideas from dwb but I don't know whether to push them to the community repo yet as they change default functionality.
]]>zoqaeski wrote:sw2wolf wrote:luakit is great ! Now i am using it instead of Opera. However, there are 2 questions:
1) How to open Tab background
2) How to close Tab using mouse instead of Ctrl+W/dregards!
1) `F` instead of `f`. Have a look at `:help` for more keybindings.
2) Can't be done at present, but you're welcome to have a go at coding it in. The sources are on GitHub.Hmm? You can close a tab by middle-clicking on it.
middle-clicking doesnot work here.
]]>sw2wolf wrote:luakit is great ! Now i am using it instead of Opera. However, there are 2 questions:
1) How to open Tab background
2) How to close Tab using mouse instead of Ctrl+W/dregards!
1) `F` instead of `f`. Have a look at `:help` for more keybindings.
2) Can't be done at present, but you're welcome to have a go at coding it in. The sources are on GitHub.
Hmm? You can close a tab by middle-clicking on it.
]]>luakit is great ! Now i am using it instead of Opera. However, there are 2 questions:
1) How to open Tab background
2) How to close Tab using mouse instead of Ctrl+W/dregards!
1) `F` instead of `f`. Have a look at `:help` for more keybindings.
2) Can't be done at present, but you're welcome to have a go at coding it in. The sources are on GitHub.
2) How to close Tab using mouse instead of Ctrl+W/d
N/A
3)How to make luakit know *.lua in ~/luakit/share/luakit/lib
Adding
package.path = package.path .. ";" .. (os.getenv("HOME") .. "/luakit/share/luakit/lib") .."/?.lua"
into ~/.config/luakit/rc.lua doesnot work.
regards!
]]>hi guys, is it possible to have luakit just using html5? or does anyone know if facebook can be loaded using html5 in luakit?
That is nonsense. HTML5 is not something the browser "uses", but rather a format the markup is provided in by a site or server. The browser simply interprets and renders it.
]]>