Who still uses Microsoft Silverlight? UPC… They use the Silverlight plugin to stream TV and handle DRM. Okay, that’s nice, but how do you get Silverlight to work under Linux? It turns out it is a few easy steps using Pipelight which brings support for Silverlight to Firefox and Chrome under Linux. Continue reading
Linux
Create multiple directories with a single command in Linux
Using the bash shell you can create multiple directories with a single command.
Examples
Relative to the current directory:
mkdir ./{project,target}
Relative to a path and create any parent directories that do not exist:
mkdir -p ~/git/myrepository/{project,target}
Checking where the JDK is installed under Debian/Ubuntu/Mint
I needed to find out where the Oracle JDK 7 was installed. Using the whereis command did not help. I found that using the following command shows exactly where all available JDKs are installed:
sudo update-alternatives --config java
Installing Oracle JDK 7 in Debian/Ubuntu/Mint
I am currently learning Scala and wanted to install the Scala IDE. In the process I ran into some problems that it programs would not compile correctly, which seemed to be caused by the OpenJDK 7. So I decided to remove OpenJDK 7 and install Oracle JDK 7. All the instructions I could find to do this where downloading based on manually downloading the Oracle JDK 7 and installing it interactively. As I also wanted the installation to work in a Docker container I wanted a fully automated solution. Continue reading
What happened to the user and group management commands in QNAP?
Had an interesting time figuring out how user and group management works from the command line on my QNAP server. At first the usual Linux commands do not seem to exist:
useradd usermod userdel groupadd groupmod groupdel
After some Google research (who’s your friend?) I found some forum posts that pointed out the commands have been replaced by QNAP’s own special versions: Continue reading
Changing the default start-up size of the Gnome terminal
I am running Linux Mint on a laptop with a wide screen and high resolution. It has been annoying me that when I start a GNOME terminal it start with the default terminal size of 80×24, which just does not work with my high resolution. The scripts that I am running has rather long logging information, which line wraps and makes it hard to read. Every time I start a terminal the first thing I would do was change the size of the window with the mouse. Continue reading