You are not logged in.
I thought appdata files just provided information to "software store" style apps; the user's config has to be somewhere in their home folder.
Offline
CSD first: gtk3-nocsd doesn't seem to do all that much.
When I first launched gnome-mpv on a laptop with gtk3-nocsd installed, default config (see /etc/X11/Xsession.d/01gtk3-nocsd) the result was an openbox generated title bar+decorations, and the app title bar below it, something like this:
After all my hacking around, that no longer happens, and to get the "no-csd" appearance there I now have to call it explicitly with 'gtk3-nocsd gnome-mpv'. No CLI variable-passing changes anything.
( See https://github.com/PCMan/gtk3-nocsd )
But anyway, g-m has an internal setting in preferences "Enable client-side decorations" which, if unchecked, has a much deeper effect - reverting the top bar to a traditional File Edit View Help. Less attractive to some maybe, but more important than the fact that I prefer it that way, is a github issue with tearing, seemingly related to CSD:
https://github.com/gnome-mpv/gnome-mpv/ … -254710306
https://github.com/mpv-player/mpv/issues/4197
So (to move on to the config file issue) I was looking for a place to set CSD disabled by default in the user $HOME. It remembers the setting so it must be stored somewhere.
~/.config/mpv/mpv.conf does not exist, nor anything in ~/.config/gnome-mpv
/usr/share/appdata/io.github.GnomeMpv.appdata.xml has only basic, er, app data.
I'll try running it with strace and see if I can catch a write operation to some file when amending the setting via the GUI...
But if anyone can save me the trouble it would be nice.
EDIT:
'strace -e open gnome-mpv' indicated access to /run/dconf/user/1000 and ~/.config/dconf/user. These are binary files that can only be read dconf-editor (or dconf from dconf-cli). However, even if both are deleted, gnome-mpv still remembers its client-side-decorations enabled/disabled setting! I've had about enough of this, to be honest.
Unless someone has a bright idea, I'm for just having gnome-mpv in the install menu, and leaving it up to users from there on...
Last edited by johnraff (2018-01-21 08:24:10)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline