简体   繁体   English

Mac / Linux Dock中的Java Hide应用程序

[英]Java Hide Application from Mac/Linux Dock

I have read a few articles about this, however, none of them tell me how to even go about doing this. 我已经阅读了几篇有关此的文章,但是没有一篇文章告诉我如何进行此操作。 I believe that I need to incorporate some Mac file called info.plist . 我相信我需要合并一些名为info.plist Mac文件。

Well, what do I do for Linux? 好吧,对于Linux我该怎么办?

I do not own any Macs, nor Linuxes so I have no idea what info.plist is or how to get it. 我既没有Mac,也没有Linux,因此我不知道什么是info.plist或如何获取它。

Could someone please tell me: 有人可以告诉我:

a) How do I "add" my application to the info.plist via Java a)如何通过Java将应用程序“添加”到info.plist

b) How do I hide my application from the Linux dock? b)如何从Linux扩展坞隐藏我的应用程序?

info.plist Articles: info.plist文章:

How to hide the Dock icon 如何隐藏Dock图标

http://hintsforums.macworld.com/archive/index.php/t-57006.html http://hintsforums.macworld.com/archive/index.php/t-57006.html

The info.plist file would be part of your .app bundle (Application.app/Contents/Info.plist). info.plist文件将成为您的.app捆绑包(Application.app/Contents/Info.plist)的一部分。 If you are just distributing a .jar file, you aren't going to have this. 如果仅分发.jar文件,则不会有此文件。

In linux, there isn't really a concept of a "Dock" in general, it would depend very much on the window manager in use at the time. 在linux中,通常没有真正的“ Dock”概念,它在很大程度上取决于当时使用的窗口管理器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM