LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2021, 11:43 AM   #1
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 217

Rep: Reputation: 18
VLC preferences don't persist


I've been using VLC to watch DVDs for years. The version I'm using now is 3.0.12 which is the latest available from the Debian repository. I'm using Devuan--no systemd.

I have a 1920 X 1200 (16:10 ratio) monitor and for 16:9 (widescreen) movies, some of the screen isn't used for the movie. For a long time I had narrow black stripes at the top and bottom of the screen (ie. the video was centered up-and-down). I've recently discovered a way to force the movie to the top of the screen so there's a wide black stripe at the bottom. The point is the full screen controls don't cover up any of the picture.

This is how: Right-click for a menu, click to exit full screen, click Tools => Preferences, under Show settings select "All", scroll down to and select "Video", drag the center divider to the left so the data fields are visible, scroll down to Video alignment, select "Top", and click "Save".

My problem is I have to do this every single time. I can't understand why VLC doesn't save my choices from DVD to DVD. What's weird is most of the time the Video alignment setting remains "Top" on the preferences page but that preference is clearly being ignored. Sometimes the video is very clearly playing at the bottom--not even in the center any more. In other words, there's a wide black stripe at the top of the screen as if I had selected "Bottom".

It's almost as if--now that I've changed a preference--every time VLC starts it chooses a random setting over my preference. It almost never guesses right, either. I've looked in ~/.config/vlc/ at the two config files, but I don't see a setting for Video alignment "Top". Everything I've looked at in ~/.config/vlc/vlcrc appears to be commented out. The stuff in ~/.config/vlc/vlc-qt-interface.conf is mostly gibberish to me.

It's really only an inconvenience to reset VLC to show videos at the top, but right-click click click click click scroll click drag scroll click click every time I start a DVD is getting old real fast.

Last edited by tnandy; 03-17-2021 at 11:45 AM.
 
Old 03-17-2021, 11:59 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I recall someone saying: "VLC is just one big bug".
 
Old 03-17-2021, 06:42 PM   #3
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by Emerson View Post
I recall someone saying: "VLC is just one big bug".
Thanks. That asymptotically approached helpful.
 
Old 03-18-2021, 07:18 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
VLC is my media player of choice although I have to say, I rarely watch videos on my computer. The vlcrc file you reference appears to be the file you need to edit. I looked at it briefly and there are a massive number of settings, most of which are meaningless to me. I expect you've gone through the vlc faq and the documentation wiki? Not much specifically about DVDs. Are the DVDs all the same region?

https://www.videolan.org/support/faq.html

https://wiki.videolan.org/Documentationocumentation

Is the problem you describe specific to VLC, if you try some other media player with the same DVD movie does it have this problem or not?
 
1 members found this post helpful.
Old 03-18-2021, 08:52 AM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,597

Rep: Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545

This FAQ item seems relevant: https://www.videolan.org/support/faq.html#StrangeBehaviour

If that doesn't solve it, I would - whilst VLC is running - duplicate the config directory, change and save the settings, then compare the two directories to see what (if anything) is different, then duplicate it again, stop & start VLC, and see if anything in the directory gets reset at that point?

If not already, make sure to start VLC via the command-line (in case it outputs any debugging information about the config being reset).

Also, it looks like there's a --config parameter - if the above tests show the config is changing for some reason, maybe feeding it a read-only file might be a workaround.

 
1 members found this post helpful.
Old 03-18-2021, 10:43 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by tnandy View Post
Thanks. That asymptotically approached helpful.
On a more serious note, we even do not know if all these setting are meant to be saved. VLC has their own forum, and they may have an IRC channel. Being practical now, I'd head over there and see what they can tell.
 
Old 03-18-2021, 08:28 PM   #7
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by yancek View Post
VLC is my media player of choice although I have to say, I rarely watch videos on my computer. The vlcrc file you reference appears to be the file you need to edit. I looked at it briefly and there are a massive number of settings, most of which are meaningless to me. I expect you've gone through the vlc faq and the documentation wiki? Not much specifically about DVDs. Are the DVDs all the same region?

https://www.videolan.org/support/faq.html

https://wiki.videolan.org/Documentationocumentation

Is the problem you describe specific to VLC, if you try some other media player with the same DVD movie does it have this problem or not?
Quote:
Originally Posted by boughtonp View Post
This FAQ item seems relevant: https://www.videolan.org/support/faq.html#StrangeBehaviour

If that doesn't solve it, I would - whilst VLC is running - duplicate the config directory, change and save the settings, then compare the two directories to see what (if anything) is different, then duplicate it again, stop & start VLC, and see if anything in the directory gets reset at that point?

If not already, make sure to start VLC via the command-line (in case it outputs any debugging information about the config being reset).

Also, it looks like there's a --config parameter - if the above tests show the config is changing for some reason, maybe feeding it a read-only file might be a workaround.
Thanks!

I put hash marks (#, ie. comments) on a number of blank lines in the ~/.config/vlc/vlcrc. Then I started a new DVD. The hash marks I put in have now disappeared. Interesting...and weird. I'm pretty sure that means it's recreating the vlcrc file at some point. That would certainly explain why settings don't persist. I will experiment further to see when the file gets overwritten.

Other than the many headers (eg. "[core]"), only a minuscule fraction of the lines are not commented out.

Last edited by tnandy; 03-18-2021 at 08:29 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changes to $PATH don't persist levelfourtwenty Slackware 7 06-17-2020 01:31 PM
Changes to persistent Live USB don't persist eco_bach Linux - Newbie 4 12-30-2016 03:48 PM
Volume Levels Set With alsamixer Don't Persist On Reboot mwstroberg Bodhi 6 09-28-2014 08:57 AM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
Some GAIM preferences don't work JCScoobyRS Linux - Software 2 03-28-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration