Webslice
Plasma 5 Widgets
Score 61%
Description:

Here is Webslice.

It's a window on the web. Like a browser, but without controls, and with a static URL (defined in the prefs) to load from.

It's a cheap way of creating plasmoids from webpages !

If you know ways of helping me building this plasmoid, please go to the Github page ! I'm a noob in QML and any help is welcome. Also, go to Transifex to help me with the translations !


What is in :
- Loading a page
- Setting the URL in the prefs
- Auto refresh from conf in prefs
- Hack to have a good zoom on the page
- Transparent background
- Right click menu to manually reload the page
- A way of automatically scroll to a part of the page
- Adjust the preferred width (useful to trigger mobile or desktop version of websites)
- Inject your own JS in the page
- Use as a taskbar plasmoid
- Configure from context menu
- Choose compact or full layout
- I18n (en+fr+es+pt_BR)

TODO :
- Display only a part of the page (defined with the id of the block, like the old webslice) (partially in)
- More languages !
- ...

BUGS :
- No icons in context menu
Last changelog:

2 years ago

Version 0.0.2, 2015/05/04
Adds auto zoom and auto reload (in prefs)

Version 0.3.0, 2015/05/06
Adds an option in prefs to allow transparent background of the plasmoid. Note that it's necessary that the webpage has a transparent background, or no background at all.
Changed version notation too (Major.minor.bugfixe)

Version 0.4.0, 2015/05/10
Adds a context menu to allow manual reload of the page.

Version 0.5.0, 2015/05/16
Adds a way of scrolling automatically to a part of the page, using a JS selector to choose an Element to scroll to.

Version 0.6.0, 2015/05/19
Adds a way to choose the preferred device width, a way to inject your own JS in the page, and finally, when put into the taskbar, it displays a tiny webpage.

Version 0.7.0, 2015/05/25
Adds the possibility to choose between compact and full representation -> Display the site, or display an icon that open the site in a new panel when clicked.
Adds also a context menu entry to configure the plasmoid.

Version 0.7.1, 2015/06/10
Adds a busy indicator when reloading, and changed the time unit to be in seconds instead of minutes.
/!\ Be careful, if you have set an auto-reload, you may have to reconfigure it.

Version 0.8.0, 2015/06/20
Adds a setting for the reload animation, and the ground work for I18n. Please help me for the translations by going to https://www.transifex.com/projects/p/webslice/ !
The translations may not be visible, I don't know why.

Version 0.8.1, 2015/06/27
Adds Spanish and Brazil's Portuguese. Thanks duodraco !!!
Don't hesitate to add translations by going to Transifex !

oneill

1 month ago

nice widget I use it to display the Global conciousness Project status in the taskbar.

But I would need something missing.
I set up the widget to DISPLAY the content of the page X, and I would like to be able to open a navigator on this page when clicking on the widget. Today we have to choose between EITHER displaying the content or displaying a button to go to the site X. I would like both : display the content of site X and when clicking beeing able to go to site X with an external navigator.

Report

sifourquier2

1 year ago

somme https site don't work (not all)
for exemple https://yahoo.fr

Report

antant

2 years ago

This is great! I use it to control my Squeezeboxes (cool, now open source hifi-multiroom music streaming server system), which are usually controlled by an app, or in the browser. Now I have it on the Desktop, which is much nicer then in the Browser!

Report

Cqoicebordel

2 years ago

Thanks for the kind words !
I personnaly uses it to control my set top box, when I'm too lazy to grab the remote ;)

And thanks for the tip about Squeezeboxes, that's exactly what I was looking for without knowing it :)

Report

antant

2 years ago

yeah!
if you want to check out squeezebox: an easy way would be running daphile (http://www.daphile.com/) on an old pc to have the main player and the server. or you install LMS (the server software) on a NAS. for the remote players, a raspberry pi is enough, e.g. with picoreplayer. since raspi's analog out is not that nice, any external DAC is recommended (a USB-DAC, or using hdmi, or even the very nice hifiberry-DAC, which is a plugon-card...). but i think there are even ways to run the LMS server on a raspberry pi. very nice, stable system!
:)

Report

dvs999

2 years ago

Please could you make the reload icon configurable, ie can it be turned off?

Report

Cqoicebordel

2 years ago

Thanks for the comment and the useful idea :)

