ubuntu14.04
14.10显卡驱动有问题
1.恢复启动引导菜单:启动盘 -> 运行到分区之前,不要分区 -> shift+f10 进入dos -> bootsec /fixmbr ->关闭重启。
2.easyBCD:
title Install Ubuntu
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-14.04-desktop-i386.iso ro quiet splash
locale=zh_CN.UTF-8
initrd (hd0,0)/initrd.lz
注意iso-scan是连在一起的
3.分区: /,swap,/home 都是逻辑分区
4.更新源
cp /etc/apt/sources.list /etc/apt/sources.list.bak
gedit /etc/apt/sources.list
#网易163源:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
#搜狐源:
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
#oschina源:
deb http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse
apt-get update
5.字体
文泉驿:
apt-get install ttf-wqy-zenhei
aptitude install ttf-wqy-microhei
inconsolata:
sudo apt-get install fonts-inconsolata
6.unity-tweak-tool
apt-get install unity-tweak-tool
7.http://pinyin.sogou.com/linux/?r=pinyin
#update-manager -> 在更新管理器中,选择菜单:编辑->软件源,点击添加...按钮,在弹出的窗口
#中输入ppa:fcitx-team/nightly, 点击添加源。-> 重新载入 -> Ubuntu软件中心,在搜索栏输入
#fcitx,将会搜出fcitx,然后按照一般软件安装步骤安装即可完成升级。
#im-switch: apt-get install language-selector-gnome
8.Indicator Synapse
add-apt-repository ppa:noobslab/apps
apt-get update
apt-get install indicator-synapse
其默认的快捷键super+Alt+Spaces在Ubuntu14.04下不能用,只能采用变通的方式。先安装Xdotool工具。
sudo apt-get install xdotool
然后在系统的快捷键设置keyboard中的custom shortcuts中添加新快捷键并用如下命令:
xdotool mousemove 1220 5 click 1 mousemove restore
其中1220需要自己根据自己屏幕的分辨率尝试。添加好后设置自己的快捷键。
9.nvidia
wget cn.download.nvidia.com/XFree86/Linux-x86/340.58/NVIDIA-Linux-x86-340.58.run
10.亮度
sudo gedit /etc/default/grubsudo update-grubsudo gedit /etc/rc.local在打开文件里增加一句(加在exit 0之前)
代码:
echo 500 > /sys/class/backlight/intel_backlight/brightness
然后保存即可
11.bumblebee
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
lspci |grep VGA
此时会输出:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) //rev 09表示正在使用
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff) //rev ff表示关闭
然后输入代码:
optirun nvidia-settings -c :8
另外,在用擎天柱的时候可能会出现以下情况
[ 76.145099] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 76.145199] [ERROR]Aborting because fallback start is disabled.
然后再用
lspci |grep VGA
会发现
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1) //N卡打开了!!!
怎么破呢?
这时候我们之需要修改 /etc/bumblebee/xorg.conf.nvidia 即可。
代码:
sudo vim /etc/bumblebee/xorg.conf.nvidia
或 sudo gedit /etc/bumblebee/xorg.conf.nvidia
将BusID "PCI:01:00:0" 前面的 # 去掉 ,然后保存即可。
然后再次输入
optirun nvidia-settings -c :8
这次察看显卡信息的窗口就会出现了,而且关闭后再输入
lspci |grep VGA
会显示N卡是关闭的。
optirun glxgears
找不到NVIDIA
sudo update-alternatives --config x86_64-linux-gnu_gl_conf
------------------------------------------------------------
0 /usr/lib/nvidia-331/ld.so.conf 8604 auto mode
1 /usr/lib/nvidia-331-prime/ld.so.conf 8603 manual mode
2 /usr/lib/nvidia-331/ld.so.conf 8604 manual mode
* 3 /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode
Press enter to keep the current choice[*], or type selection number: (Tried with all the above selections)
update-alternatives: using /usr/lib/nvidia-331-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
sudo ldconfig -n
sudo update-initramfs -u
12. chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome-stable_current_amd64.deb
13. qt5
下载地址为:http://qt-project.org/。
文件名是”qt-linux-opensource-5.0.2-x86-offline.run”。
./qt-linux-opensource-5.0.2-x86-offline.run
选择LGPL许可协议 14. tint2
apt-get install tint2
打开Unity Dash(按下Windows键吧),然后搜索启动程序。
命令那栏输入tint2,
15. Ambiance和Radiance colors主题包
sudo add-apt-repository ppa:ravefinity-project/ppasudo apt-get updatesudo apt-get install ambiance-colors radiance-colors
16.词典
sudo apt-get install stardict 17.docky
sudo add-apt-repository ppa:ricotz/docky
sudo apt-get update
sudo apt-get install docky
ubuntu14.04的更多相关文章
- win8.1硬盘安装ubuntu14.04双系统
在网上找了很多方法都失败了,原因是大多数方法都是用mbr方式安装的,如grub4dos,easybcd.以至于连自己都怀疑win8能不能用硬盘安装,差点就去买个u盘来安装了,就在打算放弃的时候在ubu ...
- Ubuntu14.04配置Mono+Jexus
总所周知,ASP.NET是微软公司的一项技术,是一个网站服务端开发的一种技术,它可以在通过HTTP请求文档时再在Web服务器上动态创建它们,就是所谓动态网站开发,它依赖运行于 IIS 之中的程序 .但 ...
- ubuntu14.04安装及web环境的搭建
在进行接下来的工作之前首先得准备一个Ubuntu的启动U盘以及腾出一个至少50G的系统盘(在网上看到有人用20G的,不知道效果怎么样).关于Ubuntu启动U盘大家可以参考这个帖子 http://ti ...
- Ubuntu14.04解决远程root-ssh拒绝登录
(1)查看ip地址是否冲突 我在单位的虚拟机ip地址是192.168.14.85,与其它机器冲突了.改成了192.168.14.83 (2)关闭Ubuntu14.04的防火墙 root@stgman- ...
- Ubuntu14.04安装python3.5
Ubuntu14.04系统会自带python2.7,请不要卸载它,不同版本的Python可以共存. #sudo add-apt-repository ppa:fkrull/deadsnakes #su ...
- ubuntu14.04下搭建python+mysql环境
简略记录ubuntu14.04下搭建python操作的mysql服务器的过程和其中遇到的问题及解决方法. 第一部分: 安装mysql 安装步骤:1. sudo apt-get install mysq ...
- ubuntu14.04环境下spyder的安装
在ubuntu14.04系统中,默认在/usr/lib目录下安装了python2.7.6和python3.4.3,在该环境下安装spyder,然后使其链接到python3.4.3. 首先安装为pyth ...
- Ubuntu14.04源
Ubuntu14.04源: 来源: http://wiki.ubuntu.org.cn/Qref/Source (包含15.04.14.10.14.04.12.04.10.04的源) Ub ...
- Ubuntu14.04安装配置web/ftp/tftp/dns服务器
目录: 1.安装ftp服务器vsftpd --基于tcp,需要帐号密码 2.安装tftp服务器tftpd-hpa,tftp-hpa --udp 3.web服务器--使用Apache2+Mysql+PH ...
- LNMP虚拟机开发环境配置--vagrant+virtualbox+ubuntu14.04
工作一直用的是别人打包好的虚拟机开发环境,感觉确实很酷.所以准备自己配个开发环境,为之后自己开发一些有趣的东西做准备. ok,开始~~~ 一.安装软件 vagrant和virtualbox 此处需注意 ...
随机推荐
- Python与C/C++相互调用(python2 调c++那个试了ok)
一.问题 Python模块和C/C++的动态库间相互调用在实际的应用中会有所涉及,在此作一总结. 二.Python调用C/C++ 1.Python调用C动态链接库 Python调用C库比较简单,不经过 ...
- Linux nohup和&后台运行,进程查看及终止,进程信息输出,控制台信息输出
nohup和&后台运行,进程查看及终止 1.nohup 用途:不挂断地运行命令. 语法:nohup Command [ Arg … ] [ & ] 无论是否将 nohup 命令的输 ...
- pod install [!] Unable to find a specification for `XXX`
今天下载了别人的源码学习的时候,执行pod install报错如下: 解决办法: 更新下pod即可. pod update install成功.
- UIScrollView实现自动循环滚动广告
实现效果如下: 功能说明: 程序运行,图片自动循环播放,采用定时器实现; 当用户用手势触摸滑动时,定时器的自动播放取消,停止触摸时,自动无限播放; 代码如下 : 采用封装视图,外部进行调用即可: 1. ...
- Intellij IDEA 2016.3.4 注册激活--转
对于Intellij IDEA 2016.3.4 可以填写注册server http://jetbrains.tech 来激活. 参考:https://www.haxotron.com/jetbra ...
- maven中央仓库的配置在哪里?superpom是什么?中央仓库查找三方包
maven的superpom 每个项目都默认继承的pom 位置 $M2_HOME/lib/maven-model-builder.jar 使用tar -xvf解压后,grep -r central 搜 ...
- lvs整理
LVS是Linux Virtual Server的简写,即Linux虚拟服务器,是一个虚拟的服务器集群系统.通过LVS提供的负载均衡技术和Linux操作系统实现一个高性能.高可用的服务器群集,它具有良 ...
- 使用GDAL进行波段分离
波段分离一般最常用的还是OpenCV,使用OpenCV的split方法可以直接对波段分离,并且效果不错,但是有一个问题是只能处理有限波段的数据,比如波段超过一定的数目就无法完成波段分离工作,或者数据有 ...
- w10环境下Hexo博客搭建
w10使用hexo+github手把手搭建自己的第一个博客 对一个程序员来说,博客的重要性不言而喻,不但可以积累知识,还可以更好的给别人分享自己的心得.今天就以时下比较流行的hexo博客搭建属于自己的 ...
- weblogic搭建总结
目录: 一.安装weblogic软件 二.创建域 三.启动管理节点 四.创建被管理节点 五.部署应用 一.安装weblogic软件 一.关闭selinux和防火墙 service iptables s ...