• 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/grub
    GRUB_CMDLINE_LINUX="acpi_backlight=vendor“
    sudo update-grub
    sudo 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/ppa
    sudo apt-get update
    sudo 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


     
  • 相关阅读:
    深入理解Java Proxy机制
    StringBuilder与StringBuffer的区别
    反射
    list和set区别
    spring总结
    Hibernate与 MyBatis的比较
    手机拍照或选择照片上传html5代码
    JSP两种跳转
    离散化
    圆方树
  • 原文地址:https://www.cnblogs.com/wjgaas/p/4088578.html
Copyright © 2020-2023  润新知