Description:

#
# Copyright (C) 2009 Nicola Degara
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# or (at your option) any later version, as published by the Free
# Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#

QuickUrl


*Description:
(a)This very simple plasmoid offers the possibility to access to all the bookmarks of
- Konqueror(xml)
- Opera(adr)-
- Firefox (2.*) (html)
- Firefox-3 (sqlite)
and directely from your the desktop with a drop-down combo you can open in your default system browser

(b)The plasmoid supports also the free Url text entry.

(c)The tool uses a background caching system based on Sqlite3 to accelerate the resoltion of the pathbrowser combination.
The cache can be also cleaned manually via Configuration Dialog > Cache Management
When the Bookmark items change into RED color in the combobox means that the widget is using the cached information for the
last selected url

*How To Configure:

- Konqueror(xml)
- bookmarks.xml file is usually placed in ~/.kde/share/apps/konqueror/bookmarks.xml
- Opera(adr)-
- opera6.adr file is usually placed in ~/.opera/opera6.adr
- Firefox (2.*) (html)
- bookmarks.html file is usually placed in ~/.mozilla/firefox/[your PROFILE]/bookmarks.html
- Firefox-3
- places.sqlite file is usually placed in ~/.mozilla/firefox/[your PROFILE]/places.sqlite


POSSIBLE ISSUE on Installation
If the GHNS does not install it just download the file and run on command line
#plasmapkg -i quick.plasmoid

ver 1.2.2:
* fixed the settings dialog access.
* removed the settings icon
* cleaned up firefox-3* "place:***" bookmarks
* fixed support for firefox-3.5

ver 1.2.1:
* fixed the wrong query for Firefox-3 bookarks: all the bookmarks where not shown
(sqlite.place.moz_bookmarks.fk=sqlite.place.moz_places.id)

ver 1.2.0:
* Firefox-3 uses only the cache to avoid lock DB error
- to update the list of the bookmarks please clean the cache in the cahce management dialog.
* Known issue: 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128) - Skipped
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 1.1.3:
* First time use fix: in case the bookmark file of Konqueror was not existing the plamoid crashed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 1.1.2:
* Implementation of internal Cache based on SQLITE3
* various fixes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 1.0.1:
* Support of Firefox-3 bookmarks in places.sqlite
* various fixes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.5.1:
* generation of sorted lists of Bookmarks
* fixed previous load of configuration on applet re-initialization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.4.2:
* Fix for the wrong behavior of the opening of bookmarks in Opera and
Firefox (without this version it is not possible to open bookmark from
the above mentioned browsers)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.4.1:
* Added Firefox *.html bookmark support via configuration dialog
* The used firefox icons is
'firefox-3.0'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.3.0:
* Added Opera *.adr support via configuration dialog
* Konqueror and standard xbel are supported in default configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.2.0:
* Added Konqueror's bookmark (~/.kde/share/apps/konqueror/bookmarks.xml)
* Switch between manual entry and bookmark selection
* Plasma Theme dependent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ver 0.1.0:
* simple url quick entry (just a test!)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Developed on Kubuntu with Python 2.5.2 on KDE 4.2

Guilo19

7 years ago

When I click on the button configure nothing happens (KDE 4.3.2)

Thanks

Report

C

blackhat77

7 years ago

Strano!
Are you sure?

I am using KDE 4.3.2 on Kubuntu and the setting button is working without any strange behaviour...

let me know more about your configuration..

Report

Guilo19

7 years ago

Yes I have retried and it still doesn't work.

I have Kubuntu 9.10 with all updates. When I launch quickurl it tells me konqueror bookmarks are empty, I click OK and next it tells me to configure a browser. I click OK, and clicking on "configurer" doesn't show any dialog.

Thanks

Report

C

blackhat77

7 years ago

I think I've found the problem.. Please try the newest version 1.2.2

Let me know!

Report

C

blackhat77

7 years ago

I mean.. Now please please use the common setting procedure of the other plasmoids offered directly by the framework...

