ghidra UI缩放

Resize Ghidra for High DPI screens

If you run Ghidra on a high DPI screen, you will probably find the GUI to be scaled down so small to be almost of no use.

There is a setting that you can adjust to scale the Ghidra GUI:

in $GHIDRA_ROOT/support is a file named launch.properties. In this launch.properties file is the following configuration key:

VMARGS_LINUX=-Dsun.java2d.uiScale=1

Change this line to:

VMARGS_LINUX=-Dsun.java2d.uiScale=2

Then launch ghidra and you should be good to go!


中文版:
$GHIDRA_ROOT/support路径,找到launch.properties文件打开,
修改VMARGS_LINUX=-Dsun.java2d.uiScale=1VMARGS_LINUX=-Dsun.java2d.uiScale=2

注意:
$GHIDRA_ROOT/support这个路径是ghidra的安装路径下的support文件夹,可能是/opt/ghidra/support或者是其他路径(不同的发行版,具体的安装位置可能不同,参考linux中软件安装目录

参考

https://gist.github.com/nstarke/baa031e0cab64a608c9bd77d73c50fc6 | Resize Ghidra for High DPI screens

posted @ 2023-07-09 13:03  MinDreaMaster  阅读(57)  评论(0编辑  收藏  举报