You are here


Inkscape: Textfields in SVGs are replaced by black boxes (when converted to PNG)

Submitted by Druss on Sun, 2017-10-01 03:08

So I had to upload an SVG flowchart which looked great on my computer. However, when accessed from the server, certain text elements were displayed as large black boxes. This was happening only with converted PNGs of the SVG as the SVG itself rendered just fine. I initially thought that this was some kinda font issue. But apparently not. This happens because Inkscape's SVGs are not always valid and in this case, uses something called a flowRoot element which is not valid SVG.

Eclipse svn commit error: "svn: E200007: CHECKOUT can only be performed on a version resource [at this time]."

Submitted by Druss on Sat, 2017-05-13 00:10

I just ran into the following error while trying to commit (a previously working project) in Eclipse Neon:

svn: E200007: Commit failed (details follow):
svn: E200007: Commit failed (details follow):
svn: E200007: CHECKOUT can only be performed on a version resource [at this time].
svn: E175002: CHECKOUT request failed on '/svn/foo/!svn/rvr/1337/trunk/site/bar.example'
svn: E200007: Commit failed (details follow):

Kubuntu Linux: Increasing volume of audio via HDMI headphone jack

Submitted by Druss on Fri, 2017-02-03 20:56

So, I've started plugging my headphone into my monitor's headphone jack rather than the analog audio ports in my CPU and there's been a drastic reduction in the volume levels. The volume is often insufficient even when everything in my volume settings is maxed out. Here are a couple of things to try out in KDE/Kubuntu/Linux that might help alleviate the situation.

Kubuntu/Pulseaudio: Record both mic and system audio

Submitted by Druss on Fri, 2016-10-14 19:35

Today, I started dabbling in doing some screen recording in Linux and while I could find programs to record the screen, I couldn't get the audio working as I wanted. By default, the programs record either the system audio, or the mic audio (or if the program is shit, neither); they don't record both the system audio and the mic audio. The fix for this on my Kubuntu 16.04 (Xenial) system which uses the Pulseaudio system to manage audio is as follows:

Installing .NET on Wine (Linux)

Submitted by Druss on Sun, 2016-09-11 23:54

So I've been having trouble getting a Windows program to work in Wine (Windows emulator) on my Kubuntu 16.04 system. It's a simple program but one that requires .NET 3.5. Considering its simplicity, I thought that it'd work fine using just Mono and it did fire up. However, it wasn't terribly usable throwing constant errors and being very buggy. So I had to also install .NET 3.5. timing out during apt-get/aptitude updates

Submitted by Druss on Fri, 2016-09-09 02:23

On a fresh Debian 8 (Jessie) install, I found that I couldn't update the package repository using apt because was always timing out. While I initially thought this was because of a mirroring issue oslt, it turns out that it's because I was trying to access it via the IPV6 that my VPS was using. Turns out that the fix is reasonably straightforward. You simply tell apt not to bother with ipv6 and simply use ipv4 … like so:

echo 'Acquire::ForceIPv4 "true";' >> /etc/apt/apt.conf.d/99force-ipv4

MongoDB on Linux with pecl "configure: error: Cannot find OpenSSL's libraries"

Submitted by Druss on Sun, 2015-12-06 21:29

Edit: Skip this and scroll down for a proper fix!

Just tried installing MongoDB support for PHP on Kubuntu 15.10 via pecl and ran into the following error message which caused the installation to fail:

configure: error: Cannot find OpenSSL's libraries

While this can probably be fixed using some magickery, in my case, I did not want SSL support on a dev server. I just wanted to get the fucker up and running. To this end, I discovered that the issue was that I was using:

Kubuntu 15.10 / KDE not automounting partitions

Submitted by Druss on Tue, 2015-12-01 19:42

So I upgraded my Linux box to the latest Kubuntu 15.10 (Wily Werewolf!) and it's been an interesting few days ironing out niggles. One of them has been the missing partition manager icon which (IIRC) was present in 14.04 and where I could control which partitions were automounted at login. From the looks of it, there is no easy solution for this like installing a package or some weird Plasma widget. The only solution I was provided on IRC was the following roundabout-borderline-hack:

Installing a fresh copy of a program under Wine

Submitted by Druss on Thu, 2015-10-22 00:34

So here I was happy with my installation of program foo.exe under Wine in Linux (Kubuntu if you must know). All of a sudden, the program starts whining a little, wobbling a touch, and generally exhibiting wonky tendencies. While I could have uninstalled it and tried to reinstall it to see if that fixes the problem, there's a neater solution that is only available for Wine users.

Joining multiple PDFs together on Linux

Submitted by Druss on Wed, 2015-08-26 22:44

A quick and easy way to join or merge multiple PDFs together on Linux (Kubuntu 14.10):

pdfunite toc.pdf chapter1.pdf chapter2.pdf  book.pdf

This doesn't resample pages or any other nonsense like that either :) pdfunite is provided by the poppler-utils package which should already be installed.

If you want to do the opposite, i.e. split a unified PDF file into multiple ones, poppler-utils also provides the aptly named pdfseparate.

Hope this helps :)


Subscribe to RSS - Linux