Odoo 9.0 打印文档不显示中文


先安装中文字体,

sudo apt-get install fonts-droid ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming

更新字体缓存,

sudo fc-cache -f -v

设定locale

sudo nano /etc/default/locale

修改如下:

LANG=”en_US.UTF-8″

LC_NUMERIC=”zh_CN.UTF-8″

LC_TIME=”zh_CN.UTF-8″

LC_MONETARY=”zh_CN.UTF-8″

LC_PAPER=”zh_CN.UTF-8″

LC_NAME=”zh_CN.UTF-8″

LC_ADDRESS=”zh_CN.UTF-8″

LC_TELEPHONE=”zh_CN.UTF-8″

LC_MEASUREMENT=”zh_CN.UTF-8″

LC_IDENTIFICATION=”zh_CN.UTF-8″

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink~

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

Odoo 9.0 打印文档不显示中文 was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus


升级到ubuntu 13.10后,eclipse的菜单无法下拉了。

解决办法:先建立空文档,粘贴如下

[Desktop Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE for all seasons
#Exec=/home/USERNAME/Dokument/eclipse/eclipse
Exec=env UBUNTU_MENUPROXY=0 /home/richard/Apps/eclipse/eclipse
Icon=/home/richard/Apps/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application

然后将文档名修改为eclipse.desktop,然后在属性里面将其设为可执行文件。

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

ubuntu 13.10 eclipse don’t show menus was originally published on DormanThink

the site’s security certificate is not trusted解决方法


使用GoAgent等软件时,在Chrome/Firefox等浏览器浏览时,会出现“the site’s security certificate is not trusted”,导致网站不能访问,这就需要手工添加信任证书。

GoAgent 项目主页: http://code.google.com/p/goagent/

Goagent 是一个使用 Python 和 Google Appengine SDK 编写的代理软件

可以运行在Windows/Mac/Linux/Andorid/iTouch/iPhone/iPad上

GoAgent 的配置方法很简单,需要拥有一个 Google 帐号,然后申请一个 GAE 空间,第一次申请 GAE 空间时需要用手机接收短信验证码。具体的操作可以参考 GoAgent 项目主页。

如果你在使用 GoAgent 时遇到证书不被信任问题,请按以下方法解决,以Chrome为例,Firefox等同理:

Ubuntu 系统:

  • 打开 Chrome 浏览器
  • 首选项 > 高级选项 > 管理证书…
  • 在 授权中心 导入 GoAgent/local 目录下的 CA.crt 证书
    (注意不要导入到 服务器 ,否则不起作用
  • 在 授权中心 找到 GoAgent CA 并点击 修改…
  • 修改

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

the site’s security certificate is not trusted解决方法 was originally published on DormanThink

Android adb devices显示no permission


这是由于adb服务的权限所致。

adb kill-server

sudo adb start-server

adb devices

 

 

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

ubuntu 12.10 安装 java7


感谢webupd8team的ppa~

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

验证安装

java -version

升级命令?

sudo update-java-alternatives -s java-7-oracle

配置java环境,

sudo apt-get install oracle-java7-set-default

删除java

sudo apt-get remove oracle-java7-installer

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink

ubuntu 12.10 安装 java7 was originally published on DormanThink