You are not logged in.
Anyone managed to build the latest webkit? Supposedly the gif problem is solved in webkit 1.3.10. It needs glib version >= 2.2.7.90 to build.
Offline
look back a few posts, there's a link to gitorious about a fix in 1.2.7 via patch. but yes, i've build 1.3.[10-12] though they don't seem very stable. i'm using 1.3.9 right now which seems to be a good medium for stability and bug fixes (including gifs). try gnome-unstable repo for newer glib versions, if you like, that's what i did.
Last edited by milomouse (2011-03-12 02:52:56)
Offline
thanks milo, building now.....
ok I ended up just upgrading everything in gnome-unstable, which included webkit 1.3.12-1
now luakit says this:
luakit: error while loading shared libraries: libwebkit-1.0.so.2: cannot open shared object file: No such file or directory
that file does exists in /usr/lib though. getting these errors in a number of places, probably should've gone with that gitorious patch
Last edited by r6 (2011-03-12 03:50:51)
Offline
r6 I didn't use the gitorious and just have gnome-unstable:
ever thing works well here... using luakit-develop-git.
1) what 'flavor' of luakit are you using?
2) did you rebuild it AFTER upgrade of gnome-unstable/libwebkit ??
PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.
Offline
Yes I did rebuild luakit - no dice. I don't think the problem was luakit, something was wrong with lib files generally in gnome-unstable. Thunar also wouldn't load saying libnotify was missing. It's ok now, I've removed gnome-unstable and downgraded everything back to normal. This webkit version (1.2.7-1) is perfectly fine for me.
Offline
Thanks for answering my previous questions. Another, if I may:
Is there a way of <not> writing browsing history and <not> writing cookies for a session? Do I need to run luakit in a sandbox and/or move sqlite files as a work-around? Somewhat looking for the same behavior as Firefox's private browsing (not the same as webkits).
Edit: I guess I could use a different config file, one without require {cookies,history}?
Last edited by milomouse (2011-03-14 05:54:52)
Offline
Thanks for answering my previous questions. Another, if I may:
Is there a way of <not> writing browsing history and <not> writing cookies for a session? Do I need to run luakit in a sandbox and/or move sqlite files as a work-around? Somewhat looking for the same behavior as Firefox's private browsing (not the same as webkits).
Edit: I guess I could use a different config file, one without require {cookies,history}?
That's correct, if you don't like a feature just un-require it in your rc.lua. Though I admit we do need some kind of integration with private browsing mode, I'll look into it today (though from the get-go we can only guess which cookies belong to which webviews without tracking each navigation request).
Offline
Mason, sometimes links are opening in a new window instead of a new tab. eg. if I click a link on Reddit (with the mouse or F), it seems to randomly open either a new tab or a new window. "Open Link in New Window" from the context menu seems to always open in a tab, though.
Last edited by r6 (2011-03-14 06:51:33)
Offline
milomouse wrote:Thanks for answering my previous questions. Another, if I may:
Is there a way of <not> writing browsing history and <not> writing cookies for a session? Do I need to run luakit in a sandbox and/or move sqlite files as a work-around? Somewhat looking for the same behavior as Firefox's private browsing (not the same as webkits).
Edit: I guess I could use a different config file, one without require {cookies,history}?That's correct, if you don't like a feature just un-require it in your rc.lua. Though I admit we do need some kind of integration with private browsing mode, I'll look into it today (though from the get-go we can only guess which cookies belong to which webviews without tracking each navigation request).
Good deal, and thanks for the info and spark of initiative. If anything develops drop me a line. I'll continue to watch the commits for this and other tidbits such as cookie whitelisting like you and Army spoke of briefly. In the meantime I've been using Privoxy to manage my cookies, for the most part. No pressure or hurry or anything, I realize you have multiple projects and priorities and concerns, ideas, etc. Just keeping my 2 cents in the honeypot while development is quite active and seemingly open to ideas from users.
Quick question in the meantime: After downloading something, say a *.pdf file in my case, I was curious as to the 'o[pen]' option in the downloads list and typed 'o' while focused on the PDF, causing luakit to segfault without any other error message. I ran it in cgdb and tried the same thing (opening a finished download from downloadlist) with a PDf and a PHP file, both resulting in:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2adbc81 in strlen () from /lib/libc.so.6
Do you think it's glibc's fault and/or does luakit use a mailcap file or does it try to open files inside luakit itself, or what? I'll poke around some files while I await your response. Appreciative, as always.
Offline
Quick question in the meantime: After downloading something, say a *.pdf file in my case, I was curious as to the 'o[pen]' option in the downloads list and typed 'o' while focused on the PDF, causing luakit to segfault without any other error message. I ran it in cgdb and tried the same thing (opening a finished download from downloadlist) with a PDf and a PHP file, both resulting in:
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff2adbc81 in strlen () from /lib/libc.so.6
Do you think it's glibc's fault and/or does luakit use a mailcap file or does it try to open files inside luakit itself, or what? I'll poke around some files while I await your response. Appreciative, as always.
I tried to reproduce that with the latest develop but I couldn't. Fixed a bug, though, with lib/downloads.lua that kept outputting harmless error messages when the mime type of a file was nil. Submitted that to the mailing list.
Offline
Can't get adobe flash working in luakit. I am running Gentoo with luakit from normal ebuild.
Fetched the latest prerelease from Adobe and installed to /opt/Adobe/flash-player/libflashplayer.so without succes , anyone? Luakit is my only installed browser!
Offline
Can't get adobe flash working in luakit. I am running Gentoo with luakit from normal ebuild.
Fetched the latest prerelease from Adobe and installed to /opt/Adobe/flash-player/libflashplayer.so without succes , anyone? Luakit is my only installed browser!
I guess webkit simply doesn't look for the libflashplayer.so in this directory. Make sure it's installed where all other mozilla plugins are stored (/usr/lib/mozilla/plugins/ in Arch). A symlink would be sufficient as well.
Last edited by Army (2011-03-17 13:37:03)
Offline
I tried different directories without succes (I ran the pkgbuild from Arch on my box)...
Offline
I'm not familiar with Gentoo's directory structures as well, but this bug report suggests it needs to go to /opt/netscape/plugins/libflashplayer.so?
I think I've also seen ~/.mozilla/plugins some time, but I'm not sure. On 64bit systems it might also need to go somewhere in /usr/lib32 IIRC, but using flash on 64bit is suicidal anyways^^
anyways, if all else fails, you could install firefox, install the flash plugin, and then `find /` for libflashplayer.so
Offline
By the way, luakit creates ~/.config/luakit on "first start" but uses $XDG_CONFIG_HOME which can be set to something else. I only noticed this because I don't have anything else in ~/config, except luakit, which keeps popping up but is never used (my config dir is set somewhere else and is respected by luakit, just wish this ~/.config/luakit dir would stop being created). If I'm somehow doing something wrong, please let me know, otherwise it would be nice if this could be fixed [whenever] if only to keep home dir clean.
Offline
By the way, luakit creates ~/.config/luakit on "first start" but uses $XDG_CONFIG_HOME which can be set to something else. I only noticed this because I don't have anything else in ~/config, except luakit, which keeps popping up but is never used (my config dir is set somewhere else and is respected by luakit, just wish this ~/.config/luakit dir would stop being created). If I'm somehow doing something wrong, please let me know, otherwise it would be nice if this could be fixed [whenever] if only to keep home dir clean.
Seems strange. The path ~/.config/luakit isn't hardcoded anywhere, we get it from glib's g_get_user_config_dir function. And it shouldn't be created if your $XDG_CONFIG_HOME is set to somewhere else.
Could you run luakit from a terminal and run the command `:lua print(luakit.config_dir)` to see that your $XDG_CONFIG_DIR has been set correctly.
Offline
@mason: Hm, it shows up correctly and I don't see that directory created.. maybe it was an earlier issue with my exports. Sorry about that, everything's fine in that respect but I'm still getting the segfault trying to open files from the downloadlist (see earlier post) (i guess it checks mimetype and decides what to open(mailcap?)). I'm guessing it's a glibc (2.13) or glib2 (2.27.93) problem, maybe I'll do some downgrading again. Seems like most problems I have are not luakit's fault but only affect luakit, in terms of versioning. :f Will report back if I'm able to fix this somehow.
Upate: Downgraded absolutely everything and recompiled accordingly, also tried with pre-built Arch packages and started without any user configuration and I still get the segfault when pressing 'o' on a download in downloadlist. Now I'm confused, but guess I can live without that feature for now as I never used it before anyway, only discovered it when testing all the features out of curiosity, everything else works great for me. Maybe that one issue will automagically fix itself in the future during package upgrades.
Last edited by milomouse (2011-03-22 10:53:46)
Offline
The follow_js interface, in some aspects, isn't as good as it used to be, imo. Numbers now start with 0, and numbers don't update as you type url links.
Offline
@Berticus: Have you tried setting some values such as "sort_labels = false" and "reverse_labels = false"? Cleans it up for me, and numbers update as I type.
Offline
@milomouse, yeah both are set to false. Well, I included them in ~/.config/luakit/lib/follow.lua, do I have to change it in /usr/share/luakit/lib/follow.lua?
---Edit---
also tried changing /usr/share/luakit/lib/follow.lua, didn't make a difference.
Last edited by Berticus (2011-03-24 06:07:22)
Offline
@Berticus: Strange; make sure you install the newest version (luakit-develop-git is what I'm using): https://github.com/mason-larobina/luaki … follow.lua (file: 2011-03-10) I just have that file in ${XDG_CONFIG_DIR}/luakit/follow.lua with both set to false and all is well. Not sure what else to say about it.
Offline
Just wondering if there's a way to have the tab bar visible even if there's only one tab open (ie always). I don't like the 'jitter' when I open and close new tabs (especially when I'm searching through google results).
I tried to find a function in the configuration files, but couldn't find anyhing.
Thanks
Offline
Just wondering if there's a way to have the tab bar visible even if there's only one tab open (ie always). I don't like the 'jitter' when I open and close new tabs (especially when I'm searching through google results).
I tried to find a function in the configuration files, but couldn't find anyhing.Thanks
The responsible function is update_tablist in config/window.lua. If you comment the following line:
if #tabs < 2 then tabs, current = {}, 0 end
the tablist will always be visible.
The following patch will add the global always_show_tablist to control that behavior from your globals.lua
From 6f3bd34d421e7d574d7e379817404a47b2e8ff52 Mon Sep 17 00:00:00 2001
From: karottenreibe <k@rottenrei.be>
Date: Sat, 2 Apr 2011 11:18:53 +0200
Subject: [PATCH] added global switch to always show tablist
---
config/globals.lua | 1 +
config/window.lua | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/config/globals.lua b/config/globals.lua
index 8a4d567..89ffe1b 100644
--- a/config/globals.lua
+++ b/config/globals.lua
@@ -8,6 +8,7 @@ globals = {
max_srch_history = 100,
-- http_proxy = "http://example.com:3128",
default_window_size = "800x600",
+ always_show_tablist = true,
-- Disables loading of hostnames from /etc/hosts (for large host files)
-- load_etc_hosts = false,
diff --git a/config/window.lua b/config/window.lua
index 91c14e9..2274a91 100644
--- a/config/window.lua
+++ b/config/window.lua
@@ -548,7 +548,7 @@ window.methods = {
}
end
- if #tabs < 2 then tabs, current = {}, 0 end
+ if #tabs < 2 and not globals.always_show_tablist then tabs, current = {}, 0 end
w.tablist:update(tabs, current)
end,
--
1.7.4.2
Offline
Legend!
Thanks heaps, mate :-)
Offline
I am using luakit edf2fb5 on Debian Sqeeze. I'd like to load an user stylesheet. Tryed to put it in globals.lua like this :
["user-stylesheet-url"] = "file://" .. luakit.data_dir .. "/default.css", and in full path also. My .css is in /usr/share/luakit/lib .
The stylesheet is not loaded. Can anyone help me ( absolutle noob) how to enable user stylesheets in luakit ?
Thnx
Offline