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

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

          Posted on 2012-08-20 11:28 Milo的海域 閱讀(1031) 評論(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
          主站蜘蛛池模板: 普兰县| 逊克县| 清原| 蒙城县| 枞阳县| 青州市| 丰原市| 云安县| 古交市| 和平县| 前郭尔| 寿阳县| 崇阳县| 潞西市| 永福县| 双流县| 临洮县| 镇雄县| 萨迦县| 沾益县| 三河市| 社会| 东城区| 营山县| 鹤峰县| 庆安县| 临城县| 花莲市| 弥勒县| 垫江县| 宁武县| 鄯善县| 正安县| 淮安市| 南部县| 天水市| 桐城市| 玉溪市| 工布江达县| 贞丰县| 饶阳县|