posts - 88, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          日歷

          <2012年8月>
          2930311234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

          搜索

          •  

          Ubuntu12.4如何設置firefox為系統默認瀏覽器

          Posted on 2012-08-20 11:28 Milo的海域 閱讀(1038) 評論(0)  編輯  收藏 所屬分類: Linux
          今天發現ubunto12.4沒有默認的瀏覽器,導致所有的鏈接打開的時候從用gedit。google上找到了解決方法:
          編輯以下內容:
          [Desktop Entry]
          Version
          =14.0
          Name
          =Mozilla Firefox Web Browser
          Comment
          =Browse the World Wide Web
          GenericName
          =Web Browser
          Keywords
          =Internet;WWW;Browser;Web;Explorer
          Exec=/opt/firefox/firefox %u
          Terminal
          =false
          X-MultipleArgs
          =false
          Type
          =Application
          Icon
          =firefox
          Categories
          =GNOME;GTK;Network;WebBrowser;
          MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
          StartupNotify=true
          Actions
          =NewWindow;
          到文件~/.local/share/applications/firefox.desktop, 并保存退出。
          執行:
          update-desktop-database ~/.local/share/applications/

          配好以后"System Settings -> Detail -> Default Applications -> Web" list里就會有firefox了。

          Ref: http://askubuntu.com/questions/166455/how-do-i-make-luakit-my-default-browser
          主站蜘蛛池模板: 铁力市| 会宁县| 固原市| 孝义市| 咸宁市| 桦南县| 托克逊县| 高州市| 布尔津县| 长岭县| 松潘县| 中卫市| 明光市| 盐亭县| 郸城县| 彭山县| 清丰县| 天门市| 镇平县| 林甸县| 高雄县| 湘阴县| 招远市| 莱阳市| 南皮县| 曲靖市| 栾川县| 虎林市| 荣昌县| 松溪县| 洛扎县| 敖汉旗| 阳西县| 乌海市| 靖江市| 县级市| 额济纳旗| 诸城市| 云霄县| 蒙山县| 扶绥县|