deepin系统使用笔记

默认分类 · 2017-04-27

把mac、win、ubuntu三系统换成了mac、win、deepin,记录一下,备查

一、更改过的系统库

1.python库

/usr/lib/python3.5/http/client.py,将984行的

self._output(request.encode('ascii'))改为了

self._output(request.encode('utf-8'))

原因是因为在vim的youdao插件里查汉字老报错,报错记录如下

Error detected while processing function <SNR>13_YoudaoEnterTranslate:
line    3:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 78, in translate_visual_selection
  File "<string>", line 29, in get_word_info
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.5/http/client.py", line 1107, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.5/http/client.py", line 1142, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.5/http/client.py", line 984, in putrequest
    self._output(request.encode('ascii'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-16: ordinal not in range(128)

二、使用笔记

1.deepin15.4系统仅使用大屏而不使用mac自带显示屏

control center->右下角有一个显示屏的设置选项,去设置为only dpi就可以了

同时需要进power管理里面,将"suspend on lid close"关掉

2.mac air(2013)的网卡是broadcom的,有时候上网会掉线

换个路由器就好了

具体的网卡型号

Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter (rev 03)

3.打开mysql-workbench等等以java开发的软件是口口口

系统先设置为中文,再设置为英文就好了,在系统设置里设

linux deepin
Theme Jasmine by Kent Liao