My Minecraft Launchers

I’ve got two custom launchers for Minecraft on Linux. One is a wrapper script written for zsh and the other is a *.desktop file so I can conveniently launch it from my desktop.

First the script ~/local/bin/minecraft:

function minecraft () {
case $1 {
“”) java -jar $HOME/minecraft/MagicLauncher_1.3.1.jar;;
“-def”) java -jar $HOME/minecraft/Minecraft.jar;;
“-tech”) java -jar $HOME/minecraft/TechnicLauncher.jar;;

Next is the contents of ~/.local/share/applications/minecraft.desktop:

[Desktop Entry]
Name=Minecraft (magic launcher)
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# Gnome and KDE 3 uses Comment.
Comment=Block adventure game
Exec=java -jar $HOME/minecraft/MagicLauncher_1.3.1.jar

Note that I keep an Icon for this game in ~/.local/share/icons/hicolor/256×256/apps/minecraft.png

By Ryan McCoskrie

I am a nerd trapped in the country side of North Canterbury, New Zealand trying to get an IT-related career off of the ground. Legal disclaimer: Ryan McCoskrie is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to I'm also signed up with Fishpond but they aren't as strict about this stuff.

Leave a comment