Image 01
profile-image

einar77

Luca Beltrame MIlano, Italy
Graphic Apps
Video Apps
Danbooru Client

Graphic Apps 46 comments

Score 72.2%
Jan 15 2013
Try installing the development package "kdelibs5-dev". - Jan 23 2013
They only work if they use the standard Danbooru API. Gelbooru for sure AFAIK has another type of API.
Which means that I'll have to make some internal adjustments to support them. - Jan 03 2013
You can do that, there's the batch download facility. As far as I know it works. - Jan 03 2013
Quote:
1. You can just run it and look through images
without the need to register at the boards.


It is the same in Danbooru Client. Username and password are optional (as the text in the edit boxes says)

Quote:
2. It has a much greater number of board to search
through out of the box.


I need people to provide me with links, as I put i only the ones I know and visit semi-regularly (and some, like Danbooru, just broke their API...).

Quote:
3. Batch downloader with ability to specify how
the files are named


As In templates for download? This is possibly doable, just a not high in my TODO list (currently focusing on making the UI better). - Jan 02 2013
Can you outline your problem exactly? - Jan 02 2013
Done. - Oct 20 2012
You're using Python 3, I assume, which uses the version 2 API, which wraps QStringList to a normal list.

As the code in git is in a *real* state of flux, I'll have to cook up a patch for you.

Ping me in a few days if I don't respond. - Sep 30 2012
Originally (when I coded the feature) you could resize it, however I encountered a strange bug that caused the whole pool table to expand out of the blue if double clicked to download the pool. I'll investigate further and will try to add this when I find the cause. - Sep 26 2011
Please download 0.9.7, I should have fixed it there.
Thanks for reporting! - Sep 26 2011
Try downlooading 0.9.6 and see if it fixes the issue for you. I accidentally forgot to change some build system configuration with 0.9.5. - Sep 25 2011
Are you sure? That snippet linked shows the opposite: i.e. it's scraping the HTML directly... - Jun 13 2010
Does Futaba have an API? If not, the only way would be scraping, which could be extremely fragile in case the layout changes... - May 11 2010
It looks like a problem in your PyKDE packages/installation... - Apr 20 2010
I'm unable to reproduce this on openSUSE. What are your SIP and PyQt versions? - Apr 19 2010
With this version I made the first step towards connection notification, by using KIO to connect to the board, rather than pure Python methods.

Now I have to investigate KNotification to finish the work... - Feb 18 2010
Notification for connecting would be nice, the issue is that I'm using Python methods to check if the address exists instead of relying on KIO, because it gets a little complex. I'll get to it soon, hopefully.
For posts, perhaps I can add a text at the center of the tab while they are fetched.

This would provide me some excuse to finally learn about KNotify, I guess... ;) - Jan 22 2010
Indeed there is.

First of all, copy the "danbooru" source folder to your python site-packages dir (in Ubuntu should be /usr/lib/python2.5/site-packages or /usr/lib/python2.6/site-packages; find out which by typing "python -V" at the terminal). Then execute:

sudo ln -s /usr/lib/YOURPYTHONDIR/danbooru/danbooru_client.py /usr/bin/danbooru_client

where YOURPYTHONDIR is the directory you've found out above.

Then, copy the "danbooru_client.desktop" file to the KDE application dir: you can find it by typing

kde4-config --path data

