LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2019, 05:15 AM   #1
RedBlueYellow12
LQ Newbie
 
Registered: Aug 2019
Location: Melbourne, Australia
Distribution: Slackware
Posts: 27

Rep: Reputation: Disabled
How do I change the default video player?


I use MC for most of my file exploring, but I would like it to use VLC instead of xime when I open a video. Right now I just run vlc on the file, but I'm not sure if there's some config file out there that makes it do it automatically. I use fluxbox, slackware 14.2.
 
Old 08-22-2019, 05:45 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
mc should use xdg-open so you can check the file type
Code:
$ xdg-mime query filetype whatever.mkv
video/x-matroska
and then set vlc as the default helper for that type of file
Code:
$ xdg-mime default vlc.desktop video/x-matroska
 
6 members found this post helpful.
  


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
[SOLVED] [Q]Kubuntu 14.04 Amarok Player and Video player not playing music and video sameer.n.soni Linux - Newbie 6 06-20-2014 01:46 PM
If video is loaded in web browser I cannot hear video in VLC or other video player... linustalman Linux - Software 0 12-17-2011 09:48 AM
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 10:01 AM
how to change the default audio / video player in linux thinknologist Linux - Software 3 04-13-2007 12:48 AM
Default Media Player Not Playing Windows Media Player Files kenlitting SUSE / openSUSE 2 11-29-2006 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:11 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