页次: 1
Matlab使用XWayland渲染,但画面太小,难以查看。
我使用Kde桌面环境,kde不支持~/.Xresources,但我也尝试了。
并且使用了kde的“由系统进行缩放”X11应用
** ~/.Xresources** 配置如下:
``` text
# vim ~/.Xresources
Xft.dpi: 192
! These might also be useful depending on your monitor and personal preference:
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull:
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
```
**matlab.desktop**配置如下:
``` text
[Desktop Entry]
Type=Application
Terminal=ture
MimeType=text/x-matlab
Exec=env QT_QPA_PLATFORM=xcb MATLAB_USE_OPENGL=hardware /usr/local/MATLAB/R2024b/bin/matlab -desktop -useStartupFolderPref
Name=MATLAB
Icon=MATLAB-Logo
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
```
最近编辑记录 mos (2024-12-30 22:21:42)
离线
已经解决,忘记注销重启Kde环境了
离线
此事在 https://wiki.archlinux.org/title/HiDPI#MATLAB 上亦有记载
Matlab 有自己的 HiDPI 设置,可以通过命令行窗口直接修改
最近编辑记录 parasite9751 (2024-12-30 23:04:51)
离线
此事在 https://wiki.archlinux.org/title/HiDPI#MATLAB 上亦有记载
Matlab 有自己的 HiDPI 设置,可以通过命令行窗口直接修改
好的,谢谢大佬,已经解决了
离线
页次: 1