Tag Info

New answers tagged

-1

In your .desktop file write: Exec=sh -c 'java -jar "$HOME"/.minecraft/Minecraft.jar' Sample 2: Exec=sh -c "u=%u; k=%k; c=%c;"' kd="$k"; [ -f "$kd" ] && kd=`dirname "$k"`; cd "$kd"; uxterm -bg blue -fg cyan3 -fn 9x15' Explanation: All terms like double-quote, quoting, meta-chars (like $ and ~) are always s h e l l - r e l a t e d - the shell ...


1

It seems a common workaround to execute sh, which will resolve the special symbols and variables correctly: Exec=sh -c "java -jar ~/.minecraft/Minecraft.jar"



Top 50 recent answers are included