2

It's possible to open a file with VLC by first opening VLC and then opening the file "from within" VLC, but double clicking a file (to play in VLC) doesn't work ("VLC is not supposed to be run as root"). How can I fix this?

There are answers such as this, but that's greek for us mere mortals who are not familiar with "hex editors" or IT in general. Can anyone explain step-by-step how to run VLC the way I want?

11
  • 2
    Where are you double-clicking the file? Ex: on the Desktop, in a folder you opened from the terminal, absolutely anywhere, etc. – anonymous2 Jun 22 '16 at 22:08
  • 4
    You are logged in as root? This is not usual or safe practice, but perhaps you have a specific need to do this? – andrew.46 Jun 22 '16 at 22:10
  • Well I am logged in to my user account, if that's what you mean. Do you suggest I only use guest session, always? – Erik Vesterlund Jun 22 '16 at 22:12
  • 3
    Odd though, you should be able to run vlc exactly as you describe and certainly this is the case for own setup. Can you 1. Describe where these media files are, if on Hard Drive, external drive, $HOME directory, /usr/local etc. 2. Can you give the results of this command as well: ls -l /usr/bin/vlc. Hopefully there can be some resolution :). If you answer this message with: @andrew.46 I will get notification... – andrew.46 Jun 23 '16 at 6:01
  • 1
    How did you install VLC, which account owns the media files that you want to play back and what are the permissions on them? – David Foerster Jun 23 '16 at 10:20
0

If I understand correctly then you are trying to use VLC Media Player as default application for playing the video(s). Please follow the given steps to make VLC your default media player:

  • Go to the video file you want to open.
  • Right click on it and go to properties.
  • Now in the properties go to the "Open With" tab.
  • If you have VLC installed then it would be there in the list.
  • Click on the VLC icon.
  • Now go to the bottom right corner of the dialogue box and click on "Set as default".

All Done.......... Cheers...

PS: Check the image below if anything is not clear

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.