Hide Dock Icon

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Hide Dock Icon

Postby madman555 » Thu Aug 08, 2013 5:51 am

In version 1.90, I can't hide the dock icon using <key>LSUIElement</key><string>1</string> in the Info.plist file
Any suggestions? Thanks!
madman555
 
Posts: 2
Joined: Thu Aug 08, 2013 5:49 am

Re: Hide Dock Icon

Postby aki » Mon Aug 19, 2013 4:51 am

open "PS3 Media Server.app/Contents/MacOS/pms.sh"
add -Dapple.awt.UIElement="true" to execute commnd
ex:
Code: Select all
# Execute the JVM
"$JAVA_HOME/bin/java" $JAVA_OPTS \
   -Xmx768M -Xss1024k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true \
   -Dapple.awt.UIElement="true" \
   -Xdock:icon="$APPLICATION_DIR/Contents/Resources/pms.icns" \
   -classpath "$PMS_JARS" \
   net.pms.PMS
aki
 
Posts: 1
Joined: Mon Aug 19, 2013 4:47 am

Re: Hide Dock Icon

Postby Raptor399 » Mon Aug 19, 2013 9:45 pm

Thanks for the great tip!
Scripted and committed.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Hide Dock Icon

Postby madman555 » Wed Aug 21, 2013 4:30 am

Thanks!!!!
madman555
 
Posts: 2
Joined: Thu Aug 08, 2013 5:49 am


Return to Mac OS X Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests