You are not logged in.

#1076 2013-04-07 12:24:27

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 324

Re: luakit browser framework (almost with jQuery!)

I have been using luakit for a while & I must say i love it smile 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 sad

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

#1077 2013-04-07 12:41:29

arkindal
Member
From: 127.0.0.1
Registered: 2009-09-01
Posts: 37

Re: luakit browser framework (almost with jQuery!)

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

#1078 2013-04-13 03:27:15

ObliviousGmn
Member
Registered: 2011-09-14
Posts: 49
Website

Re: luakit browser framework (almost with jQuery!)

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.

Last edited by ObliviousGmn (2013-04-13 03:27:59)

Offline

#1079 2013-04-13 04:33:12

arkindal
Member
From: 127.0.0.1
Registered: 2009-09-01
Posts: 37

Re: luakit browser framework (almost with jQuery!)

ObliviousGmn wrote:
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

#1080 2013-04-14 18:14:31

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 324

Re: luakit browser framework (almost with jQuery!)

arkindal wrote:

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  smile


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

#1081 2013-04-14 18:16:11

arkindal
Member
From: 127.0.0.1
Registered: 2009-09-01
Posts: 37

Re: luakit browser framework (almost with jQuery!)

I hope it does, I'll try it asap, thanks!

Offline

#1082 2013-04-19 14:58:39

anur
Member
Registered: 2012-10-18
Posts: 7

Re: luakit browser framework (almost with jQuery!)

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

#1083 2013-04-23 14:11:24

shariebeth
Member
From: South Florida
Registered: 2010-04-27
Posts: 77

Re: luakit browser framework (almost with jQuery!)

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

#1084 2013-04-23 17:07:37

bootleg
Member
Registered: 2010-12-08
Posts: 38

Re: luakit browser framework (almost with jQuery!)

Same problem here since the last update, though I have no dmesg messages.

Offline

#1085 2013-04-24 08:34:24

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

shariebeth wrote:

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

#1086 2013-04-24 08:39:07

portix
Member
Registered: 2009-01-13
Posts: 757

Re: luakit browser framework (almost with jQuery!)

That seems to be a bug in the latest webkitgtk-package, it happens with all browsers that use webkitgtk2.

Offline

#1087 2013-04-24 16:33:47

shariebeth
Member
From: South Florida
Registered: 2010-04-27
Posts: 77

Re: luakit browser framework (almost with jQuery!)

portix wrote:

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. wink
I'll try to downgrade and if that doesn't work, wait for the upstream fix.

Offline

#1088 2013-04-24 16:37:37

portix
Member
Registered: 2009-01-13
Posts: 757

Re: luakit browser framework (almost with jQuery!)

It's not a bug in webkitgtk but in the new nvidia driver, using nouveau works here.

Offline

#1089 2013-04-24 17:23:31

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

portix wrote:

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

#1090 2013-04-26 09:27:25

LuX
Member
From: France
Registered: 2010-06-14
Posts: 79

Re: luakit browser framework (almost with jQuery!)

Hello!

I'm a new user of luakit and I'm looking for the same functionnality as this one:

xConStruct wrote:
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

#1091 2013-04-28 05:04:54

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

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

#1092 2013-04-28 05:19:56

shariebeth
Member
From: South Florida
Registered: 2010-04-27
Posts: 77

Re: luakit browser framework (almost with jQuery!)

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.

Offline

#1093 2013-04-28 05:39:35

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

shariebeth wrote:
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

#1094 2013-04-28 17:36:14

shariebeth
Member
From: South Florida
Registered: 2010-04-27
Posts: 77

Re: luakit browser framework (almost with jQuery!)

Ambrevar wrote:

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 smile
(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)



richli wrote:

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

#1095 2013-05-08 15:16:04

wotton
Member
Registered: 2013-05-07
Posts: 3

Re: luakit browser framework (almost with jQuery!)

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

#1096 2013-05-27 14:53:37

akbjker
Member
Registered: 2012-03-12
Posts: 13

Re: luakit browser framework (almost with jQuery!)

Does anyone know what happened to mason.larobina? It's been months since the last luakit commit.

Offline

#1097 2013-05-28 10:05:50

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

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

#1098 2013-06-28 10:01:28

parthenopaios
Member
Registered: 2009-06-30
Posts: 10

Re: luakit browser framework (almost with jQuery!)

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

#1099 2013-07-12 00:23:40

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: luakit browser framework (almost with jQuery!)

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

#1100 2013-07-14 20:13:07

ObliviousGmn
Member
Registered: 2011-09-14
Posts: 49
Website

Re: luakit browser framework (almost with jQuery!)

milomouse wrote:

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.

Offline

Board footer

Powered by FluxBB