Debian8.2 下的软件配置

 

Add "ll" to alias: ~/.bashrc里面实际上已经有这个alias,把注释去掉就可以了

小红点(指点杆)的启用

这个版本可以在系统配置里把触摸板关掉, 但是这个版本中已经无法apt-get install安装 gpointing-device-settings 了, 要用xinput

复制代码
sudo apt-get update
sudo apt-get install xinput

#To query the available options
xinput list-props "TPPS/2 IBM TrackPoint"
#More information can be found in the man-pages for evdev 
man evdev
#To enable vertical scrolling
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
复制代码

to make it permenant, put these lines to file ~/.xprofile, if it doesn't take effect, write it to .xsessionrc

xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 1

 

开发环境

常用的环境软件都解压放到了/opt下, ant, maven, jdk1.6~1.8, tomcat, 同时软链接/usr/bin下的java命令到指定版本

sudo ln -s /opt/java/jdk1.8.0_45/bin/java /usr/bin/java
java -version
sudo ln -s /opt/java/jdk1.8.0_45/bin/javac /usr/bin/javac
sudo ln -s /opt/java/jdk1.8.0_45/bin/javaws /usr/bin/javaws

 

安装SVN

首先查看版本

~$ aptitude show subversion
Package: subversion               
State: not installed
Version: 1.8.10-6+deb8u1
Priority: optional
Section: vcs
Maintainer: Peter Samuelson <peter@p12n.org>
Architecture: amd64
Uncompressed Size: 4,733 k
Depends: libsvn1 (= 1.8.10-6+deb8u1), libapr1 (>= 1.4.8-2~), libaprutil1 (>=
         1.2.7+dfsg), libc6 (>= 2.4), libldap-2.4-2 (>= 2.4.7), libsasl2-2

已经是1.8了, 可以直接安装. apt-get install subversion

输入法

在Debian8.2上安装fcitx非常顺利, 执行sudo apt-get install fcitx fcitx-googlepinyin就可以了. 在系统设置里能找到fcitx的配置(不行的话重启下试试), 检查如果input method里面有Google Pinyin, 热键里有Ctrl+Space, 就可以使用了. 如果只有Keyboard - English, 点击左下角的 + , 把Only show current language 的勾去掉, 搜索google试试。
Google Pinyin没有配置界面, 但是中文下使用英文标点是可以用快捷键实现的, 而且会保持记忆, 这点比较赞. 唯一没弄明白的就是如何切换简体和繁体.

Intellij idea
实际上安装过程很简单, 就是解压

tar -zxvf ideaIU-14.1.1.tar.gz 
sudo mv idea-IU-141.178.9/ /usr/local/share/intellij-idea
cd /usr/local/share/
sudo chown -R root:root intellij-idea/

在Debian里面添加到菜单, 可以通过Preferences下的Main Menu这个工具, 创建一个新Item, 关联到idea.sh, 并修改ico到idea png.

 

字体

<!--?xml version="1.0"?-->
<!-- /etc/fonts/local.conf file to configure local fonts -->
<fontconfig>
<!--
    字体别名设置,主要设置SimSun和NSimSun,设置之后后面的SimSun和
    NSimSun英文替换只用针对英文别名写,中文别名可以不写了。
-->
    <match target="pattern">
        <test name="family">
            <string>宋体</string>
        </test>
        <edit name="family" mode="assign">
            <string>SimSun</string>
        </edit>
    </match>

<!--
    Sans 字体族, 和Sans-Serif同义, 无衬线字体
-->
    
<!--
    Sans-serif 字体族, 无衬线字体
-->
    <alias>
        <family>Arial</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Verdana</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Tahoma</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Helvetica</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Microsoft YaHei</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>SimHei</family>
        <default><family>sans-serif</family></default>
    </alias>

<!--
    Serif 字体族
-->
    <alias>
        <family>SimSun</family>
        <default><family>serif</family></default>
    </alias>
    <alias>
        <family>Georgia</family>
        <default><family>serif</family></default>
    </alias>
    <alias>
        <family>Times</family>
        <prefer><family>Times New Roman</family></prefer>
        <default><family>serif</family></default>
    </alias>
<!--
    Monospace 字体族
-->
    <alias>
        <family>Courier</family>
        <prefer><family>Courier New</family></prefer>
        <default><family>monospace</family></default>
    </alias>
    <alias>
        <family>Menlo</family>
        <default><family>monospace</family></default>
    </alias>


<!--
    SimSun字体,英文部分用Tahoma替换,解决粗体英文破粹问题
    “宋体”不用再做设置,前面已用别名解决
-->
    <match target="pattern">
        <test name="family">
            <string>SimSun</string>
        </test>
        <edit name="family" mode="prepend" binding="strong">
            <string>Tahoma</string>
        </edit>
    </match>

<!--
    字体优先设置,越靠前越优先匹配
-->

    <alias>
        <family>sans-serif</family>
        <prefer>
            <family>Tahoma</family>
            <family>Verdana</family>
            <family>Arial</family>
            <family>Microsoft YaHei</family>
        </prefer>
    </alias>
    <alias>
        <family>serif</family>
        <prefer>
            <family>SimSun</family>
            <family>Georgia</family>
        </prefer>
    </alias>
    <alias>
        <family>monospace</family>
        <prefer>
            <family>Menlo</family>
            <family>Courier New</family>
        </prefer>
    </alias>

