You are not logged in.
It crashes at 'download linked file' or 'save picture as' from the rightclick menu.
Any ideas what causes this?
Offline
Would be helpful if you could provide some output luakit produces when it crashes. Start luakit in a terminal with
luakit -v 2>&1 > ~/.luakit.log
and show us the whole log or the important part at the end.
Offline
So should I file a bug report about being unable to change the colour of my status bar and tab bar background? Is there something else I should be trying?
EDIT: Noticed I was having this problem with dwb as well, so I changed my GTK theme and fixed the problem.
Last edited by hellomynameisphil (2011-11-05 16:23:56)
Offline
Would be helpful if you could provide some output luakit produces when it crashes. Start luakit in a terminal with
luakit -v 2>&1 > ~/.luakit.log
and show us the whole log or the important part at the end.
Thanks Army, but it works again.
Part of a hide statusbar code was at the end of lua.rc, must have pasted it there by accident.
Offline
el mariachi wrote:Is pcmanfm/thunar your ONLY file-manager? All the browsers do what you want here with pcmanfm. Just make sure you have only one file-manager installed so that it becomes the xdg predefined file-manager.
Ok I had both, thunar and pcmanfm, so I removed thunar but it still open the same window that firefox (or ahy gtk application open).
Is there a way to force it in opening something I want?
I second this question. Trying to find the right image to upload is tedious without thumbnails and random image-names.
Offline
Hi, I just installed Arch 64bit on my brother's old Macbook Pro v3. I compiled luakit-git with luajit2 like I did on my old i686 machine. It worked on the i686 one, but with 64bit luakit doesn't work with luajit2, it works fine with lua. Can anyone confirm this? There's no log etc, it just segfaults.
Offline
Hi, I just installed Arch 64bit on my brother's old Macbook Pro v3. I compiled luakit-git with luajit2 like I did on my old i686 machine. It worked on the i686 one, but with 64bit luakit doesn't work with luajit2, it works fine with lua. Can anyone confirm this? There's no log etc, it just segfaults.
Can you use gdb to get a backtrace, that should narrow the issue down a bit.
Offline
Ok, the output is short
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff58c3f7f in ?? () from /usr/lib/libluajit-5.1.so.2
Offline
Army
No (apparent) issues here with luajit2 and luakit-git on x86_64
PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.
Offline
Ok, I found out what caused this. I changed the CFLAGS in /etc/makepkg.conf to (among others) -O3. I've been compiling stuff with -O3 on i686 for a couple of months now without any problems, but on x86_64 this seems to be different. Changed it back to -O2 and everything's fine.
Offline
what's the benefit of using luajit2
Offline
HI men, i've created a black theme but i have problems on luakit: the input forms are completely black and i cannot see what i write...is there a way to fix this? For firefox i've found this how-to: http://ubuntuforums.org/showthread.php?t=1715031
Offline
HI men, i've created a black theme but i have problems on luakit: the input forms are completely black and i cannot see what i write...is there a way to fix this? For firefox i've found this how-to: http://ubuntuforums.org/showthread.php?t=1715031
Same issue here.
Offline
luakit supports custom css files via the domain_props in the globals.lua. So you could try to apply the css file from the linked thread in the "all" domains section in the domain_props. There should be an example entry in the default globals.lua. If you use the domain_props for the first time, make sure to uncomment it by removing the first --[[ and the last ]]
Offline
I've just recently started using luakit and I have some questions:
1) What is preferred way to block ads? Right now I'm using privoxy which works ok, but what options do I have?
2) Is it possible to make history start appearing right away when typing an url, rather than having to use <Tab> for it to appear?
3) Is there a scrollbar to enable?
4) Is there a buffer script available? (buffer of open tabs)
5) Follow link hints seem a bit slow when there are many links. Is this normal? I'd compare it's speed with pentadactyl, while with uzbl it happens in an instant.
6) Can I have the tab bar visible even when there's only one tab open?
I'm sure I had a few more questions which I might remember later
Last edited by sablabra (2011-11-28 00:59:18)
Offline
luakit doesn't seem to respect my XDG settings, aka; my download directory. I have XDG_DOWNLOAD_DIR=/howl/down in my .zshrc and in ~/user-dirs.dirs It keeps defaulting to my ~/ dir. I tried setting download.default_dir = /howl/down in my rc.lua after require "downloads".. but it didn't change anything either. Any ideas? Using luakit-develop-git (luakit 2011.07.22-r1-158-ga73e95e)
Offline
I tried setting download.default_dir = /howl/down in my rc.lua after require "downloads".. but it didn't change anything either.
That was almost right. You have to set it to
downloads.default_dir = /howl/down
Offline
milomouse wrote:I tried setting download.default_dir = /howl/down in my rc.lua after require "downloads".. but it didn't change anything either.
That was almost right. You have to set it to
downloads.default_dir = /howl/down
Ahhh, thanks, Army! I knew it would be too simple. I still thought it was supposed to do XDG dirs but maybe I'm wrong.
Last edited by milomouse (2011-11-28 16:29:46)
Offline
Just in case anyone's interested: On the mailing list there are some nice things going on. I asked for a possiblity to add something to the url for specific domains, e.g. add "&html5=1" to youtube urls. I want to use html5 on youtube without the need of enabling cookies.
This can be done with
webview.init_funcs.youtube_appender = function (view, w)
view:add_signal("navigation-request", function (v, uri)
if string.match(uri, "youtube%.com/watch%?v=") and not string.match(uri, "&html5=1") then
v.uri = uri .. "&html5=1"
return false
end
end)
end
Then I thought, something like this might be required to force https for specific sites (like the AUR)
webview.init_funcs.https_enforcer = function (view, w)
view:add_signal("navigation-request", function (v, uri)
if string.match(uri, "aur.archlinux.org") and not string.match(uri, "^https://") then
v.uri = string.gsub(uri, "^http", "https")
return false
end
end)
end
Thanks to Karottenreibe for coding this! I can only provide ideas, looks like some of them are good ones
Then another user used this to create a mailto hook for mutt with urxvtc (adjust it to what you use)
webview.init_funcs.mailto_hook = function (view, w)
view:add_signal("navigation-request", function (v, uri)
if string.match(uri, "^mailto:") then
local cmd = string.format("%s %q", "urxvtc -title mutt -e mutt", uri)
luakit.spawn(cmd)
return false
end
end)
end
Guys, this browser is SO great and I really really love it! Thanks so much Mason for creating it and Karottenreibe for your great support!!!
Last edited by Army (2011-11-29 18:37:06)
Offline
Just in case anyone's interested: On the mailing list there are some nice things going on. I asked for a possiblity to add something to the url for specific domains, e.g. add "&html5=1" to youtube urls. I want to use html5 on youtube without the need of enabling cookies.
This can be done withwebview.init_funcs.youtube_appender = function (view, w) view:add_signal("navigation-request", function (v, uri) if string.match(uri, "youtube%.com/watch%?v=") and not string.match(uri, "&html5=1") then v.uri = uri .. "&html5=1" return false end end) end
[...]
Nice idea, though having it as a "modify_url"-module would be better, ie something like
#mode regex string
pre somesite.org https
aft foobar.baz ?foo=bar
Offline
Could you translate that into lua?
Offline
Could you translate that into lua?
//Wie meinen?
If I could write that down as actual code? Well, I'm not that "fit" in Lua, yet, so I'll try a mix of Lua and pseudo-code.
urls_to_change = { youtube.com = { "after", "&html5=1 }, domain.tld = { "pre", "https://" } }
if current_uri in urls_to_change
then
if urls_to_change[current_uri][1] == "after"
then
return current_uri .. urls_to_change[current_uri][2]
elseif urls_to_change[current_uri][1] == "pre"
return urls_to_change[current_uri][2] .. current_uri
end
So, your snippet was specifically for one task/url, I'd like it to be more generic, getting the values/settings for different URIs from a table or a plain text file, so there's no need to write so much code over and over again.
Offline
On youtube with html5 enabled, there's no playback control with webkit based browsers. I only see the video screen, I can toggle playback by clicking on the video, but that's it. With firefox everything looks normal, it looks like the flash player.
Is this the same on your side?
Offline
Wich method of ad blocking is best working now?
With privoxy I've got just blank pages, long adblock.lua filter everything by "http://*" and I have no idea, how to convert easylist to adblock.blacklist.
Any recommendation? Or maybe some help with user.action or regexp for manual convert of easylist? I would convert easylist to adblock.blacklist, but need some hint about necessary changes.
Offline
I use https://gist.github.com/1073680 and then use a VERY ugly script, because I'm really a noob when it comes to programming. I'll share anyway
#!/bin/bash
cd /home/$HOME/.config/luakit
mv adblock.blacklist adblock.blacklist.old
wget http://winhelp2002.mvps.org/hosts.txt
tail -n +30 hosts.txt > adblock.blacklist
rm hosts.txt
cat adblock.blacklist|cut -d \# -f 1 > hosts
mv hosts adblock.blacklist
sed 's/127.0.0.1//g' -i adblock.blacklist
sed 's/ //g' -i adblock.blacklist
sed '/^$/d' -i adblock.blacklist
cat adblock.blacklist.custom >> adblock.blacklist
sed 's/\./%\./g' -i adblock.blacklist
#sed 's/\*/%\*/g' -i adblock.blacklist
dos2unix adblock.blacklist
I know this will hurt some of you in the eyes, but it works, that's all I want
The adblock.blacklist.custom is for sites that aren't in this host file.
Using such a host file of course isn't the best way, because host files are REALLY a mess for adblocking. I'd love to know a better way to get a good list. Converting adblock-plus lists to lua compatible syntax would be the best I guess, but that's beyond my capabilities!
Offline