Display Java’s Swing menus correctly in Linux Mint’s GTK LaF

Since GTK 3 has been introduced Java Swing applications have a bug in displaying their menus when using the GTK Look and Feel (LaF).

At Linux Mint Cinnamon:

  • No border around dropdown and context menus
  • Wrong font color of activated checkbox and radiobutton menu items (the font has the same color as the background and appears unvisible)
  • No menu separators

In the web there are some fixes and workarounds but just one solves the problem on Linux Mint 17 completely (see section “Interesting Links” below).

This How-To shows how to fix the problem and offers a bash script to get rid of this problem on Mint 17.x automatically.

For Ubuntu find a small hint below.

Continue reading Display Java’s Swing menus correctly in Linux Mint’s GTK LaF

ShowAllPorts – RS-232 Portlister

GPS Logger, measuring devices and similar instruments are connected via serial cable to a computer. To find out the correct device name is cumbersome.

ShowAllPorts specify all real and virtual serial ports on the machine. It cooperates with in-built ports as well as with USB-to-RS-232 adapters. It recognizes the last connected RS-232 adapter if desired and shows if the port is busy or not. ShowAllPorts is cross-platform and works on Microsoft Windows®, GNU/Linux, Mac OS X® and Solaris.

ShowAllPorts @Windows® 8
ShowAllPorts @Windows® 8

Continue reading ShowAllPorts – RS-232 Portlister

≡ Picture Credits

EXE-files accidentally associated with an application

It is nearly impossible to associate a Windows EXE file to a normal application. The context command “Open with …” is not available for this file type.

But broken EXE-files or wrong commands in desktop shortcuts can ask for a application to start with. When your fingers are faster than your brain you cannot start EXE files anymore because Windows try to open them with the application selected before.

Unfortunately you cannot start any repair tools or even the registry editor to fix the problem manually now.

This how-to describes in a few steps how to bring your computer back working correctly.

Continue reading EXE-files accidentally associated with an application

≡ Picture Credits

Delete Parallels icons from Launchpad

If you activated the wrong  option in your Parallels settings your Launchpad is flooded with icons of your virtual machine.

In general you do not like it. Removing the icons is not that easy and not self-explanatory unfortunately. Trying to delete the icons in the Launchpad fails. Furthermore you will not find the app icons in the global Application folder of the Finder.

But there is a possibility to get rid of the unwanted icons, described below. Continue reading Delete Parallels icons from Launchpad

qTranslate Successors – Which one is the best?

qTranslate, the multi-language plugin for WordPress-blogs,  will not developed any further. Fortunately four successors (forks) are available.

In alphabetical order:

  • mqTranslate
  • qTranslate-Plus
  • qTranslate-X
  • zTranslate

Which fork should an old qTranslate user choose? This position paper should give you some hints for your decision.

Continue reading qTranslate Successors – Which one is the best?

Zemanta’s Related Posts migration to qTranslate-Plus

The Zemanta’s Related Posts WordPress Plug-in works very well  with qTranslate. But it does not with qTranslate-Plus. Since the original qTranslate is deprecated many blogger have to switch to qTranslate-Plus. Plug-ins which works well with the original plug-in does not with the successor. The reason is the prefix of qTranslate-Plus functions in comparison to the original qTranslate. I described this in my post qTranslate-Plus Migration.

You just have to find the appropriate files which contain the qTranslate function calls. But a lot of plug-ins contain a lot of files. So it is hard to find the files in question. Zemanta’s Related Posts plug-in is such an example.

Continue reading Zemanta’s Related Posts migration to qTranslate-Plus

qTranslate-Plus migration

People who use qTranslate as their multi-language plug-in for WordPress run into trouble for a while. The Developer Qian Qin does not seem to work on the plug-in anymore. The last version is not compatible with the WordPress version 3.8.2 or higher. Fortunately Mirko Papa Salvatore from Prima Pagina in Italy forked qTranslate and provides qTranslate Plus.

So it is self-evident to migrate to qTranslate-Plus rather than WPML. Unfortunately the migration is not as easy as expected. This How-To describes the migration of a multi-language WordPress (WP) blog from qTranslate (qT) to qTranslate-Plus (qT+). Continue reading qTranslate-Plus migration