记Ubuntu14.04Monodevelop安装的两个问题

本文发布时间: 2019-Mar-22
1. Monodevelop 不能运行,显示错误 The assembly mscorlib.dll was not found or could not be loaded.首先要确定mono安装完整,这个问题的可能原因是mono安装的路径不对,monodevelop在/usr/local/lib下找不到mono.解决办法:用which mono查看mono的安装路径,然后建立一个软连接过去就可以了:sudo ln -s /usr/lib/mono /usr/local/lib/推荐用软连接的方式,如果直接复制过去的话还会有其他的问题如c# compiler not found for mono / .net 4.0 什么的2. Monodevelop的默认运行终端xterm很丑用 export GNOME_DESKTOP_SESSION_ID=1 & monodevelop运行的话会让Monodevelop用gnome-terminal做为默认终端把Xterm设置一下vim ~/.Xresources贴上配置文件,我的配置文件如下:! 把这个文件放到用户文件夹下xterm*faceName: Source Code Pro:style=Regular! support chinesexterm*faceNameDoublesize: Droid Sans Fallback:style=Regularxterm*faceSize: 13xterm*vt100.geometry: 90x25xterm*loginshell: true! support 256colorxterm*termName: xterm-256color!Colorterm*cursorBlink: true xterm*background: black xterm*foreground: gray xterm.borderLess: true xterm.cursorBlink: true xterm*colorUL: yellow xterm*colorBD: white ! set Ctrl + V for paste http://forum.ubuntu.org.cn/viewtopic.php?t=143221XTerm*VT100.Translations: #override Ctrl <KeyPress> V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) <BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) Ctrl <KeyPress> P: print() 最后,运行下面命令让设置生效xrdb -load ~/.Xresources顺便吐槽一下,xterm的默认界面真丑陋,不知道吓跑了多少人…..


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:09pm
栏目列表