You are not logged in.
Great browser, but I am experiencing slow website loading, don't know why pages sometimes stop at 10% for a moment, or at 60%, but sometimes they load in a normal time. It's usual when I open luakit first time after reboot. Do you guys have any idea what can cause this strange behaviour?
Offline
I have some questions :
How to enable developer tool in luakit
Can I have the feature : open the last opened tab like the other browser
Where do I find doc for "component" like form filler ?
I'm not familiar with lua. I try to change the user_agent in globals.lua to make calendar.google.com display fine with Firefox useragent but it doesn't work. This is my try
globals.useragent = "Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox /6.0"globals.useragent = "Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0"
Thanks for reading this, and luakit is very fast indeed
Last edited by nXqd (2011-08-27 11:37:40)
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
Can I have the feature : open the last opened tab like the other browser
pressing "u" opens the last closed tabs
I'm not familiar with lua. I try to change the user_agent in globals.lua to make calendar.google.com display fine with Firefox useragent but it doesn't work. This is my try
globals.useragent = "Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox /6.0"globals.useragent = "Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0"
Try this:
globals.useragent = string.format("Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0")
Edit:
How to enable developer tool in luakit
That's not implemented. you can only view the sourcecode with :viewsource
Last edited by bratmaxe (2011-08-27 12:28:10)
Offline
Try this:
globals.useragent = string.format("Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0")
Just to be sure he understands it, this line must go into the globals.lua. Just take a quick look into this file, you'll see another user agent already in this file. Comment this (in lua this is done with a -- at the beginning of the line) and put the above line in there instead.
Offline
Just switch from jumanji to luakit. I hope this will be better. Figuring out how to open developer tool in luakit
I think it's not quite implemented yet. I found some work on it by Fabian Streitel, but I'm not sure how far that has gotten.
Fear me! I have root! Sometimes...
Offline
Great browser, but I am experiencing slow website loading, don't know why pages sometimes stop at 10% for a moment, or at 60%, but sometimes they load in a normal time. It's usual when I open luakit first time after reboot. Do you guys have any idea what can cause this strange behaviour?
I've had some strange connection behavior with luakit of late, going as far as killing my router sometimes. But while I think connections are handled internally by libwebkit, this only happens when I'm using luakit. Strange.
Fear me! I have root! Sometimes...
Offline
pressing "u" opens the last closed tabs
I mean the whole tabs which I opened. Then other time, I open luakit and it will appear
Thanks for your answer
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
Ah ok, then press "ZZ" to close luakit. This will save your session and open it next time. If you want this to happen automatically every time you close luakit, take a look at this post: https://bbs.archlinux.org/viewtopic.php … 55#p916355
Offline
I read a lot of news via google news. A new tab opens when I click a link. After reading I would press "d" to close the tab. The problem is that luakit defaults to the next tab (on the right) whereas I would prefer it to return to the previous tab I was at, wherever that may be; in this case, the one where google news is. Actually this behaviour makes more sense. Is this possible? If not at least return to the "parent" if there is one, or the previous tab (to the left). I thought I could achieve this by making tabs open adjacent to the "parent" but when the child is closed it still defaults to the next tab. Right now my only solution is to make sure google news is the last tab.
Last edited by stryder (2011-08-28 09:46:13)
Offline
I was thinking of this as well, maybe it's best to file this in the bugtracker as a feature request.
Offline
I use luakit fullscreen so I don't have a clock. Is it possible to have a clock at the bottom left? (next to the page scrolled percentage?)
Offline
I use luakit fullscreen so I don't have a clock. Is it possible to have a clock at the bottom left? (next to the page scrolled percentage?)
just curiousity, where is that clock actually in luakit ?
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
There isn't a clock in luakit, I was just asking if there was a way to add one. I don't know Lua, that's why I'm asking. Please don't see this as a feature request (it's a stupid feature) -- if it can be done by me pasting some lines into a file cool, if it's troublesome just forget I asked for this
actually.. just forget about it, I found a way to solve this little inconvienience in my actual desktop
Last edited by el mariachi (2011-08-28 17:59:20)
Offline
actually.. just forget about it, I found a way to solve this little inconvienience in my actual desktop
Dare to tell us what you did?
To know or not to know ...
... the questions remain forever.
Offline
TWMN
I haven't done it yet (no time now to fiddle with code by myself), but it seems a good way to check the time/date. just create a key combination to make it popup (or slide) and ta-daah
Maybe it's overkill for a stupid clock, but i want 100% of my screen real estate.
Offline
domain_props = { --[[
["all"] = {
["enable-scripts"] = false,
["enable-plugins"] = false,
["enable-private-browsing"] = false,
["user-stylesheet-uri"] = "",
},
["youtube.com"] = {
["enable-scripts"] = true,
["enable-plugins"] = true,
},
["bbs.archlinux.org"] = {
["user-stylesheet-uri"] = "file://" .. luakit.data_dir .. "/styles/dark.css",
["enable-private-browsing"] = true,
}, ]]
["http://useragentstring.com/"] = {
["user-agent"] = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.7 Safari/535.1",
},
}
Is there something wrong with this that I don't see? I mean most of it is commented. I really only care about the last 3 or 4 lines.
Last edited by phynix (2011-08-29 01:39:07)
Offline
@phynix, are you sure that this actually works? I mean setting the user-agent for specific domains. I'll have to try this!
Last edited by Army (2011-08-29 08:55:17)
Offline
Haven’t checked the sources, but I bet you have to take “domain” literally. That is, use “useragentstring.com” instead of “http://useragentstring.com/”.
Offline
@Army I just assumed. I followed this http://webkitgtk.org/reference/WebKitWebSettings.html in globals.lua. Note: original link in the file is wrong (404) though. As you can see though something I am doing isn't right. Most sites don't even need it, but the two I have found are plus.google.com and grooveshark.com. The latter just posts an annoying "your browser is outdated" message.
@Vain Changed => same results sadly.
Last edited by phynix (2011-08-29 22:56:57)
Offline
I use luakit fullscreen so I don't have a clock. Is it possible to have a clock at the bottom left? (next to the page scrolled percentage?)
Sorry for the late reply but adding a clock to the statusbar is really simple. You can use this if you're not already happy with your WM solution:
https://gist.github.com/1180520
Last edited by mason.larobina (2011-08-30 09:45:28)
Offline
I'm using the "big" browsers currently (Firefox, sometimes Chromium). But I also had a look at luakit. In a way I find it very nice. But for me to switch to luakit full-time, I'm afraid I'll flood you with feature requests . Though I suppose I can mention a few, see what comes of it.
To start, the possibility to delete specific items from the history. Preferably from the menu. Like say, I do :tabopen blah<tab> and results show up. Now instead of just moving through the results and opening one, it would also be possible to delete one. And no, this isn't about hiding porn . It's about having it so that the most relevant results quickly pop up.
Second, when it comes to browsing, I'm still much of a mouse guy, so I'd like at least two things. One is that using the mouse wheel above the tabbar would switch between tabs. I see it was mentioned earlier in this thread, but there are some technical difficulties, is it still not possible?
The other thing is autoscroll. I use that a lot. Someone posted a script for dwb, any takers adapting that to luakit? I found a script that activates autoscroll with a keyboard shortcut and then one controls the speed of scrolling via keys. That is cool, but I'd still prefer mouse autoscroll.
Then we come to bookmarks. I'd like that bookmarks would store not just the url, but also the page title. I suppose storing bookmarks in a database (like history is) instead of just a simple text file would be in order? Then I'd like a nicer presentation in luakit://bookmarks, though possibly I could easily adjust some file that determines the look of that page? Basically, I'd like bookmarks to be a lot more like history is currently.
Hmm, would a request for storing and showing favicons in history/bookmarks (and maybe even on tabs) be taking it too far, considering luakit is meant to be a minimalist browser? There's a script to show the favicon as the application icon, it's quite cool.
Finally, spell-checking. Is luakit capable of it? It's a feature if webkit, luakit would just need to hook into it and provide a frontend.
That's it for now. Feel free to ignore . It's just that the big problem is, figuring out how to code some of the stuff myself would take a looooong time, with no guarantee I would ever gain enough knowledge to do it. I dabble in simple modifications of existing stuff, I've never before created something really new from scratch.
Offline
About the bookmarks, maybe some people don't know this, but it's possible to group them. If you type "B" and then after a link add a word, e.g.
:bookmark https://bbs.archlinux.org/viewtopic.php?pid=983863 Archlinux
:bookmark https://bbs.archlinux.org/viewtopic.php?id=125310 Archlinux
These two links will be grouped. Check it out, you'll see how it works. I really like this feature! But I guess you are right about the title. What about not actually putting the link into the bookmarks page, but the title as a hyperlink. That way it still looks clean and the above feature remains.
Offline
I'm playing with dwb right now. Wow, that thing has a lot: favicons in tabs, a gui to set options, spell-checking, bookmarks that work as Army describes - a clickable page title... who knows what else I'll discover. Oooh, I see a flash blocker. Hmm, maybe dwb will be the thing for me.
Offline
@Army Did you figure it out?
Offline
This user-agent thing in domain_props doesn't seem to work here...
Offline