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

          日歷

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

          搜索

          •  

          最新評論

          今天發(fā)現(xiàn)ubunto12.4沒有默認(rèn)的瀏覽器,導(dǎo)致所有的鏈接打開的時(shí)候從用gedit。google上找到了解決方法:
          編輯以下內(nèi)容:
          [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, 并保存退出。
          執(zhí)行:
          update-desktop-database ~/.local/share/applications/

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

          Ref: http://askubuntu.com/questions/166455/how-do-i-make-luakit-my-default-browser
          主站蜘蛛池模板: 阜南县| 睢宁县| 英山县| 怀远县| 文安县| 布尔津县| 天峨县| 米脂县| 大洼县| 海南省| 绥江县| 耿马| 卢龙县| 安新县| 宝清县| 安远县| 信丰县| 涞水县| 比如县| 婺源县| 偃师市| 徐汇区| 库车县| 北流市| 虎林市| 白水县| 肇庆市| 尤溪县| 措勤县| 齐河县| 通道| 乐业县| 宕昌县| 阿克苏市| 措勤县| 绥德县| 阿图什市| 深泽县| 祁东县| 双流县| 西安市|