KDE Krita and Plasma Leftovers

-
Creating a Python Plugin for Krita: Guest Article by Zlatko Mašek
Ever since Krita allowed scripting in Python, I was eyeing what I could do with it. Since it’s using QT and I had no previous experience with it, I wanted to learn a bit about it because I’m programming with Python as my day job. Doing image manipulation to transform images for different usages between different systems is always a fun challenge. I wanted to switch from direct image scripting to a plug-in based workflow so I didn’t have to do too much context switching between work-time and hobby-time. Krita being cross-platform also helped because I didn’t have to deal with installing Python on operating systems that don’t have it pre-installed. The plug-in I made is simple enough. It slices the image and prepares tiles for the usage in a tiling library like Leaflet. You need to make sure that you have a flattened image saved beforehand and it’s the last thing you do when preparing for an export. Also make sure that the image is rectangular if you don’t want the plug-in to crop it by itself. The plug-in is fired up by going to the Tools -> Scripts -> Krita – Leaflet in the menu bar.
-
KDE Plasma 5.14.90 (the beta for Plasma 5.15) is available for testing
Are you using Kubuntu 18.10, our current Stable release? Or are you already running our daily development builds?
We currently have Plasma 5.14.90 (Plasma 5.15 Beta) available in our Beta PPA for Kubuntu 18.10 and in our daily Disco ISO images.
-
Plasma desktop kstart: cannot connect to X server - What now?
Here's an interesting little problem. I was merrily using my Plasma desktop when suddenly it went kaput. But kaput in a bad way, not a good way. This translates into windows decorations being all gone and nothing really responding to mouse clicks. And here comes the conundrum train, nonstop to Foobar. I wanted to restart the Plasma shell and just get back to working - after all, I mentioned this workaround a couple of times in the past, like my Slimbook & Kubuntu combat reports. Indeed. Except ...
This didn't work. In the virtual console (the only thing that actually was working), I had the kstart: cannot connect to X server error. At this point, a reboot or magic were needed, and I really wanted to have to avoid rebooting. In general, rebooting is a lazy way of fixing issues, and it should be done sparingly. So let's talk about a better, less destructive way.
-

- Login or register to post comments
Printer-friendly version- 1906 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago