Re: [SLUG] firefox is seriously dragging

From: Eben King (eben01@verizon.net)
Date: Fri Jul 17 2009 - 13:30:28 EDT


On Fri, 17 Jul 2009, Eben King wrote:

> On Fri, 17 Jul 2009, Eben King wrote:
>
>> On Fri, 17 Jul 2009, Shawn J. Goff wrote:
>
> [bookmarks.js]
>
>>> That is JSON, a form of Javascript object literal. You could pull out
>>> everything with "http..." to get all the urls.
>>
>> Yeah, there's over 3000 of them. It includes each tab's history. I
>> thought of parsing the file programmatically enough to extract them that
>> way.
>>
>>> There is also a "Bookmark All Tabs" function under the bookmarks menu.
>>> This will create a bookmark folder with all your open pages in there.
>>
>> Good, I'll see if that works. It might require that the tabs be loaded
>> before it bookmarks them, which puts me back where I started. Wait, does
>> that only apply to the tabs in that window? I suspect it does.
>
> It does. It doesn't wait for loading to complete, but it only bookmarks
> those tabs which are loaded fully.
>
> I think I see how the file's structured:
>
> ({
> windows:
> [(
> tabs:
> [(
> entries:
> [(
> url: "http://whatever"
> title: "Whatever"
> ...
> )]
> )]
> )]
> })
>
> Extra spaces and linefeeds added for clarity. Whitespace is generally
> ignored by compilers. And I still don't know how to make a computer parse it
> enough to extract each tab's URL. Maybe a two-RE sed command or several of
> them as part of a big one-liner?

Further clues: gnome-terminal and gthumb don't run, they hang before drawing
the window. Maybe a library they share is hosed? Lemme try the other
binaries in the XFCE menu to see which ones successfully draw a window ...
OK, everything accessible from the menu works except for:

gnome-terminal
gthumb
xawtv

It seems they all three share linux-vdso.so.1 . How can I find out if
anything else uses that library? ldd everything | grep?

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   http://royalty.mine.nu:81

Hanlon's Razor: "Never attribute to malice that which can be adequately explained by stupidity." Derived from Robert Heinlein ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:36:50 EDT