Ubuntu – Unity Launcher Log


I'm making a custom launcher/desktop file to place in the Unity Launcher Bar. However, when I drag the launcher icon from ~/.local/share/applications, it disappears immediately. This is probably caused by a syntax error in my .desktop file. Is there a unity log file I can look at to find what the problem is?

Best Answer

  • I had the same kind of problems. I can give you 2 directions:

    1. Use an application like 'Create Launcher' from mlux.at to create the launcher.
    2. If it is a shell script and you cannot launch it, then do an echo of the command that is executed and put this command into a script of your choice and use this one into the launcher.


    echo $_JAVA_EXEC $_VM_PROPERTIES -Xmx${MAXIMUM_HEAP_SIZE} -Dsmartsvn.vm-xmx=${MAXIMUM_HEAP_SIZE} -jar "$SMARTSVN_HOME/lib/smartsvn.jar" "$@"

    was in smartsvn.sh

    I created a file smart.sh and put inside

    /home/rudy/opt/jdk1.6.0_33/bin/java -XX:-UseSSE42Intrinsics -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Xmx256m -Dsmartsvn.vm-xmx=256m -jar /home/rudy/opt/smartsvn-7_0_4/lib/smartsvn.jar

    This time it was successful.

    Hope it helps.