亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

ubuntu 設置默認值 VLC / LibreOffice 等

系統 2126 0

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 / LibreOffice 等


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 老司机午夜性大片免费 | 国产香蕉免费精品视频 | 国产高清免费视频 | 亚洲国产成人久久综合一 | 久久久久久久亚洲精品 | 亚洲第一综合色 | 国产日韩欧美亚洲综合在线 | 在线亚洲欧洲国产综合444 | jizzjizz美女| 久久午夜综合久久 | 成人免费观看网欧美片 | 天堂成人精品视频在线观 | 天天天干干干 | 天天做天天爰夜夜爽 | 97在线观免费视频观看 | 国产欧美日韩精品高清二区综合区 | 久久91亚洲精品久久91综合 | 成人久久网 | 伊人国产在线播放 | 国产尤物在线视频 | 国产视频福利在线 | 亚洲综合色婷婷 | 高清性色生活片久久久 | 一区二区三区免费在线观看 | 日本毛片在线看 | 亚洲精品综合一区二区三区 | 亚洲精品日本高清中文字幕 | 91在线视频观看 | 日本一级特黄毛片高清视频 | 久久精品精品 | 国产成人精品日本 | 老子午夜伦影理论片 | 中文字幕国产在线 | 国产乱码在线精品可播放 | 日本黄色不卡视频 | 久久国产精品永久免费网站 | 亚洲无成人网77777 | 精品国产第一国产综合精品gif | 天天操综合视频 | 日韩天天干 | 伊人精品成人久久综合欧美 |