Warning: session_start(): open(/tmp/sess_bu6lkujqobb52nl10omnsq1k50, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Piece of Web openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (3) .- Knowledge Base  . 

Piece of Web

   0.2  

Plasmoid Script

Score 82%
Piece of Web
zoom


Piece of Web
zoom


Piece of Web
zoom


Homepage:  http://plasmoid.xfou.com
Downloads:  894
Submitted:  Nov 15 2009
Updated:  Dec 14 2009

Description:

Select a piece of a webpage to create your own auto updating plasmoid.

Just search for a webpage and click on the area to keep!

You can also import community made plasmoids in one click or save and publish your plasmoid online.

Also support plasmoid creation from HTML embed code.

This plasmoid require plasma-scriptengine-ruby and ruby-qt or korundum.

To install the plasmoid
1. Install the dependencies plasma-scriptengine-ruby and ruby-qt or korundum if needed
2. Right click on your desktop and select Add plasmoid.
4. Click on Install new plasmoids. Choose either download and browse for the piece of web plasmoid or from local file by using the downloadable zip of this page (plasmoid mode).
5. Add a piece of web plasmoid to your desktop.




LicenseGPL
(V 0.2)
Send to a friend
Subscribe
Other  Content  from cedriK
Report inappropriate content



goto page: prev   1  2 

-

 Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 14 2009
 
Score 50%

The setup dialog is so excruciatingly slow that one simply cannot use it. It should come up with some valid content rather than a javascript empty document error timing out over and over.

If the ruby cannot perform, then a compiled language may be in order (using qtwebkit).

OK, I am using a 600mhz PIII, but CPU cycles are not the problem.

This is too nice an idea to give it up in frustration.


Reply to this

-

 Re: Got it installed, tooo sllooww

 
 by cedriK on: Dec 14 2009
 
Score 50%

I don't think ruby is the issue because ruby does not really much: this plasmoid uses the compiled qtwebkit engine (part of qt).
I'd rather think of an Internet connection problem: The configuration dialog should show a webpage suggesting you to search for a page to make your plasmoid from.
Are you using a proxy ?


Reply to this

-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 14 2009
 
Score 50%

So if you are using qtwebkit, it should be doing much much better. However, I have had interpreted apps with unusable dialogs.

I am using tinyproxy and dansguardian. I could try bypassing this. However, until I could even enter a URL was interminable. Once I got the page, I could not attempt to select to piece I wanted in the applet because the thing simply would not respond.


Reply to this

-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 15 2009
 
Score 50%

As I said, I have had problems with dialogs in other interpreted or scripted UIs. Java, for example.

To keep the Java UI responsive, I have used threads. The UI is on the main thread. Everything else is in background threads. BTW, Qt4 is designed to mimic the Java API.

Also, internet and other loading in plasmoids must be asynchronous. Start a thread to load, signal the main thread when done. Similar issues with the UI!


Reply to this

-

 Re: Re: Re: Got it installed, tooo sllooww

 
 by cedriK on: Dec 15 2009
 
Score 50%

The area picking is done in javascript (some javascript is injected into the webpage).
The mousemove event was not really optimized (adding borders to the element at each mouse move). So I changed it so that it bypass events for the same element. This should speed up the area picking part.


Reply to this

-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 16 2009
 
Score 50%

May be a good idea. However, I never got that far. The response of the dialog needs to be fixed before I can try all this out.

Check threading.


Reply to this

-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 16 2009
 
Score 50%

Hint: I tried it out again, took half hour to get the web page up, then restarted it when I clicked to select the area. So ... I removed the plasmoid. The dialog was still up!

Low and behold, the web page loaded and I got the prompt to select the area, did so, tested it, wonderful!

Just no plasmoid. Crashed plasma on exit but to be expected.

So it is the plasmoid itself (or its interaction with the dialog--BTW, give it some poetic symbolic title :-) -- that is stalling the business.


Reply to this

-

 Re: Re: Re: Got it installed, tooo sllooww

 
 by cedriK on: Dec 16 2009
 
Score 50%

Ok I see. I think I know where the problem is.

At startup the plasmoid wait for an internet connection (otherwise it display an error at system startup).
To check the connection it merely try to ping google each 100ms like this : ping google.com -c 1

But maybe your connection prevent this command from being executed in the given 100ms.

Can you try this command "ping google.com -c 1" and count how long it last and with which result?

Anyway, I think I should move to another solution for the internet Checking.


Reply to this

-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 16 2009
 
Score 50%

ALL data test/load be they from local or from the internet, must be asynchronous! Otherwise, plasma will wait and wait with a black screen. I have had this happen. Very embarrassing.

I cannot ping out (I guess I can enable it in my firewall).

A plasmoid must initiate the test or load, go on its merry way, allow init() to complete, allow the GUI to be active. A signal of completion must be received and then the data can be used. The graphic can have the "busy" animation meanwhile, but the UI should remain crisp and active, graying anything dependent on the data. Use provided (or write) dataengines where appropriate.

The ping to me is a no-no. No data or no connection? After a certain time (one-shot QTimer), a message box and a no-data graphic. Allow me to retry/refresh from the config dialog since internet connections do go up and down.



-

 Re: Re: Got it installed, tooo sllooww

 
 by dovidhalevi on: Dec 16 2009
 
Score 50%

I enabled the ping and all flows nicely--still best do it without the ping and be fully asynchronous.

Issues:

1. To be able to read it :-)
Setting background color, adjusting the transparency (if supported), etc. CSS? (need to remember how to use that!).