As for the reloader animation (if in fact that's what you were talking about), yes, I can and will add it in the options.
But as usual, I don't know when I'll work on this, so please be patient. It will come, but I don't know when :)

Report

Cqoicebordel

2 years ago

Just so you know, your request is in this version ;)

Report

dvs999

2 years ago

Love this Plasmoid. Thanks so much. I've found it useful for uses it's probably not intended for as well as displaying web data :) As there's, as yet, no replacement for the KDE4 plasmoid stdin, I've found that I can use your webslice to sidestep the issue by using a file:/some.txt to display the output from a shell script.

Report

Kelna

2 years ago

Hi,
first of all, let me thank you for your efforts making this applet! Then some bug reports and feature requests:

1. Auto reload doesn't work under 5 mins. Although I set auto reload interval to 1 min, the page refreshes in a 5 mins cycle.

2. One has to right click then select reload 5 times to manually reload the page. It'n not working with less clicking.

3. It would be neat to have option to auto reload more frequently. I would like a 30s or less refresh interval.

4. It would be nice to have a bug report contact form in the applet.

Finally, let me thank you again!

Sincerely,
Kelna

Report

Cqoicebordel

2 years ago

Thanks a lot for the kind words and the bugs reports !
Sorry for the delay of the response, I must have missed the notification.

For the issues with reload, I never had any issues for the delay or for the fact that it reloaded or not. Are you sure that it's not a paint issue ? It seems there are some issues in KDE and/or plasma and/or webkit that prevent displaying an updated version of the page until the desktop/action bar is repainted.
To confirm that, you can try to move the page before reloading. When it reloads, it should display the page at its initial position, so you can see that it reloads effectively every minutes. Try also to move the page after it has reloaded, it may repaint it. And keep in mind that reloading takes a few seconds.
But I will nontheless check that.

I choosed a minimal time of one minute to avoid overloading some websites, but I will consider going to a 30s increment and maybe 15s. I really don't think going lower would be a good idea (I don't consider lower than one minute is one too, but it's not harmful anyway).

For the bug reporting, I agree it would be easier, but it doesn't seem to be the rule on plasmoid.
So I choose to instead put the link to the GitHub repository at the top of this page. On GitHub you can post bugs reports, and also participate in the code ;)

I don't know when I will be able to adress all of this, but I will !

Thanks again !

Report

EdenMar

2 years ago

I forgot to mention this point, and it's probably relevant.

I tried 'import QtQuick 2.0' from terminal -- no improvement. Also tried installing Qt4-qtquick2QM-plugin (or similar) with Synaptic -- still no change or improvement.

Any advice will be appreciated, as I'd like to see the improvements you've made in the latest version.

Report

Cqoicebordel

2 years ago

A few things :
- If 0.3.0 works for you, and does the job, having v0.5.0 isn't worth the hassle.
- This plasmoid is in the "Plasma 5 plasmoid" category, because it's using API from Plasma 5.X and KDE 5.X. There are a lot of similarities between APIs in KDE 4.X and KDE 5.X, that's why some things might work for you, but it's only by luck, and nothing else.
- Upgrading KDE to be able to use this plasmoid isn't a good idea. Don't get me wrong, I'm flattered, but upgrading KDE from 4.X to 5.X is a *BIG* step, and it's not worth it if it's only for this plasmoid.
- And finally, I created this plasmoid because in KDE 4.X there was one that I used massively, but not in KDE 5.X. It's not made by me, or maintened any more, but it does the job, and I'll recommend that you use it. I think, but I'm not sure at all, that it's in the package plasma-widgets-addons.

Report

EdenMar

2 years ago

Quote: ... in KDE 4.X there was one that I used massively, but not in KDE 5.X. It's not made by me, or maintened any more, but it does the job, and _I'll recommend that you use it._ ...

I'd like to try the one you've just recommended... so I may see if it's operation is suitable for the kind of web site I want to display.

==>> _Please tell me its name_ ... so I may be sure we're both talking about the same item? <<==

Report

Cqoicebordel

2 years ago

It's easy, it's Web Slice ;)
Like I said, it seems to be in the plasma-widgets-addons package, but I can't be sure, neither test it for you because I don't have a machine running KDE 4.X now...

Those infos should be enough. In any case, I don't have more. All I can do is continue developping my version which won't work in KDE 4.X, sorry.

