当我在 Midnight Commander 中的 .ts 文件上按 F3 键时,我收到消息:
Please install either mplayer or mpv to get information for this file
如何配置 Midnight Commander 以文本形式查看 .ts 文件?
Linux 薄荷 20.1, 午夜指挥官 3:4.8.24-2ubuntu1
最佳答案
.ts
扩展名通常用于 MPEG 视频,因此 MC 已预先配置为使用视频播放器播放它。
要配置扩展映射,请按F9,选择“命令”菜单并在其中选择“编辑扩展文件”子菜单。参见 my mc.ext
.你需要类似的东西
shell/.ts
Open=less %f
View=%view{ascii} cat %f
关于typescript - 在 Midnight Commander 中查看 typescript .ts 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66148820/