公司里传文件用一个叫“飞鸽传书”的软件,但有时我有些工作(比如用planner)得在ubuntu里完成,这样在给同事传 文件的时候就有点麻烦了。本来把飞鸽传书的那个文件ipmsg.exe拷过来,在wine里运行就应该可以了,但是我习惯用英文界面,这样wine的中文乱码这个经典问题就出现了。网上搜一搜大多都是说要拷字体,链接字体,还有删注册表键值什么的。都试过了,对ipmsg没用。最后用了一个简单的方法给解决了。分享一下:

  1. 在屏幕上方panel的空白处点右键,选择Add to Panel…,弹出Add to Panel的窗口。
  2. 在窗口中选择Custom Application Launcher,单击Add,弹出Create Launcher窗口。
  3. Name可以随便填,比如我填入IP Messenger。
  4. 在Command那一行先点Browse…在弹出的窗口中找到ipmsg.exe或者你想要用的其它windows程序,点Open回到Create Launcher窗口,在Command后的框里就填入了刚才找到的程序的路径。
  5. 这时在这个路径前面加上”env LANG=zh_CN.UTF-8 wine “,注意代码最后的wine之后有一个空格不能丢了。
  6. 然后点OK然后Close就可以了。
  7. 这时在Panel上单击出现的图标即可运行,并且也没有乱码了。(使用“飞鸽传书”的话会有错误提示,点“确定”就可以,我这里会连着弹出3次,“确定”之后不影响程序使用。)

Ubuntu (pronounced "oo-boon-too")

Ubuntu is a South African ethical ideology focusing on people’s allegiances and relations with each other. The word comes from the Zulu and Xhosa languages. Ubuntu (pronounced "oo-boon-too") is seen as a traditional African concept, is regarded as one of the founding principles of the new republic of South Africaband is connected to the idea of an African Renaissance.

A rough translation of the principle of Ubuntu is "humanity towards others". Another translation could be: "the belief in a universal bond of sharing that connects all humanity".

         "A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed."

Archbishop Desmond Tutu

As a platform based on Linux, the Ubuntu operating system brings the spirit of ubuntu to the software world.

(Above is from the document "About Ubuntu")