...when you have the widget desktop unlocked, just click on the setting button (wrench) that is placed where there are the resize and the orientation widget functions...

I think that now it should work ;-)

Sorry for the troubles that this caused!

Bye

Nicola

Report

Scnd101

7 years ago

shouldn't it be pretty easy to add since you already have konqueror?

Report

C

blackhat77

7 years ago

Sorry...
you are referring to... what?

thank you

Report

nferenc

8 years ago

First of all thank you.

But there is a problem. Here is a screenshot: http://img258.imageshack.us/my.php?image=snapshot15.png

I'm using Kubuntu 9.04, kdebase-plasma 4:4.2.1-0ubuntu6, python-plasma 4:4.2.1a-0ubuntu10, python-kde4 4:4.2.1-0ubuntu5

Report

C

blackhat77

8 years ago

strange :-(

Are you really using Konqueror? I mean.. can you please confirm that you have at least a bookmark in Konqueror? In case you do not have it please create one and restart the plasmoid... Konqueror will create the bookmark file ( usually in ~/.kde/share/apps/konqueror/bookmarks.xml )

very strange :-(

...or,
Can you access to the widget settings and change the preferences to another browser.. for example to firefox-3?

Other plasmoids in python are working in your environment correctly?

Report

nferenc

8 years ago

Sorry, my fail. It works.

Report

echoes

8 years ago

does this plasmoid support opera?

Report

C

blackhat77

8 years ago

Hi.
Currently this plasmoid is based exclusively on the konqueror bookmark(~/.kde/share/apps/konqueror/bookmarks.xml) - [xbel format]

The configuration interface for the widget is not ready so it is not possible to change the file path. Sorry for that!
Anyway currently it is supported only XBEL parsing.

The enhancement that it is needed for this operation is to let the widget be able to read the file operaX.adr
and read all the blocks defined with #URL tag.

It is a good idea! I may add this function and let you choose the browser on the configuration interface!


Report

C

blackhat77

8 years ago

As a temporary workaround you can use the perl script in this website http://www.perlmonks.org/index.pl?node_id=74867
and this will convert the opera *.adr into xbel format.

1. copy all the script into a myperl.pm

2. run the command ./myperl.pm opera6.adr > opera.xml

3 create a symbolic link to cheat the widget
ln -s PATHOFWORK/opera.xml ~/.kde/share/apps/konqueror/bookmarks.xml

4. re-publish the widget

Anyway it looks easy also to enhance the widget in the future

Report

C

blackhat77

8 years ago

Now Opera is supported.

Report

dnak81

8 years ago

Please write a few lines about what your plasmoid is used for.
The image is now self-explaining.

Report

dnak81

8 years ago

arrgggh...
I meant
"the image is *NOT* self explaining"

Report

C

blackhat77

8 years ago

It is a very very simple widget that let you key in a url and open it into the default browser.

Report

C

blackhat77

8 years ago

Anyway in Kubuntu you need python-plasma

Report

bizzl

8 years ago

Could you please upload the *.plasmoid file without the surround tgz, preferably as first file?
The way you packed it is interfering with GetHotNewStuff (Download new Plasma Widget)

Report

C

blackhat77

8 years ago

Done!

Sorry for the inconvenience ...

Report

C

blackhat77

8 years ago

If you experience a focus problem when you add it on the menu panel please refer to
https://bugs.kde.org/show_bug.cgi?id=185218

...Maybe it is my bug :-)


The problem at the moment on the menu panel happens only with non-kde applications (firefox, thunderbird)

On the desktop the widget works fine.

Report

C

blackhat77

8 years ago

To install this very easy widget please just untar the package

#tar xvfz QuickUrl.tar.gz
and
#plasmapkg -i QuickUrl.plasmoid


If you want to remove it just type
#plasmapkg -r QuickUrl.plasmoid

Report

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.2.2
updated Nov 10 2009
added Feb 22 2009
downloads today
0
page views today 3