You are not logged in.

#1 2017-01-09 06:56:42

ntldr
Member
Registered: 2017-01-04
Posts: 65

System theme colors not in VLC/Clementine

Hey

https://bbs.archlinux.org/viewtopic.php?id=221500

I believe I solved this issue with installing infinality-bundle, infinality-bundle-multilib, ibfonts-meta-base, ibfonts-meta-extended but since this came to conflict with https://bbs.archlinux.org/viewtopic.php … 0#p1682080 I decided to remove infinality-bundles but left ibfonts. I noticed that VLC and clementine are not saving the arc-dark theme after rebooting. They switch to that white color theme.

after restart http://i.imgur.com/l2UGZ4w.png -> http://i.imgur.com/FDMn5c3.png after switching appearance.

Offline

#2 2017-01-09 08:35:08

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: System theme colors not in VLC/Clementine

I believe I solved this issue with installing infinality-bundle

Hardly. I suggest you inspect the issue as suggested in the other thread.

Offline

#3 2017-01-09 10:21:58

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: System theme colors not in VLC/Clementine

seth wrote:

I believe I solved this issue with installing infinality-bundle

Hardly. I suggest you inspect the issue as suggested in the other thread.

strace vlc: http://pastebin.com/kK1A72Uj
strace clementine: http://pastebin.com/UDu82UKH

I tried what you suggested earlier but I'm not sure did I do them even correctly so.. there you go. But I'm telling you soon as I uninstalled infinality-bundles and went to freetype2 this happened again nothing else changed.

Offline

#4 2017-01-09 12:12:54

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: System theme colors not in VLC/Clementine

No idea what that should have changed, but the vlc config is only opened for reading and clementine is apparently run against a running instance (ie. doesn't really start at all and notably does not touch any config file)
Nothing is written back in either case and the diffs of the config files should reflect that.

Offline

#5 2017-01-09 13:25:15

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: System theme colors not in VLC/Clementine

seth wrote:

No idea what that should have changed, but the vlc config is only opened for reading and clementine is apparently run against a running instance (ie. doesn't really start at all and notably does not touch any config file)
Nothing is written back in either case and the diffs of the config files should reflect that.

is that the reason it refuses to use system theme? I found solution if I use GTK+  window style in VLC it will display correct theme once system has rebooted. Clementine obviously doesn't save it.. returns to white color scheme while it should be dark (arc-dark)

How do you set them to read/write mode?

Offline

#6 2017-01-09 13:36:11

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: System theme colors not in VLC/Clementine

You don't - strace reports what the process is doing and vlc only opens the cofig in readonly mode (clementine of your  strace not at all)
Thus we know the config isn't written. Why that doesn't happen, I can't say (it should open rw when closing and a crash on exit eg. because you never actually finish the process, but "close it to systray" - god, I hate this phrase - and it crashes when the session quits or something)

The vlc style is in ~/.config/vlc/vlc-qt-interface.conf - grep it for "QtStyle" and see whether that changes after "whatever you do to change it"™

PS: check permissions on that file!

Last edited by seth (2017-01-09 13:36:31)

Offline

#7 2017-01-09 13:44:25

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: System theme colors not in VLC/Clementine

seth wrote:

You don't - strace reports what the process is doing and vlc only opens the cofig in readonly mode (clementine of your  strace not at all)
Thus we know the config isn't written. Why that doesn't happen, I can't say (it should open rw when closing and a crash on exit eg. because you never actually finish the process, but "close it to systray" - god, I hate this phrase - and it crashes when the session quits or something)

The vlc style is in ~/.config/vlc/vlc-qt-interface.conf - grep it for "QtStyle" and see whether that changes after "whatever you do to change it"™

PS: check permissions on that file!

I tested to change the theme it said

~ » grep -a Q  ~/.config/vlc/vlc-qt-interface.conf
QtStyle=GTK+
~ » grep -a Q  ~/.config/vlc/vlc-qt-interface.conf
QtStyle=System's default
~ » sudo ls -l  ~/.config/vlc/vlc-qt-interface.conf
-rw-r--r-- 1 ntldr ntldr 3941 Jan  9 15:42 /home/ntldr/.config/vlc/vlc-qt-interface.conf

I guess that means it should be okay?

Offline

#8 2017-01-09 14:11:01

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: System theme colors not in VLC/Clementine

What happens if you do *not* use the system default, but explicitly choose an installed style (plastique or so)?

Offline

#9 2017-01-09 14:31:49

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: System theme colors not in VLC/Clementine

seth wrote:

What happens if you do *not* use the system default, but explicitly choose an installed style (plastique or so)?

it just changes to that style and stays. if I want to use my system color scheme I need to choose GTK+ style and it will stay even after reboot. Even if I switch appearance to something that is by default in mate it will not stay in that color scheme after reboot.

Offline

Board footer

Powered by FluxBB