<!--
    第二部分
    全局设置和调整,包括AA,HINT等
-->
<!--
    设置DPI,请设置成xdpyinfo | grep dot看到的DPI,也可以不设置。

    <match target="pattern">
        <edit name="dpi" mode="assign">
            <double>96</double>
        </edit>
    </match>
-->

<!--
    子像素渲染设置,据需要而定,我的LCD就没开,设置为NONE,如果看到字体
    颜色有问题(如泛蓝,泛绿色等),请设置成rgb或其它值,具体参考man fonts-conf

    <match target="font">
        <edit name="rgba" mode="assign">
            <const>none</const>
        </edit>
    </match>
-->

<!--
    设置最小字体,所有字体都如此,英文优先是Tahoma 8px
-->
    <match target="font">
        <test name="pixelsize" compare="less_eq">
            <double>8</double>
        </test>
        <edit name="pixelsize" mode="assign">
            <double>8</double>
        </edit>
    </match>

<!--
    设置CJK最小字体,主要体现为SimSun ,和上面的综合起来就是
    Tahoma 10px,SimSun 11px
    对应96 dpi 下的就是 8pt , 9pt
    具体临界值自己可以调整
-->
    <match target="font">
        <test name="lang" compare="contains">
            <string>zh</string>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>11</double>
        </test>
        <edit name="pixelsize" mode="assign">
            <double>11</double>
        </edit>
    </match>

<!--
    默认AA设置, 针对自由字体,打开AA,关掉Hinting, MS和CJK字体,下面专门调整
-->
    <match target="font">
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
            <const>hintnone</const>
        </edit>
    </match>

<!--
    解决中英文间距过大的问题
-->
    <match target="font">
        <test name="lang" compare="contains">
            <string>zh</string>
        </test>
        <edit name="spacing" mode="assign">
            <const>proportional</const>
        </edit>
        <edit name="globaladvance" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="lang" compare="contains">
            <string>ja</string>
        </test>
        <edit name="spacing" mode="assign">
            <const>proportional</const>
        </edit>
        <edit name="globaladvance" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="lang" compare="contains">
            <string>ko</string>
        </test>
        <edit name="spacing" mode="assign">
            <const>proportional</const>
        </edit>
        <edit name="globaladvance" mode="assign">
            <bool>false</bool>
        </edit>
    </match>

<!--
    CJK字体AA设置, 小于15px时不开AA
    著名厂家设计的字体,开hinting,开源的粗制滥造的字体就用autohint好了;字体名头都很响的, 全局开hinting,hintstyle设为hintslight
-->
    <match target="font">
        <test name="family" >
            <string>Simsun</string>
        </test>
        <test name="pixelsize" compare="more_eq">
            <double>10</double>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>16</double>
        </test>
        <edit name="antialias" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="family" >
            <string>Tahoma</string>
        </test>
        <test name="pixelsize" compare="more_eq">
            <double>9</double>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>14</double>
        </test>
        <edit name="antialias" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
            <const>hintslight</const>
        </edit>
    </match>

<!--
    CJK字体AA设置, 大于某尺寸时开AA,AutoHint,Hinting
    采用hintfull,可以自己调整,一般两者只开一个,具体视情况而定

    <match target="font">
        <test name="lang" compare="contains">
            <string>zh</string>
        </test>
        <test name="pixelsize" compare="more_eq">
            <double>17</double>
        </test>
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="lang" compare="contains">
            <string>ja</string>
        </test>
        <test name="pixelsize" compare="more_eq">
            <double>17</double>
        </test>
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="lang" compare="contains">
            <string>ko</string>
        </test>
        <test name="pixelsize" compare="more_eq">
            <double>17</double>
        </test>
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
-->
<!--
    如果是斜体CJK字体,打开AA,不喜欢可以把这一段删除掉或全部改成false
-->
    <match target="font">
        <test name="lang" compare="contains">
            <string>zh</string>
        </test>
        <test name="slant" compare="not_eq">
            <const>roman</const>
        </test>
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
    </match>

<!--
    微软字体设置
-->
<!--
    默认,打开AA和hint,不喜欢,可以全部改成false

    <match target="font">
        <test qual="any" name="foundry" compare="contains">
            <string>monotype</string>
        </test>
        <test qual="any" name="foundry" compare="contains">
            <string>microsoft</string>
        </test>
        <edit name="antialias" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
            <const>hintnone</const>
        </edit>
    </match>
-->
<!--
    Courier New 字体大小设置, 因为小了实在是看不清楚
    这里设置最小为12px(96 dpi 上是11pt),可以依情况而定
-->
    <match target="font">
        <test name="family">
            <string>Courier New</string>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>13</double>
        </test>
        <edit name="pixelsize" mode="assign">
            <double>13</double>
        </edit>
    </match>

</fontconfig>

 

posted on 2015-11-19 00:46  Milton  阅读(405)  评论(0编辑  收藏  举报

导航