zoukankan      html  css  js  c++  java
  • 装完 Ubuntu 13.10 该干的事儿

    用户界面

    一开始的好印象就是因为不一样的界面嘛,人的“通病”不就是以貌取人&以貌取物惯了么,呵呵。
    参照一点牛人的bolg,thanks:http://blog.csdn.net/haoel/article/details/4875499
    1)GNOME Shell
    Copy:http://www.shunix.com/ubuntu-install-gnome-shell-732/

    2)Compiz 额外特效
    $ sudo apt-get install compiz-fusion-bcop compiz-dev \build-essential
    libtool \libglu1-mesa-dev libxss-dev \libcairo2-dev git-core
    $ git clone git://anongit.compiz.org/users/soreau/scripts
    $ cd scripts
    $ ./compiz-addons install all
    $ nohup compiz –replace

    工具

    1)从命令行安装Ubuntu Tweak
    打开终端,输入下面的命令,并接着输入你的Ubuntu 登录密码。
    第一步:添加tweak源  sudo add-apt-repository ppa:tualatrix/ppa
    第二步:更新      sudo apt-get update
    第三步:安装ubuntu-tweak  sudo apt-get install ubuntu-tweak

    2)QQ2012
    Copy:  http://www.longene.org/forum/viewtopic.php?f=6&t=4700

    3)有道词典

    Copy:http://blog.sina.com.cn/s/blog_6b4bb1ee0101at35.html

    4)UltraEdit for Linux

    删除~/.idm目录就OK了,但是删除这个目录会造成你的一些个性化的设置失效,最后经过测试发现只 需要删除~/.idm/uex/uex.conf 文件就可以了,

    删除之后重新打开UE,就会发现又是30天的试用期,有钱还是可以考虑去支持正版。

    5)Ubuntu软件中心

    搜索:Ubuntu 额外的版权受限程序 

    金牌程序

    SMplayer 新立得 anyway

    6)Install Wine 1.7

    http://www.winehq.org/download/ubuntud

    可以通过终端来添加 Wine PPA 并安装 Wine。这个方法对 Kubuntu、Xubuntu 和其他 Ubuntu 衍生版同样有效。

    sudo add-apt-repository ppa:ubuntu-wine/ppa

    接着运行 ‘sudo apt-get update’ 来更新 APT 的包信息。 现在你就可以使用 ‘sudo apt-get install wine1.7’ 来安装 Wine 了。

    7)音乐支持 Amarok Ryhthmbox
    MP3 Support:需重启
    Ubuntu gstreamer 解码器不完全安装,do:

    sudo apt-get install gstreamer1.0-*

    因为版权和专利的问题,MP3等一些non-free的格式文件支持没有出现在免费的ubuntu系统中,需要我们手动安装一些包来支持。

    sudo apt-get install ubuntu-restricted-extras

    或者可以使用下面的链接来安装。

    Ubuntu: Click here to install the ubuntu-restricted-extras package

    Kubuntu: kubuntu-restricted-extras

    Xubuntu: xubuntu-restricted-extras

    Lubuntu: lubuntu-restricted-extras

     关于详细信息,请转https://help.ubuntu.com/community/RestrictedFormats

    Amarok 乱码

    http://www.ithov.com/linux/100262_2.shtml

    easytag 修改编码 从 新利得软件包管理器Synaptic或者KPackageKit(Kubuntu默认的软件管理) 中搜索easytag

    修改后保存!重新载入Amarok播放列表

     http://blog.163.com/likaifeng@126/blog/static/32097310201281793221348/

    可以使将原来的GB编码转换成UTF-8编码就可以了。

     sudo apt-get install  python-mutagen     
       # 安装mutagen 软件包, 此软件包中有所需要的mid3conv命令。
     find  . -iname "*.mp3"  -execdir mid3iconv  -e utf8 {} \;   
       #  找到当前目录所有以mp3结尾的文件 ,并使用exec执行命令,将编码转换成utf8格式。

    备份与还原

    Copy: http://www.cnblogs.com/samael/articles/2033568.html

    Thinkpad x220i 电源管理和硬盘保护

    按顺序执行以下命令
      $ sudo aptitude install tp-smapi-source
      $ sudo module-assistant get tp-smapi-source
      $ sudo module-assistant build tp-smapi-source
      $ sudo module-assistant install tp-smapi-source
    编辑文件
      sudo gedit /etc/modules
    添加以下内容
      thinkpad_ec
      tp_smapi
      hdaps
    编辑文件
      sudo gedit /etc/rc.local
    加入
      # Make battery live longer
        # echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
      # echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
      搞定。

    温度监控和调节


    监控软件 软件中心 Psensor

    设置APM_level
    sudo hdparm -B128 /dev/sda
    配置文件
    sudo vi /etc/hdparm.conf
    #apm = 128  原来是255
    去掉#
    # -B apm setting
    apm = 128
    就是调解硬盘的apm 那个值越低温度越低  这个确实有点用,现在本子都稳定在 50 度。

    安装 Cinnamon 1.8

    如果你已经不是第一次在 Ubuntu  上安装最新版的 Cinnamon 的话,那么,应该就会知道要加入的 PPA 就是下面的第一行,然后,再搭配执行下面的第二和第三行指令,这样,就可以把最新版的 Cinnamon 给安装起来,不过,要可以开始用 Cinnamon 的话,还是要先登出来改选用 Cinnamon 做桌面管理软件才会改变的啦 !

    sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable

    sudo apt-get update

    sudo apt-get install cinnamon nemo

    安装Conky

    sudo apt-get install conky-all系统监测软件

    ubuntu 12.04 LTS 变身苹果主题

     1.$ wget https://github.com/downloads/ChinaLuo/Mac_Ubuntu/Mac_Ubuntu-12.04.tar.gz -O /tmp/Mac_Ubuntu-12.04.tar.gz
    2.$ tar xzvf /tmp/Mac_Ubuntu-12.04.tar.gz -C /tmp
    3.$ cd /tmp/Mac_Ubuntu-12.04/
    4.$ ./install.sh
    or ($ wget https://github.com/downloads/ChinaLuo/Mac_Ubuntu/Mac_Ubuntu-12.04.tar.gz -O /tmp/Macbuntu-10.10.tar.gz && tar xzvf /tmp/Mac_Ubuntu-12.04.tar.gz -C /tmp && cd /tmp/Mac_Ubuntu-12.04/ && ./install.sh)
    卸载:
    1.$ cd ~/.macubuntu/12.04-1.0/
    2.$ ./uninstall.sh
    (or $ cd ~/.macubuntu/12.04-1.0/ && ./uninstall.sh)

    软件备份

    通过apt-get命令下载的软件包,放在
    /var/cache/apt/archives 目录下 可以tar压缩备份
    下载文件位置可以在
    /etc/apt/source.list文件中指定

    Wine 启动全屏War3

    1.关掉3d。系统-》首选项-》外观,点击 视觉效果,选择第一项 无(N):提供简洁的桌面环境,没有特殊效果。

    2.在终端里定位到war3所在目录,运行 wine war3.exe -openglwine war3.exe -opengl3.检查显卡驱动
  • 相关阅读:
    Linux-netstat
    API接口防止参数篡改和重放攻击
    Java中遍历Map的几种方式
    Java泛型中的标记符含义
    Iterator 和 for...of 循环
    Promise 对象
    Reflect
    正则要求密码长度最少12位,包含至少1个特殊字符,2个数字,2个大写字母和一些小写字母。
    一个JS正则表达式,一个正实数,整数部分最多11位 小数部分最多 8位
    java阿里云短信发送配置
  • 原文地址:https://www.cnblogs.com/xiaotlili/p/2802976.html
Copyright © 2011-2022 走看看