If you've ever been typing away on Gedit and needed to look for some obscure Gtk reference, then this plugin might be for you. It adds an address bar between the toolbar and main Gedit pane, along with buttons for back, forward, new tab, and, of course, go. If you are currently editing a text file and hit the go button, it'll open a new tab with the page in the address bar. The plugin makes it look like it's integrated, so that one tab could be a text document, another a web page, the next a text document, etc.
Screenshot
Download
Current version: 0.1.0.0.1rc2
You can download the plugin here. Unpack it in ~/.gnome2/gedit/plugins (the directory might not exist, so create it if neccessary) or /usr/share/gedit-2/plugins. It will show up in Gedit's list of plugins as "Web Browser."
Problems
It's not really integrated, and could conflict with other plugins that do things certain things like adding other widgets to Gedit's main VBox. Also, doing things like saving and printing the "current document" when it is actually a web page will do so to a blank document, because Gedit itself doesn't actually know about the web page.
Thursday, August 07, 2008
Subscribe to:
Post Comments (Atom)
11 comments:
This plugin sounds like it would be very useful, thanks!
However, I'm having trouble getting it to work. I get a segmentation fault when I click the new-tab button or the go arrow.
Here is some information about my system.
Distribution: Arch Linux
Gnome Release: 2.22.3 2008-07-02 (Archlinux)
BugBuddy Version: 2.22.0
System: Linux 2.6.26-ARCH #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10402000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Nodoka Wise
Icon Theme: gnome-wise
Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0
Output of custom script "/usr/libexec/gedit-2/gedit-bugreport.sh":
Active plugins:
- webbrowser
Plugins in $HOME:
- template
- webbrowser
Module versions:
- glib 2.16.5
- gtk+ 2.12.11
- gtksourceview 1.8.5
- libgnomeui 2.22.1
- libglade 2.6.2
- libgnomeprintui 2.18.2
- gnome-vfs 2.22.0
- pygobject 2.14.2
- pygtk 2.12.1
- gnome-python 2.22.1
- gnome-python-desktop 2.22.0
- enchant 1.4.2
- iso-codes 2.0
Python module versions:
- python 2.5.2
- pygtk 2.12.1 (GTK+ 2.12.11)
- gnome-python 2.22.1
Any idea what may be causing this?
Sorry, I didn't see your comment until now.
Please install `gdb` if it isn't installed. Then, run `gdb gedit`, type `run` and hit enter, and once it crashes, type `bt` and hit enter, and post the output here or on a pastebin. Thanks.
Here's the backtrace from gdb:
http://pastebin.com/m57595f74
It seems like I am missing the debugging symbols though, so I'm not sure how useful it will be. I'm trying to figure out how to install the debugging symbols on arch, I'll post again if I manage to do it.
Thanks!
I followed the directions to install this plugin, but it doesn't seem to be working correctly; the URL bar and buttons show up as they should, but when I press the go button, a mere blank document opens up. The same results when I type in a URL into the address bar and press the go button. Am I doing something wrong?
404
Great Idea. And it works for me.
The only difference from your screen shot is, it doesn't show the icons for back and forward. Clicking the place where these icons are supposed to be works all right, so the functionality is all right. In the downloaded archive, only one icon is available under webbrowser directory - internet-web-browser - Is that expected? Or is the archive incomplete? Thanks.
On another thought, I've customized my ubuntu to look as Mac - this includes customization for basic icon sets as well - could this be the reason for non appearance of your icons?
Pooja, the plugin gets the icons for all but the web icon from your current icon theme. This is done so it better fits within your desktop environment (f.e. KDE icons look out of place in GNOME), and this is what most applications do. However, from my research, most icon themes don't have a web icon, (though it could just be the few that I tested,) so I included it with the plugin so that it shows for any icon theme. AFAIK, icon themes that don't have standard icons like left, right, etc. aren't following the general standard.
To others who are having problems, making sure the libgtkmozembed library and Python bindings are installed. It's still a new library that doesn't always work, unfortunately.
Hey when I click go or press enter a new tab opens up and just says loading. Please please please help :)
well whatever the prob was it work in 9.04...love this plugin...my development as sped up so much now!!!
Hi!
I don't know where to get libgtkmozembed... I am running fedora, can you help me?
Post a Comment