Tip for Mac Users, Display LogMX icon in dock

For those who have trouble installing LogMX

Moderator: admin

Post Reply
blak3r
Posts: 3
Joined: Thu Dec 26, 2013 10:35 pm

Tip for Mac Users, Display LogMX icon in dock

Post by blak3r »

I modified the logmx.sh script such that A) I could add the logmx folder to my applications folder and then just click on a shortcut and B) once it starts to display the logmx icon in my doc instead of the java icon.

1. Rename logmx.sh to logmx.command (by default in mac .command will open with terminal)
2. Open logmx.command in text editor.
3. Add this to the last line:

Code: Select all

-Xdock:icon=/Applications/LogMX_pro/pics/gfx_export_logmx_tab.png
Note: the icon path is absolute, didn't mess around with trying to get it to be a relative path. Didn't work when i tried it... so modify the path accordingly. The line above assumes that your logmx folder is in the

Code: Select all

/Applications
and is named

Code: Select all

LogMX_pro
4. The resulting line will look something like this:

Code: Select all

# Start LogMX
java -Xdock:icon=/Applications/LogMX_pro/pics/gfx_export_logmx_tab.png $JVM_OPTIONS "$CONFIG_FILE" -cp "$LOGMX_CLASSPATH" $LOGMX_MAIN "$@"
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: Tip for Mac Users, Display LogMX icon in dock

Post by admin »

Hello Black3r,

Thank you for this idea, we will test this and see if we can take it into account in a future release.

Xavier
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: Tip for Mac Users, Display LogMX icon in dock

Post by admin »

LogMX v4.1.3 is now released and includes both new features (dock icon and ".command" script).
Thank you for your feedback!

Xavier
Post Reply