Ocatave Packages unter Windows installieren

Octave ist ein guter MATLAB®-Clone. Auch wenn es bei weitem nicht den gleichen Funktionsumfang hat. Besonders die Matlab Toolboxen erweitern Matlab enorm.

Aber auch Octave bietet Erweiterungen – die sogenannten Packages – an. Die Installation der Packages unter GNU/Linux oder Mac OS X ist über die Paketmanager (@Mac: MacPorts oder Homebrew) sehr einfach. Unter Windows® müssen manche Packages mittels C-Compiler kompiliert werden. Ohne eine entsprechend installierte Toolchain lassen sich diese Packages nicht installieren.

In diesem How-To zeige ich, wie man ein kompatible C-Toolchain installiert. Umgebungsvariablen richtig setzt und Packages einfach installiert. Man benötigt keine Programmierkenntnisse in C.

Continue reading Ocatave Packages unter Windows installieren

Java-Update simple and automatic

For security reasons a lot of professional users work with standard user privileges. Nevertheless installations, updates, etc can be done by the administrator entering the administrator password without log out and log in as an dedicated administrator. There is one exception: Java.

Continue reading Java-Update simple and automatic

≡ Picture Credits

Other spell-checking language in MdCharm

To add another language in the spell checker of the markdown editor MdCharm in Windows or GNU/Linux, download the desired  dictionary (*.oxt) of OpenOffice. Unzip it with e.g. 7-Zip (Windows) or e.g. Roller (GNU/Linux) and copy the aff– and dict-files to the folder “spellcheckdict” of the MdCharm installation.

Java’s Swing GTK LaF nice and pretty on Ubuntu

In Ubuntu Java apps which use Swing’s GTK Look and Feel (LaF) do not appear as native applications.

The menus does not have borders and do not appear as app menus on the top of the screen nor provide HUD support. The fonts on buttons and dialog boxes are thinner and do not match to the native look and feel.

This how-to describes step by step how you improve the GTK LaF of Java’s Swing apps. Continue reading Java’s Swing GTK LaF nice and pretty on Ubuntu

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