linux – MonoDevelop产生“启动Web浏览器时出错” – 如何解决这个问题?

我以前处理过很多奇怪的MonoDevelop,但是这个真的开始让我烦恼.我正在使用x86-64 Arch Linux并安装了最新的所有软件包(包括MonoDevelop).当我去运行ASP.Net项目时,我明白了

Error launching web browser

GLib.GException: There was an error launching the default action
command associated with this location. at Gnome.Url.Show
(System.String url) [0x00000] in :0 at
MonoDevelop.Platform.Gnomeplatform.showUrl (System.String url)
[0x00000] in
/build/src/monodevelop-2.8.5/src/addins/GnomePlatform/GnomePlatform.cs:134
at MonoDevelop.Ide.DesktopService.ShowUrl (System.String url)
[0x00000] in
/build/src/monodevelop-2.8.5/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DesktopService.cs:84
at MonoDevelop.AspNet.Gui.browserLauncher.launchdefaultbrowser
(System.String url) [0x00000] in
/build/src/monodevelop-2.8.5/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/browserLauncher.cs:42

我该如何解决?我已经读过没有使用Gnome这是一个问题.我从来没有使用过Gnome而且这个曾经一次工作(大约一年前就破了)

解决方法

适合我的解决方案是在终端中键入以下命令:
gconftool-2 --set --type=string /desktop/gnome/url-handlers/http/command '/usr/bin/firefox %s'

(自http://blog.wolfman.com/articles/2006/8/27/getting-f-spot-to-upload-to-flickr-on-kubuntu起)

相关文章

insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...