You are not logged in.
I have been using luakit for a while & I must say i love it but I just a have a couple of issue's :
1) I can't get userscripts to work without crashing the browser, I have no programming skills & do not know where to start looking into this.
2) all input boxes & drop down menu's are black with black text even though I have editied the theme.lua to the following:
theme.ibar_bg = "#000"
what am i doing wrong here? can anyone give me some pointers?
I have searched this thread but have not found an answer for #2 here or on google & with regards to #1 I just end up coming back here but everything I try does not work
EDIT:
yes I do use a dark gtk theme:
Delorean-Dark-Theme 3.6_2.56
EDIT 2
#2 I thought I had solved itby adding the following to ~/.local/share/luakit/styles/custom.css:
input,textarea,select {
padding: 1px;
border: solid 1px #000000;
font-size: 10pt;
color:#000000;
background-color:#ffffff;
}
but all are still black WHY!
EDIT 3:
added screenshot:
http://imgur.com/SS8hkk6
Last edited by t0m5k1 (2013-04-07 13:22:23)
ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)
If everything in life was easy, we would learn nothing!
Linux User: 401820 Steam-HearThis.at-Last FM-Reddit
Offline
I'm having an annoying problem with google homepage and maybe few more pages.
I have a dark gtk theme, the google search bar is black, the text on it is black. Only on the homepage tho, when I start a search the search box in the result page is white.
Probably few more pages have this issue but I didn't find any yet.
What could I do?
Offline
I'm having an annoying problem with google homepage and maybe few more pages.
I have a dark gtk theme, the google search bar is black, the text on it is black. Only on the homepage tho, when I start a search the search box in the result page is white.
Probably few more pages have this issue but I didn't find any yet.
What could I do?
Have you tried switching GTK themes to see if that's causing it? If so.. You'll either have to get your hands dirty and try to change colors with in the GTK theme you want to use or find another suitible theme.
Last edited by ObliviousGmn (2013-04-13 03:27:59)
- The Github -
Offline
arkindal wrote:I'm having an annoying problem with google homepage and maybe few more pages.
I have a dark gtk theme, the google search bar is black, the text on it is black. Only on the homepage tho, when I start a search the search box in the result page is white.
Probably few more pages have this issue but I didn't find any yet.
What could I do?Have you tried switching GTK themes to see if that's causing it? If so.. You'll either have to get your hands dirty and try to change colors with in the GTK theme you want to use or find another suitible theme.
Yes, the issue is the gtk theme, I also tried to change colors but I can't find out which part is the right one and I also think I'd fuck up other things.
What I'm wondering is, isn't there a way to tell luakit not to use the gtk theme and force it to use another one?
Offline
What I'm wondering is, isn't there a way to tell luakit not to use the gtk theme and force it to use another one?
I should have remembered this at the beginning but alas my memory has a sieve function enabled!!
prefix the shortcut with:
env GTK2_RC_FILES=/usr/share/themes/<name of theme>/gtk-2.0/gtkrc
I use this:
env GTK2_RC_FILES=/usr/share/themes/Arch-Dark/gtk-2.0/gtkrc luakit
which provides a dark theme so the google search bar is dark grey with black text & the command bar has a white background.
thanks for assisting my recall & I hope this sorts your issue out
ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)
If everything in life was easy, we would learn nothing!
Linux User: 401820 Steam-HearThis.at-Last FM-Reddit
Offline
I hope it does, I'll try it asap, thanks!
Offline
Hi all, I made a first try to make friendly tab listing with dmenu.
Please any comments and ideas are welcome.
I need some info about windows position and size retrival.
screnshot: http://imgur.com/0tZX1Fp
code:
local ipairs = ipairs
local table = table
local string=string
local io =io
local lousy = require "lousy"
local key = lousy.bind.key
local escape = lousy.util.escape
-- Add key binds.
local buf = lousy.bind.buf
add_binds("normal", {
key({"Mod4"},"b", function (w)
local cur = w.tabs:current()
local list =""
for i, view in ipairs(w.tabs.children) do
list= list .. w.tabs:indexof(view) .. " " .. escape(view.title) .. "\n"
end
local dmenu='dmenu -l 10 -fn "Droid-10" -w 600 -x 100 -y 100 -p "Tabs:" -b -t'
local fh=io.popen("echo '" ..list .. "' |" .. dmenu .." | awk '{print $1}'","r")
local sel=fh:read("*a")
if string.match(sel, "[0-9]")
then
w.tabs:switch(sel)
else
w.tabs:switch(cur)
end
end),
})
Offline
I have just recently changed computers and have gone from a 32 bit to a 64 bit, so now have a fresh install of Arch with systemd. Yesterday I installed a new fresh version of luakit as well. I can't get it to load.
It appears to be hanging on the rc.lua file. gdb hangs as well on loading the rc.lua file.
[sb@zpro ~]$ luakit -v
[ 0.064643] D: luakit: luaH_loadrc:398: Loading rc: /etc/xdg/luakit/rc.lua
[sb@zpro ~]$ /usr/bin/luakit
Real-time signal 0
[sb@zpro ~]$
dmesg:
[ 1542.706262] luakit[511]: segfault at 8 ip 00007f1b8e89382f sp 00007fffa97a4bc0 error 4 in libGL.so.304.88[7f1b8e7f3000+ca000]
[sb@zpro ~]$ whereis libGL.so.304.88
libGL.so.304: /lib/libGL.so.304.88 /usr/lib/libGL.so.304.88 /lib64/libGL.so.304.88 /usr/lib64/libGL.so.304.88
[sb@zpro ~]$
nvidia-304xx 304.88-3
Any guidance as to how to find out what is wrong with libGL.so.304.88 would be appreciated.
Offline
Same problem here since the last update, though I have no dmesg messages.
Offline
I have just recently changed computers and have gone from a 32 bit to a 64 bit, so now have a fresh install of Arch with systemd. Yesterday I installed a new fresh version of luakit as well. I can't get it to load.
It appears to be hanging on the rc.lua file. gdb hangs as well on loading the rc.lua file.
[sb@zpro ~]$ luakit -v [ 0.064643] D: luakit: luaH_loadrc:398: Loading rc: /etc/xdg/luakit/rc.lua
[sb@zpro ~]$ /usr/bin/luakit Real-time signal 0 [sb@zpro ~]$
dmesg:
[ 1542.706262] luakit[511]: segfault at 8 ip 00007f1b8e89382f sp 00007fffa97a4bc0 error 4 in libGL.so.304.88[7f1b8e7f3000+ca000]
[sb@zpro ~]$ whereis libGL.so.304.88 libGL.so.304: /lib/libGL.so.304.88 /usr/lib/libGL.so.304.88 /lib64/libGL.so.304.88 /usr/lib64/libGL.so.304.88 [sb@zpro ~]$
nvidia-304xx 304.88-3
Any guidance as to how to find out what is wrong with libGL.so.304.88 would be appreciated.
Same error here. No dmesg output. Tried running luakit through gdb too and no output.
Offline
That seems to be a bug in the latest webkitgtk-package, it happens with all browsers that use webkitgtk2.
Offline
That seems to be a bug in the latest webkitgtk-package, it happens with all browsers that use webkitgtk2.
Thank you very much for the info, portix. You saved me a lot of hair pulling.
I'll try to downgrade and if that doesn't work, wait for the upstream fix.
Offline
It's not a bug in webkitgtk but in the new nvidia driver, using nouveau works here.
Offline
It's not a bug in webkitgtk but in the new nvidia driver, using nouveau works here.
I have an AMD system with Catalyst as my driver. And neither downgrading nor upgrading webkitgtk{2,3} has solved anything.
Offline
Hello!
I'm a new user of luakit and I'm looking for the same functionnality as this one:
AndyRTR wrote:Is there anything like the domain_props for handling how to open certain files e.g. *.pdf with epdfview and not saving them somewhere?
Currently, it's a bit more complicated.
First of all, you need to define the "open-file" signal handler.
Ref: https://bbs.archlinux.org/viewtopic.php … 35#p992435
I have applied the solutions given by xConStruct without success (copy-paste his downloads.add_signal --either separately or both of them-- in my rc.lua file after the 'require "downloads"' and 'require "downloads_chrome"' commands). Did I miss something? Did the request of AndyRTR receive another answer in the mean time?
Regards,
LuX
Last edited by LuX (2013-04-26 09:28:26)
Offline
UPDATE for luakit not starting
If you haven’t been following the discussion on Github, try changing this line in globals.lua:
-- Make useragent
-local _, arch = luakit.spawn_sync("uname -sm")
+local arch = 'x86_64'
You may need to modify both your local copy and the system-wide one.
It works for me.
Offline
UPDATE for luakit not starting
If you haven’t been following the discussion on Github, try changing this line in globals.lua:
-- Make useragent -local _, arch = luakit.spawn_sync("uname -sm") +local arch = 'x86_64'
You may need to modify both your local copy and the system-wide one.
It works for me.
It works for me! Fantastic, thank you. I hadn't even noticed anybody opened the issue in github.
Offline
zoqaeski wrote:UPDATE for luakit not starting
If you haven’t been following the discussion on Github, try changing this line in globals.lua:
-- Make useragent -local _, arch = luakit.spawn_sync("uname -sm") +local arch = 'x86_64'
You may need to modify both your local copy and the system-wide one.
It works for me.
It works for me! Fantastic, thank you. I hadn't even noticed anybody opened the issue in github.
It’s quite possibly a temporary fix because the underlying issue may have to do with multi-threading.
Offline
For all of you wondering how to get your bookmarks back from previous version in a convenient manner, I wrote a Lua script -- inspired from bookmark_migrate.lua packaged in the distfile -- to do that automatically. It is available on Arch Wiki/Luakit. Enjoy
(Do not forget to backup your bookmarks first!).
[sb@zpro scripts]$ luakit -c bookmarks_plain_to_sqlite.lua /home/sb/.local/share/luakit/bookmarks /home/sb/.local/share/luakit/bookmarks.db
I ran this script, no errors. I had renamed my old bookmarks.db file to make sure one was created. Only problem is, my bookmark page is still empty. Would this be a sqlite problem, or was I supposed to edit the script itself somewhere I didn't? (Edit: I also ran it in ~/.config/luakit directory too. XDG messes me up, sorry, I had never run into it before luakit)
From the cheatsheet, it mentions an "s" keybinding to download links, but that doesn't seem to exist. I tried both the versions of luakit from community (2012.09.13.r1-5) as well as luakit-git.
Whoops! I seem to have listed "s" for two things, download and stop page loading. And now it seems the keybinding files moved to different directories, or were renamed or something. Now that I have luakit working again, I'll poke around and try to fix that.
Last edited by shariebeth (2013-04-28 20:33:24)
Offline
Hello! I have a question about luakit, whenever I start it I get the message:
(luakit:1279): Glib-WARNING **: In call to g_spawn_sync(), exit status of a child pr
ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive firs
tly or indirectly
Is this something I should be concerned about? How should I go about fixing it?
Offline
Does anyone know what happened to mason.larobina? It's been months since the last luakit commit.
Offline
Nope. Occasionally he posts on the bug tracker, but a lot of the bug fixing is being done by another developer. There’s a development fork so we can work on it at https://github.com/luakit-crowd/, it’s slightly more unstable but more up-to-date. There’s a PKGBUILD so you can build that fork if you want.
Offline
I get 504’s when I try to access the mailing list (lists.luakit.org). Is there a place where I can ask questions of a broader scope than the issue tracker?
Offline
I still use and love `luakit'. I asked about this before but didn't get a response so I'll activate this thread again but jumping in with a feature request and/or inquiry for proposal of sorts.
The one redeeming feature I found in Firefox's `vimperator' and 'pentadactyl' was the :buffers command which showed a list of "tabs" or buffers in the statusbar with the tabnumber next to each one. In luakit I hide the tablist / tabbar because I hate the clutter, so you can see why a :buffers list would be very handy. If Mason is not actively developing the Master branch is anyone in the active luakit forks reading this and possibly care about implementing? If I knew more about Lua I would try it myself.. which I am at the moment but without luck so far. Thanks for reading.
Offline
I still use and love `luakit'. I asked about this before but didn't get a response so I'll activate this thread again but jumping in with a feature request and/or inquiry for proposal of sorts.
The one redeeming feature I found in Firefox's `vimperator' and 'pentadactyl' was the :buffers command which showed a list of "tabs" or buffers in the statusbar with the tabnumber next to each one. In luakit I hide the tablist / tabbar because I hate the clutter, so you can see why a :buffers list would be very handy. If Mason is not actively developing the Master branch is anyone in the active luakit forks reading this and possibly care about implementing? If I knew more about Lua I would try it myself.. which I am at the moment but without luck so far. Thanks for reading.
I'm actually quite interested in how you hide the tablist. I have no clue what so ever.
- The Github -
Offline