2. If a link is displayed and clicked, what should happen?

Open in plasmoid? Will usually be too small, set to show a smaller section, huh? Another window in right click choices does nothing.

So the user's default browser (or one chosen in the config) should come up with the link. Plasmoid should be unaffected by this.



-

 Re: Re: Re: Re: Got it installed, tooo sllooww

 
 by cedriK on: Dec 16 2009
 
Score 50%

I replaced the ping by a service call to KDE.

1. The transparent default background is not really great. I may had a default white background in the page css.
FYI:
you can add body{background:white} in the Advanced CSS section
or you can use the predefined javascript hiding others which keeps the default page styles (but often it keeps some margins which are not well suited for a small plasmoid).

2. I'll add the click on link functionnality and I agree with your solution: to open in the user default browser.



-
.

 what is refreshrate??

 
 by anderslund on: Dec 21 2009
 
Score 50%

What is the refresh rate counting? 0.10 is what, seconds? minutes? msecs? what?

Otherwise, nice applet :)


Reply to this

-

 Dont work :(

 
 by gravy on: Dec 17 2010
 
Score 50%

plasmoidviewer ~/.kde/share/apps/plasma/plasmoids/piece-of-web/
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
plasmoidviewer(4344)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2640:in `initialize': wrong number of arguments (3 for 2) (ArgumentError)
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2640:in `call'
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2640:in `try_initialize'
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2639:in `catch'
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2639:in `try_initialize'
RubyAppletScript::Applet#init mainScript: /home/dh/.kde/share/apps/plasma/plasmoids/piece-of-web/contents/code/main.rb
RubyAppletScript::Applet#init instantiating: PieceOfWeb::Main
Object::connect: No such slot Plasma::WebView::urlChanged(const QUrl &)
Object::connect: No such slot Plasma::WebView::urlChanged(const QUrl &)
/usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb:54: command not found: ruby /home/dh/.kde/share/apps/plasma/plasmoids/piece-of-web/contents/code/update_check.rb


Reply to this

-

 Mirror

 
 by Wattos on: May 4 2012
 
Score 50%

Is it possible for someone to upload a backup of this plasmoid? It seems that the original url does not work anymore


Reply to this

-
.

 Re: Mirror

 
 by gravy on: Aug 23 2015
 
Score 50%

Yes. Pls reupload this plasmoid. Link broken.


Reply to this

goto page: prev   1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team