deepin-mq
deepin
2022-01-15 01:11 字体被安装了就是enable,删掉了就是disable
Reply Like 0 View the author
字体被安装了就是enable,删掉了就是disable
我现在的需求就是希望增加命令行功能:deepin-font-manager enable simsun启用宋体,deepin-font-manager disable simsun 禁用宋体,我当然知道可以通过UI界面实现,我的诉求是希望开发人员增加命令行支持,现有
strike@deepin20:~$ deepin-font-manager --help-all
Usage: deepin-font-manager [options]
Deepin Font Manager.
Options:
-h, --help Displays help on commandline options.
--help-all Displays help including Qt specific
options.
-v, --version Displays version information.
--qmljsdebugger Activates the QML/JS debugger with a
specified port. The value must be of
format port:1234[,block]. "block" makes
the application wait for a connection.
--platform QPA plugin. See QGuiApplication
documentation for available options for
each plugin.
--platformpluginpath Path to the platform plugins.
--platformtheme Platform theme.
--plugin Additional plugins to load, can be
specified multiple times.
--qwindowgeometry Window geometry for the main window,
using the X11-syntax, like 100x100+50+50.
--qwindowicon Default window icon.
--qwindowtitle Title of the first window.
--reverse Sets the application's layout direction
to Qt::RightToLeft (debugging helper).
--session <session> Restores the application from an earlier
session.
--display <display> Display name, overrides $DISPLAY.
--name <name> Instance name according to ICCCM
4.1.2.5.
--nograb Disable mouse grabbing (useful in
debuggers).
--dograb Force mouse grabbing (even when running
in a debugger).
--visual <id> ID of the X11 Visual to use.
--geometry <geometry> Alias for --windowgeometry.
--icon <icon> Alias for --windowicon.
--title <title> Alias for --windowtitle.
这里面的的参数项并没有类似enable和disable的命令把?
</code></pre>
</div>Popular Ranking
ChangePopular Events
More
使用
deepin-font-manager --help-all,发现并没有什么 dsiable和 enable的命令,继承过来的参数倒是不少,可以增加命令行控制吗?`