awesome桌面環境下,MATLAB不能正常顯示


原文鏈接https://kb.wisc.edu/cae/page.php?id=30963


This document discusses the error that occurs when attempting to run applications such as Maple and MatLab (which use java to generate their GUIs) while using the Awesome Window Manager.

A blank gray window will appear when attempting to run an application that uses a Java GUI on the Awesome Window Manager. This occurs because the Java-Virtual-Machine does not recognize the Awesome Window manager when it checks the system environment. This will occur mostly when using Maple and MatLab. There is a command line work around for this, which consists of tricking the JVM into thinking that a different window manager is running. This is done using the wmname (Window Manager Name) command line tool.

Simply open a terminal and enter the following line:
"$ wmname LG3D"   (note the $ should not be entered, but represents the command prompt)

After entering this command, Java GUIs should load properly. Any open applications must be restarted for the change to take affect.

More details can be found at:
http://awesome.naquadah.org/wiki/Problems_with_Java

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章