Report

EdenMar

2 years ago

OK, thanks, now I see the difference. For the benefit of other KDE 4.x users who want to display web content on their Desktop:

You have to use the Plasmoid that shows up in "Add Wigets" from your version of KDE. That Plasmoid will _not_ be the one by this author, even though their names appear similar, at first glance.

The two different Plasmoids have a very small difference in their names, as I finally realized: This one, that's only for KDE 5.x, is named "Webslice" and the one for only v4.x is "Web Slice".

After seeing the space, I was further confused because there is a near-overlap in version numbers: the other Plasmoid has as a final version v0.3, and this one has an intermediate version of v0.3.0. But this does not mean they are one and the same.

I now realize that _all_ versions of Webslice are incompatible with the earlier KDE, and not just the ones that follow v0.3.0

The one that runs on KDE 4.x was written by Sebastian Kuegler; however -- neither his name nor the version number appear in the running Plasmoid, itself -- and, it's only briefly displayed, just as you prepare to load it.

Thanks for your patience while I figured this out!

Report

Cqoicebordel

2 years ago

Ah yes, I understand what was the issue.
I named my plasmoid Webslice because it was the successor of the other one, but I didn't expect it to show in the search result in KDE 4.X.

Thanks for bringing back the answer !

Report

EdenMar

2 years ago

I'm running LinuxMint Qiana KDE 4.13.3 and when I tried to use the latest version I got only a red icon in the system tray area, unresponsive to clicks.
The I uninstalled that, and loaded the earlier version -- and that worked immediately. But, of course, I would like to run the latest version!
Is there a KDE version requirement, or do I need to install dependencies? If yes, exact names would be appreciated! If I need to upgrade KDE, how far must I go before webslice begin to work?

Report

roctheme

2 years ago

I have made 2 pictures, to show, how perfect your app works.

http://i.imgur.com/0HVlTVs.png

http://i.imgur.com/NCalTUP.png

You can use the pictures, if you want.

Thank You!

Report

Cqoicebordel

2 years ago

That's awesome, thank you !

I'll put them up immediately !

Report

Cqoicebordel

2 years ago

That's awesome, thank you !

I'll put them up immediately !

Report

Cqoicebordel

2 years ago

That's awesome, thank you !

I'll put them up immediately !

Report

fsb1968

2 years ago

Although it's programming might be buggy. It just it does what it's meant to be:
It displays any webpage or webapp directly on your desktop and refreshes automatically. It could be a great wrapper for many webapps, so you don't have to install dozens of different widgets.
Such a widget, desklet, tile or whatever you might call it should exist for any OS!
Very useful!
Thanks!

Report

2 years ago

Version 0.0.2, 2015/05/04
Adds auto zoom and auto reload (in prefs)

Version 0.3.0, 2015/05/06
Adds an option in prefs to allow transparent background of the plasmoid. Note that it's necessary that the webpage has a transparent background, or no background at all.
Changed version notation too (Major.minor.bugfixe)

Version 0.4.0, 2015/05/10
Adds a context menu to allow manual reload of the page.

Version 0.5.0, 2015/05/16
Adds a way of scrolling automatically to a part of the page, using a JS selector to choose an Element to scroll to.

Version 0.6.0, 2015/05/19
Adds a way to choose the preferred device width, a way to inject your own JS in the page, and finally, when put into the taskbar, it displays a tiny webpage.

Version 0.7.0, 2015/05/25
Adds the possibility to choose between compact and full representation -> Display the site, or display an icon that open the site in a new panel when clicked.
Adds also a context menu entry to configure the plasmoid.

Version 0.7.1, 2015/06/10
Adds a busy indicator when reloading, and changed the time unit to be in seconds instead of minutes.
/!\ Be careful, if you have set an auto-reload, you may have to reconfigure it.

Version 0.8.0, 2015/06/20
Adds a setting for the reload animation, and the ground work for I18n. Please help me for the translations by going to https://www.transifex.com/projects/p/webslice/ !
The translations may not be visible, I don't know why.

Version 0.8.1, 2015/06/27
Adds Spanish and Brazil's Portuguese. Thanks duodraco !!!
Don't hesitate to add translations by going to Transifex !

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.8.1
updated Aug 06 2017
added May 03 2015
downloads today
6
page views today 3