日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

ubuntu 設置默認值 VLC / LibreOffice 等

系統 2355 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條評論
主站蜘蛛池模板: 都兰县| 科尔| 麟游县| 霞浦县| 福清市| 囊谦县| 左云县| 新乡县| 鄢陵县| 娄烦县| 尼玛县| 惠来县| 馆陶县| 屏东市| 岳池县| 枣庄市| 瓦房店市| 运城市| 托克逊县| 连山| 本溪| 长治市| 自贡市| 奉贤区| 电白县| 昌平区| 大庆市| 宝鸡市| 南木林县| 尚志市| 获嘉县| 上饶市| 岳池县| 星子县| 雅安市| 平和县| 肇东市| 沁水县| 观塘区| 米易县| 阳泉市|