服饰李太白 发表于 2022-10-19 14:28:07

mpv配置的小问题

我想使mpv的启动窗口位于屏幕正中央,请问geometry的值该等于多少呢?50%*50%有点偏了,如图:

StarRingChild 发表于 2022-10-19 15:55:49

本帖最后由 StarRingChild 于 2022-10-19 20:45 编辑

autofit=80%
autofit-larger=80%x80%
这两行就行。不用设置 geometry

happygamer 发表于 2022-10-19 16:12:50

50%:50%
    Places the window in the middle of the screen.

你写的是
50%x50%
    Forces the window width and height to half the screen width and height.

服饰李太白 发表于 2022-10-19 16:21:50

happygamer 发表于 2022-10-19 16:12
50%:50%
    Places the window in the middle of the screen.


不好意思,我打错了,写的就是50%:50%

孤雨独火 发表于 2022-10-19 19:03:33

果然是linux的奇怪窗口管理才有这种问题,建议mpv issue
页: [1]
查看完整版本: mpv配置的小问题