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有截图的快捷键  




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


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


Comments(需翻墙)

-->