summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-02 00:08:38 +0200
committerwm4 <wm4@nowhere>2015-04-02 00:08:38 +0200
commit550d908ba8d505b70fb64c4979de4f05f2d452c6 (patch)
treef42b64c6216172e61928d2fe117da86917682253 /etc
parent9b59c175e389e0a0561312139c0861eba37e4719 (diff)
downloadmpv-550d908ba8d505b70fb64c4979de4f05f2d452c6.tar.bz2
mpv-550d908ba8d505b70fb64c4979de4f05f2d452c6.tar.xz
player: add "pseudo-gui" profile
This can be set to select a number of default settings that help mpv pretend that it has a GUI. I haven't decided yet whether I really want to use the profile mechanism for this. There are a number of weird details that are not so easy to handle with profiles, such as disabling pseudo-gui mode again (you can't unset profiles directly). So this might change. But for now it will do. There also should be a better way to store builtin profiles. Unfortunately, the old crappy MPlayer config file parser needs on-disk files, so just use a bunch of function calls for now.
Diffstat (limited to 'etc')
-rw-r--r--etc/mpv.desktop2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/mpv.desktop b/etc/mpv.desktop
index 7bdeee3be7..07564205fd 100644
--- a/etc/mpv.desktop
+++ b/etc/mpv.desktop
@@ -24,7 +24,7 @@ Comment[zh-CN]=播放电影和歌曲
Comment[zh-TW]=播放電影和歌曲
Icon=mpv
TryExec=mpv
-Exec=mpv --no-terminal --force-window -- %U
+Exec=mpv --profile=pseudo-gui -- %U
Terminal=false
NoDisplay=true
Categories=AudioVideo;Audio;Video;Player;TV;