ubuntu tips

1. 使用live-cd 进入 root帐号
ubuntu@ubuntu:~$ sudo su -

root@ubuntu:~#


2. ubuntu grub 调整系统启动顺序

cd  /etc/grub.d

ls -l

-rwxr-xr-x 1 root root 6831 2010-10-06 20:23 00_header
-rwxr-xr-x 1 root root 1481 2010-10-06 20:05 05_debian_theme
-rwxr-xr-x 1 root root 4757 2010-10-06 20:23 10_linux
-rwxr-xr-x 1 root root 5028 2010-10-06 20:23 20_linux_xen
-rwxr-xr-x 1 root root 1588 2010-09-25 01:14 20_memtest86+
-rwxr-xr-x 1 root root 6933 2010-10-06 20:23 30_os-prober
-rwxr-xr-x 1 root root  214 2010-10-06 20:23 40_custom
-rwxr-xr-x 1 root root   95 2010-10-06 20:23 41_custom
-rw-r--r-- 1 root root  483 2010-10-06 20:23 README

30_os-prober即为安装的windows系统

cp 30_os-prober 02_os-prober 

这样windows就在ubuntu启动前面

再update-grub  或者 grub-mkconfig

参考

blog.csdn.net/fangkailove/article/details/6917388


3. 怎样打开64位 Ubuntu 的32位支持功能

jingyan.baidu.com/article/7082dc1c539c15e40a89bd3e.html


4. 解决Ubuntu TXT文档编码问题(中文为乱码)

4.1 gedit解决方法1

打开Gedit-> 打开Open对话框-> 选择Character encoding,add "Chinese Simplified (GBK)" -> 关闭Gedit重启,再次打开选用GBK编码

4.2 gedit解决方法2

在终端输入sudo apt-get install dconf-tools 安装dconf-editor
然后输入命令dconf-editor打开
dconf-editor下 org--->gnome--->gedit--->preferences--->encodings--->auto-detected
最前面添加
'GB18030', 'GB2312', 'GBK',
注销之后OK

参考:www.linuxidc.com/Linux/2011-12/48867.htm

4.3 vim解决方法设置如下:gedit ~/.vimrc

加入以下内容:

let &termencoding=&encoding
set fileencodings=utf-8,gb18030,gbk,gb2312,big5

(这样设置后对其他编码可能不兼容,自己主要使用什么编码自己权衡)


5. ubuntu 密码修改

sudo passwd user(root或对应的用户名)


6.ubuntu14.04输入法安装

自带的中文输入法不能正常使用。在ubuntu software center 搜索关键字ibus,找到IBus Pinyin Setup,移除重装,再注销就可以正常使用了。

个人感觉IBus Pinyin 不怎么好用,安装了googlepinyin 感觉也差不多,估计是在windows下用习惯了sougou的原因^_^

sogou输入法安装详见博客 ubuntu14.04tips(markdown试用)


7.ubuntu14.04截图工具使用

按键盘上pirnt键截取整个桌面(prt sc sysrq),ctrl+shift+print截取区域,截取完之后在clipboard中,打开libreoffice writer -》paste;右键save graphic可以存为图片(没有找到对图片的编辑功能.....)


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值