VLC is still running even I closed it already. How to I close it?
How do I close the VLC? After closing VLC and opening it again, the process is still running on my taskbar. How do I close or end the process?
Solution 1:
I have resolved with this: https://learnubuntumate.weebly.com/vlc-closes-fix.html
- Delete folder /home/your user/.config/vlc
- open vlc
- Open Preferences dialog, click on the Videos tab or button at the top. Then change your output to OpenGL video output.
- Then click on the Input / Codecs tab or button at the top. Then change Hardware-accelerated decoding to Disable and then click the Save button. Now close VLC Media Player.
Works for me
Solution 2:
Open "Run a command" window by pressing Alt+F2 or run the following from a terminal:
Try killall vlc
to send SIGTERM
to all instances of vlc
(Tell em to terminate themselves).
If this does not work, try killall -s 9 vlc
to send a SIGKILL
(Tell the system to kill the processes).
Solution 3:
As an addendum to forkirara's answer, it seems that setting Video Output to 'XVideo output (XCB)' also works (tested on Ubuntu 20.04 and PopOS 20.04). This also seems to bypass the need to delete the VLC config folder.
(Sorry for responding as an answer, Stack Exchange forces you to do so until you get the right to make addendums properly as comments).
Hope this helps anyone else coming here because VLC still hasn't fixed this bug!
Solution 4:
As I, recently registered to this forum, I can't up-vote (or comment) any answers. So instead I'll mention it here besides a description of the behaviour on my machine.
First of all forkiraras answer works for me too. I think it should be preferred over killing processes - which isn't the intended way things should work.
Behaviour on my machine:
- opened
vlc
from file -> works - click the x-button of the window -> window closes but vlc is still active in taskbar -> works, I guess
- selecting quit from the taskbar menu won't close vlc(-taskbar)
- selecting "show vlc media player" from the taskbar menu (1st entry) -> brings up the window again You can toggle the program between the window and minimized to taskbar this way.
So actually the program doesn't seem to be unresponsive, but simply won't (correctly) trigger the close-event (or whatever you want to call it).
Solution 5:
It appears this a known issue. All you have to do is go to tools > preferances > Input / Codecs and change the Hardware-accelerated codec to something other than Automatic or VDPAU. Sources: [1]: https://superuser.com/questions/1566707/ubuntu-20-04-vlc-player-not-quitting [2]: https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1871949/comments/8