GNOME Bugzilla – Bug 118618
NE: Bookmark nick names
Last modified: 2013-05-27 16:12:21 UTC
I use the keyboard as often as I can, only using the mouse when it's absolutely necessary. Nick names that Galeon has is a big help to make browsing go easier. For most search engines, that I have bookmarked as a search bookmark, I have a nick name, and also for sites I visit frequently. For instance: g google i imdb d english dictionary se swedish english dictionary de german english dictionary etc. To search for terminator on google, I press ctrl+l type "g terminator" and press return. To search for terminator on imdb, I press ctrl+l, type "i terminator" and press return. and so on for each keyword In epiphany this is, press ctrl+l, type "terminator" and then pressing down and/or up several times (depending on how many search bookmarks you have and if you have surfed to a site with the domain name terminator or not). I have now learned that searching on imdb is search phrase and four times up, but it is still very annoying. Also, for those sites I visit frequently I noticed you can start typing the beginning of the url and the most frequently visited url is on top. Very nice. However, I visit many anime sites, many whose domain name begin with the word anime, so I have to type anim and then still press down a few times. I think I have described why I would like nick names in epiphany well enough, now it's up to you say if it's worth it. I am well aware that this ui-wise would lead to an extra field in the bookmark properties called nick name (or alias or if something else is more appropriate), which most likely would confuse the normal user.
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME bug list :)
We think autocompletion + smart bookmarks from location entry autocomp window are enough ...
I'm reopening this bug because I'm hearing many complaints about missing this feature. However, I propose to implement it in a way that doesn't have to complicate the bookmark properties UI: simply use the first x unique characters of a smart bookmark name as the nickname (similar to how autocomplete works). So for example, if you have a smart bookmark called 'GNOME Bugzilla', and one called 'google scholar', entering "gn 118618" would select the former and go to this page, while 'go bookmark' would query Google scholar about bookmarks. A conflict situation like 'g' would be solved by either taking the first one in alphabetical order (GNOME bugzilla), or by checking if there's a difference in upper/lowercase (in which case 'google scholar' would come first).
This would certainily *not* suffice for me. For example, I want: cgo ---> http://cvs.gnome.org/ cgo epiphany ---> http://cvs.gnome.org/viewcvs/epiphany/ g ---> http://www.google.com/ etc. So, using only the first few characters is not enough.
Would not suffice for me either, and I don't see how adding a keyword field "complicates" anything. Other browsers have proven that to be a simple, understandable and working system, now this just makes everything hidden, mystical and well, complicated. Having a separate keyword field makes it something you add manually when you know what it means, and can safely ignore - or look up in "help" if you don't. It also means you can tweak it without having to change titles (a programmers solution if I ever saw one). I think it will only lead to unexpected behavoiur and bug reports. I also think there seems to be the danger of wanting so much not to be Firefox that the good points it has is avoided, which is unlucky. and very much against the *nix philosophy, where good things are happily copied and used. =) I also agree with Wouter, I want the double behaviour with regular bookmark contra search, and have described it in the Suggestions section on the wiki. Either allow two bookmarks (one for search, one not) to have the same keyword, and be smart about it, or allow another URL for the bookmark: URL *and* Search URL.
*** Bug 173189 has been marked as a duplicate of this bug. ***
I'm attaching an extension that's supposed to implement this feature. You specify the desired keyword to a bookmark by prefixing the URL with "%{kw:<keyword>}". If it's a smart_bookmark, additional arguments to the keyword will be used as the bookmark's argument. Examples: 1. Google Homepage: %{kw:gg}http://www.google.com 2. Google search: %{kw:gg}http://www.google.com/search?q=%s 3. Gnome's bugzilla: %{kw:gnbz}http://bugzilla.gnome.org/show_bug.cgi?id=%s Works quite well for me, but since I'm sort of a newbie (regarding Epyphany, at least), YMMV. Let me know if there are any problems. Before anyone complains: a proper GUI would obviously be much better, but I couldn't figure out how to intercept the bookmark properties dialog and change it accordingly. I'm not even sure if that's possible without changing Ephy's code. And since SmartBookmarks currently work in a similar fashion, I thought it would be a reasonable solution for now.
Created attachment 52325 [details] Bookmark-Keywords extension
Created attachment 52327 [details] Bookmark-Keywords extension (rev.2) Fixes a couple of problems with the finalize function.
I love you! :)
Would've been nice if importing bookmarks from Galeon would've imported the nicknames as well :)
I think the %{kw=...} stuff in front of the URLs isn't so nice (it'll make the automatic export to RDF generate wrong data for smart-bookmarks with keywords. I'd prefer if the keyword was an extra data field in the bookmark (a property ID on the bookmarks node), or maybe kw=... in a general option field. That brings up the data input problem. What about a signal emitted when a bookmarks property window is opened that you can attach to and insert the extra field into the property window?
> What about a signal emitted when a bookmarks property window is > opened that you can attach to and insert the extra field into the > property window? Sounds good to me.
The %{kw...} stuff seems also seems to be breaking the normal smart bookmark usage from the location entry completion dropdown. I have %{kw:bgo} in front of GNOME bugzilla URL and typing '123' and then selecting bugzilla from the dropdown list tries to load the following URL, and naturally fails: http://%{kw//bugzilla.gnome.org/show_bug.cgi?id=
Created attachment 52522 [details] Bookmark-Keywords extension (rev. 3) Fixes a few leaks and the issue described in comment #14. The design is a bit better too. All credits go to Tommi Komulainen. I'm just packaging and posting 'cause he's too lazy. :-)
Noticed one more bug, though I'm not entirely certain the fault lies in this extension. Anyway, when you type, say 'bugz' in the location entry the corresponding smart bookmark shows up in the matches (not actions) and selecting it tries again to load something like: http://%{kw//bugzilla.gnome.org/show_bug.cgi?id=
*** Bug 157784 has been marked as a duplicate of this bug. ***
Moving to epiphany-extensions
*** Bug 339111 has been marked as a duplicate of this bug. ***
Maybe a better solution is to just use smart bookmarks, but set a mnemonic for them. This idea was coined earlier (don't know who/why) but never got much attention. This would change the use case to this: 1. Type your keywords in the location bar 2. Watch as the list of smart bookmarks appear 3. Find the one you like and Alt-G voor Google. This would require some sort of mnemonic storage in the smart bookmark description. Not sure if underscores will do... :s
#20: How would you handle the conflict between Alt+G for the Go menu and the shortcut for the smart bookmark?
No idea, I was just brainstorming about alternative approaches
I miss this feature.
A different implementation, using Deskbar's existing list of keyword shortcuts, was posted to the epiphany-list mailing list: http://mail.gnome.org/archives/epiphany-list/2006-October/msg00020.html
*** Bug 368218 has been marked as a duplicate of this bug. ***
*** Bug 473565 has been marked as a duplicate of this bug. ***
*** Bug 532936 has been marked as a duplicate of this bug. ***
I'm a bit confused. Does this feature currently exist in epiphany or not? I cannot find an extension called "bookmark-keywords". I think it's a good firefox feature and the main reason I am still using firefox as default browser.
Oh, I see, there is a tarball at the bottom of this page. Why isn't this part of the regular "epiphany-extensions"?
(In reply to comment #29) > Oh, I see, there is a tarball at the bottom of this page. The extension attached to this bug probably won't work with recent Epiphany releases. > Why isn't this part of the regular "epiphany-extensions"? I suppose because nobody cared enough to maintain this extension. The suggested workaround is to use the web search abbreviations in deskbar.
According to its developer, epiphany-extensions is not under active development anymore. (For reference: https://mail.gnome.org/archives/gnome-i18n/2013-May/msg00035.html and bug 700924.) It is unlikely that there will be any further active development. Closing this report as WONTFIX as part of Bugzilla Housekeeping - Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.