You are not logged in.
Just start using Luakit a few days ago, and so far I'm liking it, I've tried Uzbl in the past but didn't realy get past setting it up, Luakit is ironically usable out of the box, its in the early stages of development but I haven't had any problems using it, it uses webkit so everything works (I haven't had any problems using it anyway)
any other crunchbangers using it?
link to arch forums pagehttps://bbs.archlinux.org/viewtopic.php?id=97375
and debian sid .deb http://packages.debian.org/unstable/main/luakit
- - - - - - - - Wiki Pages - - - - - - -
#! install guide *autostart programs, modify the menu & keybindings
configuring Conky *installing scripts
Offline
Installing it now, it's in the Wheezy repository
Get Dropbox and an extra 500 mb http://db.tt/wAizqw0
Offline
Luakit looks interesting, I think I will have a play. Thanks for sharing. 
Offline
How can I download from the sid repository?
Could you please provide the apt-get instructions?
Thanks
EDIT: if you can, please provide the exact command-line to install luakit
Last edited by Laudan (2011-06-28 14:26:57)
Offline
@Laudan - Please read this thread:
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Thought I'd revive this thread since I have started using it since yesterday and loving it. The defaults are wonderful since it uses the vimperator plugin and has noscript baked right into the browser. Oh and it runs and loads faster than the heavier apps like iceweasel or chrome (almost instant boot).
Current problems:
1. How to clear history [SOLVED]
2. Userscripts can be installed, but they're not working as intended.
3. How to install userstyles from userstyles.org
4. xmarks support?
Last edited by sunfizz98 (2012-01-03 18:22:00)
Offline
After installing it, I was not able to do anything with it.
Where is the address bar?
Offline
^Press "o" and then type your desired address.
Thanks. Where can I find the instructions for the other commands?
Offline
This should get your feet wet for the time being. It's very similar to firefox's vimperator extension so you can try googling a manual for vimperator.
Offline
Also take a look at the "/etc/xdg/luakit/binds.lua" file -- it contains the default key bindings.
I've been playing with luakit a bit today and I have to say it's growing on me, especially when I see how fast it loads and how little memory it uses.
Be eggsalad to each other.
Offline
Current problems:
1. How to clear history
according to this thread you can clear your history by deleting ~/.local/share/luakit/history.db.
Be eggsalad to each other.
Offline
dammit! now I try to use "b" to go back a page in iceweasel.
Be eggsalad to each other.
Offline
binds.lua:
-- History
key({}, "H", function (w, m) w:back(m.count) end),
key({}, "L", function (w, m) w:forward(m.count) end),
key({}, "b", function (w, m) w:back(m.count) end),
key({}, "XF86Back", function (w, m) w:back(m.count) end),
key({}, "XF86Forward", function (w, m) w:forward(m.count) end),
key({"Control"}, "o", function (w, m) w:back(m.count) end),
key({"Control"}, "i", function (w, m) w:forward(m.count) end),"Ctrl-o" and "b" both work. I learned "b" first.
Be eggsalad to each other.
Offline
Offline
Btw, is there a way to....
1. copy selected text from keyboard
2. always open links in new tabs instead of new window panes
3. save passwords
1. Should be possible; I'll see if it's easy.
2. Ctrl-left mouse click will open a link in a new tab now. If you want it to always work like this (never open a new window for navigation), copy /etc/xdg/luakit/webview.lua to your home folder ~/.config/luakit and edit it as follows:
find this section:
-- Action to take on window open request.
window_decision = function (view, w)
-- 'link' contains the download link
-- 'reason' contains the reason of the request (i.e. "link-clicked")
-- return TRUE to handle the request by yourself or FALSE to proceed
-- with default behaviour
view:add_signal("new-window-decision", function (v, uri, reason)
info("New window decision: %s (%s)", uri, reason)
if reason == "link-clicked" then
window.new({uri})
else
w:new_tab(uri)
end
return true
end)
end,and edit it to remove the window.new decision portion:
-- Action to take on window open request.
window_decision = function (view, w)
view:add_signal("new-window-decision", function (v, uri, reason)
-- always open a new tab, never a new window
w:new_tab(uri)
return true
end)
end,So far this seems to work with no issues, but it may prevent a window from being opened when we want it to be, so proceed with caution (back up the file first, all that).
3. I probably won't work on this; I never save passwords in the browser.
Last edited by 2ManyDogs (2012-01-10 03:05:00)
Be eggsalad to each other.
Offline
1. copy selected text from keyboard
Not sure exactly what you mean here. If you select text with the mouse and right click, you get the copy option. Do you want a "copy with keystrokes" option?
If so, you can add this to binds.lua in the "yanking" section:
buf("^ys$", function (w)
local uri = luakit.selection.primary
if not uri then w:error("Empty selection.") return end
luakit.selection.clipboard = uri
w:notify("Yanked selection: " .. uri)
luakit.selection.primary = ""
end),and then after you select text (with the mouse) type ^ys to copy the selection to the clipboard. You can paste into the destination with ctrl-V as usual.
If that's not what you mean let me know.
Last edited by 2ManyDogs (2012-01-09 19:13:45)
Be eggsalad to each other.
Offline
@2ManyDogs
Your last post was extremely useful, but I'm new to Lua, and when I added your code to enable copying with keystrokes, it just displays the following error:
Error: In bind call: /etc/xdg/luakit/binds.lua:188: attempt to index field 'selection' (a nil value)
Any help would be appreciated, and thanks in advance
Offline
So.. I am having trouble logging in to the #!-Forums with luakit (#! forums claim that I don't allow cookies).
Here are the cookie related parts of my luakit config files. Am I missing something?
rc.lua
-- Add sqlite3 cookiejar
require "cookies"
-- Cookie blocking by domain (extends cookies module)
-- Add domains to the whitelist at "$XDG_CONFIG_HOME/luakit cookie.whitelist"
-- and blacklist at "$XDG_CONFIG_HOME/luakit/cookie.blacklist".
-- Each domain must be on it's own line and you may use "*" as
-- wildcard character (I.e. "*google.com")
-- cookies default.allow = false
globals.lua
cookie_policy = { always = 0, never = 1, no_third_party = 2 }
soup.accept_policy = cookie_policy.alwaysI'd be glad if someone could help me with that.
Thanks in Advance.
Last edited by gensym (2012-03-16 09:00:49)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
Did you get this sorted yet? I'm no luakit expert, but I use it to browse #! every day (including right now). The only thing I see different in my rc.lua is this section you did not mention:
-- Block all cookies by default (unless whitelisted)
--cookies.default_allow = falseIt's right after --require "cookie blocking" in my rc.lua.
Be eggsalad to each other.
Offline
Yes. It's there and commented out, I must have missed it when copying.
Edith says: Can anyone suggest a method of overriding the font specified in the html file of the website with user specified fonts (like firefox does). Maybe a client side css can do that, but I am not terribly good at creating css files, any ideas?
Edith says:
This does the trick.
* {
font-family: "Font-Family-Name" !important
}Last edited by gensym (2012-03-18 23:28:05)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
An update:
The issue is not luakit related. I see this message with every browser except for firefox.
Googling the error message,
You appear to have logged in successfully, however a cookie has not been set. Please check your settings and if applicable, enable cookies for this website.
I have found the following thread: Clicky
I also found another link which gives some possible user workarounds for the problem. I'll post if the user workarounds solve my problem.
Edith says: Yay! Clicking the automatic login button did the trick.
Last edited by gensym (2012-03-18 17:42:51)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
I've been using Luakit for a while on an old laptop, it's a great little browser. I'd like it to block ads, like adblock for Firefox. I'm using privoxy but it seems slow. I found some scripts for adblock for Luakit, but I don't know how to use them, I've put them in /etc/xdg/luakit and linked to them in /etc/xdg/luakit/rc.lua, but they don't work.
Offline
Did you try already this: http://redmine.luakit.org/projects/luak … ing_CSS%29
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.