centos7消除JavaEmbeddedFrame

1、安装vivado2017.4之后出现JavaEmbeddedFrame

检查可能是由于开机启动xilinx information center,通过打开xilinx information center并禁止掉开机启动,问题解决。

2、隐藏JavaEmbeddedFrame

As this still was an issue for me – Ubuntu 17.10 artful with Cinnamon 3.4.6 from Ubuntu's default software sources, using "Icing Task Manager" as my task bar/window list –, here's a "fix" (rather a workaround) that hopefully works for others, too. This fix should not be limited to Cinnamon, though. Certainly, neither issue nor fix are limited to Linux Mint. This should work in any Desktop Environment or applet that makes use of the *.desktop files in /usr/share/applications/ and ~/.local/share/applications/ for applications menu and/or docks/task list/task bar.

Create a plain-text file in the following sub-folder within your $HOME directory (create sub-folders if necessary – that's what the -p switch below is for). The name of the file itself does not really matter, the filename extension is the important part. For the sake of this example, let's call the file hide-JavaEmbeddedFrame.desktop. Run the following two commands, one after the other, in a terminal window as your normal user:
CODE: SELECT ALL
mkdir -p ~/.local/share/applications/
gedit ~/.local/share/applications/hide-JavaEmbeddedFrame.desktop

[Desktop Entry]
Version=1.0
Name=Hide JavaEmbeddedFrame
Comment=Hide the invisible JavaEmbeddedFrame window created by some Java applications (like jDownloader) and visible in some docks or task lists/task bar applets
Terminal=false
Type=Application
NoDisplay=true
StartupWMClass=sun-awt-X11-XEmbeddedFramePeer


Of course, instead of gedit you can use whichever text editor you feel comfortable with or that is installed on your system, such as nano/pico, vim, emacs, pluma, sublime-text, ...

Paste the following content into the new and empty file opened by your text editor, save the file and exit the editor:

I think, the lines starting with Name= and Comment= are, in fact, optional, as this information should not be displayed or used anywhere (prohibited by NoDisplay=true). However, I recommend leaving these lines there in case you stumble upon this long-forgotten file in a few months or years and wonder what the heck it is good for. ;) Of course, you can adjust their text to your liking, translate it to your language, whatever you like. The other lines are necessary as is (well, the Terminal= line might not be, but I really don't feel like diving into the horrible and incomplete documentation of .desktop files right now :twisted:).

In case of Cinnamon, you might have to restart Cinnamon (Ctrl+Alt+Esc or Alt+F2 and enter r or Alt+F2 and enter cinnamon --replace or right-click on panel > Troubleshoot > Restart Cinnamon). Same goes for other Desktop Environments: you might have to restart them for the changes to take effect. Or simply log out and back in again.

If this fix works for you, and you want to apply it system-wide – hence, for all users on the machine –, simply move the hide-JavaEmbeddedFrame.desktop file as root to the /usr/share/applications/ folder.

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值