Lastly, create a sub-directory called "danbooru_client" in the same path that the command said, and copy the "logo_resized.png" image that stays in "danbooru/img" there, renaming it "logo.png". Copy also "danbooruui.rc" there (essential or you won't get icons on toolbars).

Run kbuildsycoca4 and then you'll be set. Notice that you need at least the version of PyKDE4 that is shipped with the KDE SC 4.3: I haven't tested with earlier versions. - Jan 02 2010
WorkFlow Plasmoid

Plasma 4 Widgets 73 comments

Score 82.1%
Mar 24 2013
Hello,

I've been testing it briefly, but there are some small issues with current KDE git master (to be 4.10): the help text in the guided tour is very small, and when the plasmoid is open, I can "drag" the contents outside of itself, ending up with an empty frame.

I'll try to post screenshots later. - Aug 28 2012
Konsole Widget

Plasma 4 Widgets 39 comments

Score 83.5%
Jun 06 2012
I'll make a pull request. Username is cswegger. - May 06 2012
Setting the configuration interface will not work, because KConfigDialog is invoked without the mandatory KConfigSkeleton instance.

Also I would suggest moving all signals/slots from C++ style to Python style. - May 05 2012
Akonadi calendar plasmoid

Plasma 4 Widgets 63 comments

Score 83.6%
Nov 10 2012
Here's are the steps to show the problem:

1. Add the calendar to the desktop
2. Reduce the height of the plasmoid using the handle
3. It is not possible to reduce the height past a certain point (very close to the default height)

In other words, the minimum height of the plasmoid is somewhat large and you cannot reduce it below that. - Apr 17 2012
It's better than before (good enough to be put on my desktop) thanks. It would be nice if it could be still resized a little more vertically, though. - Apr 17 2012
Very slick plasmoid overall, I already started using it. To improve usage in vertically-constrained spaces (such as 16:10 monitors), would you be able to make it resizable vertically, which is not possible? Thanks! - Apr 13 2012
Skeleton Plasmoid

Plasma 4 Widgets 4 comments

Score 76.7%
Feb 10 2012
On second thought, I really encourage you to get a developer account and develop these examples directly in KDE's git (kdeexamples). Good examples for Python applets are sorely missing. - Feb 10 2012
Nice! Would you mind adding these examples to the kdeexamples module? If you don't have developer access I can do that for you.

Alternatively, these could be added to kapptemplate. - Feb 10 2012
KSysCtl

System Software 2 comments

Score 62.5%
Feb 05 2012
I noticed you call systemctl directly in your code. Perhaps it would be more robust to use systemd's own DBus interface. What do you think? - Feb 03 2012
Airdate

Plasma 4 Widgets 21 comments

Score 75.5%
Oct 10 2011
BeautifulSoup's parsing is somewhat slow. I'd suggest you try lxml as an alternative (html module) which is likely faster. - Sep 23 2011
Luxury Library

Various KDE Stuff 8 comments

Score 35.3%
Mar 19 2012
I'm not interested much in free as gratis. "Open" means something different. What's open about this software? - Jun 29 2011
What is "open" in a proprietary license? - Jun 26 2011
KIMToy

Utilities 35 comments

by nihui
Score 80.0%
Feb 06 2016
Thanks for the answer. You should point this out in the program description here, as there's no indication on which version of ibus/scim will be needed. - Jun 16 2011
I can't seem to get this to build.

If I run it without hacking the CMake file, I get

-- checking for module 'ibus-1.0'
-- found ibus-1.0, version 1.3.8
-- Could NOT find IBUS (missing: IBUS_LIBRARIES)

even though I have it, both libibus.so and the development headers installed. If I hack IBUS_LIBRARIES, I get loads of build errors like:

panel.c:34:5: error: unknown type name ‘IBusPanelService’

and so on.

Any ideas? (this is on openSUSE Factory - to be 12.1) - Jun 16 2011
Activity Manager Plasmoid

Plasma 4 Widgets 33 comments

by aavci
Score 85.4%
Dec 24 2010
In version 0.4 it almost does everything I want it to do, good job!
A nice cosmetic change would be having the tooltip with the activity name on hover: I understand that you can do the same by moving the Plasma toolbox away from the corner, but not everyone does that. - Dec 22 2010
If you click on the rename icon multiple entries for rename are generated. Close them all (clicking on "cancel") and Plasma will crash.

This is on a week old trunk. - Dec 17 2010
Google Calendar Agenda (ownCloud too!)

Plasma 4 Widgets 60 comments

by GDR
Score 82.8%
Feb 28 2013
I answered there. Hopefully it should be a step in the right direction. - Nov 13 2010
Here's a quick, proof-of-concept example (those are hypothetical class methods, not functions):

def download(self, url):

job_url = KUrl(url)
job = KIO.storedGet(job_url)
job.result.connect(self.handle_download)

def handle_download(self, job):

job_data = job.data()
# Do whatever you need with it...

You may also set up flags for not showing operations and so on. You may find examples of KIO usage in my own Danbooru Client: http://gitorious.org/danbooru-client/danbooru-client/blobs/master/danbooru/api.py - Nov 08 2010
urllib and friends are blocking, so you may freeze Plasma if they take too long to download the data (as plasmoids run in-process).

A much better solution would be to use KIO.storedGet and connect to the "result" slot to do whatever you need to do. - Oct 26 2010
yaSDP (alternative ShutDown plasmoid)

Plasma 4 Widgets 43 comments

by Ophys
Score 63.3%
Aug 26 2010
I tested this under 4.5. I found the following issues in the packaging and the UI (the rest works fine):

- the tarball contains lots of backup fies (~) that need to be removed;
- the tarball contains CMakeCache files that will make building fail if they aren't removed;
- the tarball contains a spurious build directory;
- the config UI layout, at least on 4.5, is too large for a netbook screen (1024x600) and icons and checkboxes look placed around randomly (a layouting bug?): screenshot http://imagebin.ca/view/qwNeBiRb.html - Aug 24 2010
Server Status Widget openSuSE11.2 RPM

Plasma 4 Widgets 2 comments

Score 50.0%
Feb 15 2010
You should use the openSUSE Build Service (http://build.opensuse.org; since you have built a RPM, I suppose you made a SPEC file). You can link packages directly here, and you can supply them for architecture you don't have on your own machine. - Feb 16 2010
Keyboard Status Applet

Plasma 4 Widgets 9 comments

Score 58.0%
Nov 10 2009
Perhaps this should be modified to use the keystate DataEngine? Just a thought. - Nov 10 2009
Show Internet IP with Flag

Plasma 4 Widgets 8 comments

by imax
Score 53.3%
Dec 22 2009
In KDE 4.3 there is a geolocation DataEngine that predicts your location, and gives out some information.

Is this plasmoid using that? (I haven't looked at the source) - Oct 07 2009
Drop2Tag

Plasma 4 Widgets 6 comments

Score 78.4%
Mar 22 2010
It works quite weill. I tested also the click on icon and works as advertised.
Great job! - Sep 13 2009
Score 80.8%
Jan 14 2011
Activity Manager Plasmoid

Plasma 4 Widgets
by aavci

Score 85.4%
Dec 17 2010
Tellico

Database
by robby

Score 75.3%
Feb 15 2010
Drop2Tag

Plasma 4 Widgets
by nik3nt3

Score 78.4%
Sep 13 2009
Score 56.0%
3   Nov 01 2012
Luxury Library

Various KDE Stuff
by specialworld83

Score 35.3%
3   Jun 26 2011
Score 80.8%
9   Jan 14 2011
Score 50.0%
3   Dec 24 2010
Activity Manager Plasmoid

Plasma 4 Widgets
by aavci

Score 85.4%
9   Dec 17 2010