Just relax, take it easy..

0%

inspiron7420 装 ubuntu13.04 后的设置

CSDN 以前写的博客
原地址: http://blog.csdn.net/dayadaya/article/details/20140765

(部分代码摘自互联网)

1. 修复引导项

如果只是纯粹的装了 win7/win8 后没有了引导项 可以在 win7/win8 中用 easybcd 把 /boot 添加回来就行了。

要是。。完全把引导弄坏了。可以看一下下面这篇文章。

Reinstall / Recover GRUB from Ubuntu live CD / USB
http://www.howopensource.com/2012/05/reinstall-recover-grub-from-ubuntu-12-04-live-cd-usb/
用 ubuntu live 装一个叫做 boot-repair 的东西    点修复   等运行完点 ok 就行了
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair

2.ctrl + alt + cursor 切换工作区间

装了 ubuntu13.04 后第一个最大的感受就是。。我切换工作区间的快捷键怎么没有用了!!

当然先在设置中把 workspace 打开,还是不行

但在快捷键的列表中看到还是有这几个快捷键。。。最后在 ubuntuask 上看到了这么一个回答

“I had this same issue. I enabled workspace from Appearance->Behavior, and also tried using Ubuntu Tweak, but no go on the keyboard shortcuts, even though all the defaults were there.

I then opened CCSM to make sure that the Desktop Wall was enabled. In my case it wasn't, and as soon as I enabled it, my keyboard shortcuts started working again.”

然后我就装了一下 CCSM,把Desktop Wall 这个选项勾上。。结果真的完全恢复正常了。


3. 更新软件源  
不知道是不是 163 的源里没有 13.04,我直接从 12.10 升级的时候悲剧了。
然后现在让它自动检测最快的源,现在就用 china 的第一个源,貌似也挺好用。

4. 双显卡

一开机笔记本就轰轰轰的掉点      就按以前的方法把独显关了算了       intel 的独显绝对够用了。

cat  /sys/kernel/debug/vgaswitcheroo/switch

echo "OFF" > /sys/kernel/debug/vgaswitcheroo/switch

可以前好像出现过在 ubuntu 中把 nvidia 禁用了    结果 win7 中也开不起来了。 


5. 输入法

以前还装了搜狗的输入法。感觉一般吧

这次在 ubuntu 中用了谷歌的输入法 真的给了我很大的惊喜

输入时光标终于能跟着拼音动      感觉和 windows 的体验也没什么区别了。


6. 开机的亮度

这肯定都知道吧

The file /etc/rc.local should look like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 0 > /sys/class/backlight/acpi_video0/brightness
exit 0

Per @zerdo: In my dell studio 1558 the brightness setting is stored in/sys/class/backlight/intel_backlight/brightness. Just change the path if your computer doesn't use the acpi_video0 folder.

Also, per @Nick : If this is the only answer you read, note that the 0 in echo 0 is going to be your default brightness setting. I had set this up and it was driving me crazy for a long time : every time I booted up, it would set it to the lowest brightness setting. I prefer mine to start at max brightness, so I used echo 10instead. Your hardware might vary in brightness scale.

sudo gedit /etc/rc.local
在 exit 0 前加上

echo 2 > /sys/class/backlight/acpi_video0/brightness

0~10 代表不同的亮度。

作者:daya0576  (天津工大)qq 746058508     欢迎有志同道合的朋友一起学习一起进步

7. 截图小工具  

    sudo apt-get install ksnapshot

结果后来发现 ubuntu 有截图的快捷键  

/images/loading/loading.svg" data-original="


总之 ubuntu 还是很棒的    和 windows 比起来    我更愿意留在 ubuntu~

(小菜一个   学习中     欢迎大家指出错误   >_<|||  )