Associate all audio and video files to VLC instead of Totem media player (Movie Player)
Video files: .avi .mp4 .mpg .ogv .ogm .mkv .wmv etc.
Audo files: .mp3 .ogg .flac .wav .wma etc.
Open defaults.list with gedit:
gksudo gedit /usr/share/applications/defaults.list
And replace all occurences of totem with banshee/rythmbox/vlc or the media player of your choice.
(Search → Replace → Replace All) (=totem.desktop => =vlc.desktop)
Save the modified file, and you're done! Change are effective immediately.
Associate all office documents to LibreOffice instead of OpenOffice.org or Abiword
Office files: .odt .ods. .doc .docx .xls .xlsx etc.
Open defaults.list with gedit:
gksudo gedit /usr/share/applications/defaults.list
And replace all occurences of "openoffice.org" with "libreoffice".
(Search → Replace → Replace All)
Finally, save the file. No need to restart, you're all set!
Ubuntu's case
For an obscure reason, changing the file associations directly in the
defaults.list doesn't seem to work Ubuntu 10.10 "Maverick Meerkat".
Nevertheless, importing information to the the mimeapps.list works.
The file associations for each user are stored in:
~/.local/share/applications/mimeapps.list
In Ubuntu 10.10 "Maverick Meerkat" (and probably 10.04 "Lucid Lynx"), this file is almost empty. Let's import informations from
/usr/share/applications/defaults.list
Display all the video MIME types
associations with this command:
cat /usr/share/applications/defaults.list | grep video
Append all the lines containing video types to the local file:
cat /usr/share/applications/defaults.list | grep video >> ~/.local/share/applications/mimeapps.list
Open defaults.list with gedit:
gedit ~/.local/share/applications/mimeapps.list
And replace all occurences of totem with vlc (Search → Replace...) Proceed similarly for audio files if needed.
来源: http://www.libre-software.net/change-the-default-application-linux-mint-ubuntu
分享到:
相关推荐
ubuntu vlc离线方式 执行vlc.sh 然后执行sudo dpkg -iR vlc 详细在我博客有说明!
1、vlc播放rtp说明: https://www.pianshen.com/article/16881974840/ 2、linux vlc安装: sudo apt-get install vlc dkpg默认保存路径:/var/cache/apt/archives 安装包下载路径: ...
混合RF和VLC系统:提高VLC系统的用户数据速率性能
讲解如何在Ubuntu下编译vlc的完整流程
针对可见光通信(VLC)下行链路存在多接入点(AP)重叠覆盖、VLC AP光路易被遮挡和干扰的问题,提出了一种基于服务质量(QoS)决策的异构VLC/无线保真(WiFi)网络联合收发端需求的接入点选择算法。该算法在收端为用户建立...
在ubuntu64位下,MinGW64位交叉编译环境,编译生成32位版本VLC
ubuntu 16.04下出现VLC播放器中文乱码的解决办法.docx
sudo docker build -t exadra37/vlc ~ /.vlc/docker/build如何使用无论我们如何启动vlc它都会始终将当前文件夹映射到/home/vlc/media的Docker容器内。仅打开图形用户界面vlc从网址打开我喜欢Elixi
将VlcPrevNext.lua复制到: Linux(单用户): ~/.local/share/vlc/lua/extensions/ Linux Flatpak(单用户): ~/.var/app/org.videolan.VLC/data/vlc/lua/extensions/ Linux(所有用户): /usr/lib/vlc/lua/...
使用Ubuntu 16.04 64位桌面版本,进行VLC2.2.X 交叉编译,得到windows版exe文件
官方网站的资源下载速度有点慢,Downloading VLC 3.0.12 for Windows 64 bits https://get.videolan.org/vlc/3.0.12/win64/vlc-3.0.12-win64.exe
ubuntu 下实现mplayer播放器的简单demo,参考了相关大神的文档,UI未使用designer设计,使用代码设计界面,初始版本仅供参考。
vlc andrid 编译用到的lib,放在android/vlc/contrib/tarballs下
C# 调用vlc播放器用到的库 libvlc\win-x86 libvlc\win-x64
VLC媒体播放器的自述文件=============================== VLC是一种流行的自由和开源媒体播放器和多媒体引擎,大量个人,专业人士,公司和机构使用。 为VLC媒体播放器使用open so README =========================...
vlc android compile 过程中,当运行到sh compile.sh后,会去下载vlc依赖的库文件,保存位置 /android/vlc/contrib/tarballs/
编译VLC for Android过程中所需要的所有的额外包。使用方法:解压后直接放在vlc/contrib/tarballs的目录下
VLC for Android编译需要的包,部分会被墙掉无法下载,此包下载完放于vlc-android/vlc/contrib/tarballs目录下,重新编译即可
官方vlc安装程序,各版本下载链接 http://download.videolan.org/pub/videolan/vlc/ 官方提供的安装包中 x64 2.2.1版本及以下 x64 2.2.1版本及以下 安装目录下有SDK目录 以上版本没有SDK目录
VLC下载以及动态库静态库下载,包含32位和64位的,下载官网:http://download.videolan.org/pub/videolan/vlc/3.0.4/win32/