zoukankan      html  css  js  c++  java
  • Arch 安装后,一些基本设置(1)

    1.安装成功后新建普通用户不能使用useradd进行一步添加,应该下载adduser交互式添加新用户,否则用户无法登陆。 

    2.安装openkeeper之前需要安装pppnet-tools (需要里面的ifconfig)

    3.如果安装LXDE桌面,需要安装gtk-engine-murrine , 效果安装了就知道。

    4.安装输入法小企鹅输入后需要向~/.xprofile中加入

    export GTK_IM_MODULE=fcitx

    export QT_IM_MODULE=fcitx

    export XMODIFIERS=@im=fcitx

    并且需要安装fcitx-configtool进行配置,需要中文时还需要安装拼音,egfcitx-sunpinyin

    5.配置声卡使用alsa时:如果没声音用aplay -l 列出你的声卡设备。根据card 那列查看声卡的编号。

    使用amixer scontrols 列出默认使用的声卡。若不是出现如下:

    Simple mixer control 'Master',0

    Simple mixer control 'Headphone',0

    Simple mixer control 'Speaker',0

    Simple mixer control 'PCM',0

    ………

    等,而是:

    Simple mixer control 'IEC958',0

    Simple mixer control 'IEC958',1

    Simple mixer control 'IEC958',2

    那么需要使用amixer -c (此处为声卡编号)scontrols 来查看哪个卡是上述第一种情况。找到之后进行如下配置:

    把下列配置添加到系统级别的

    /etc/asound.conf 或用户级别的 ~/.asoundrc 文件。如果文件不存在,可以手动创建。其中 的各个ID,请根据实际情况调整:

    defaults.pcm.card 1 //这里三项对应实现查找到的合适的声卡编号

    defaults.pcm.device 0 //aplay -l 可查看合适声卡编号的device

    defaults.ctl.card 1 //声卡编号

    “pcm”选项决定用来播放音频的设备,而“ctl”选项决定那个声卡能够由控制工具(如 alsamixer)使用。

    6.terminal下输入lxappearance配置主题,gnome主题需要上面第三点配合。

    7.terminal下输入lxdm-config lxqt-config 可进行配置。

    8.装了最新的fontconfig以后会出现如下警告(如果你安装了wqy字体):

    updating font cache... Fontconfig warning: "/etc/fonts/conf.d/44-wqy-microhei.conf", line 6: Having multiple values in <test> isn't supported and may not works as expected
    Fontconfig warning: "/etc/fonts/conf.d/65-wqy-zenhei.conf", line 11: Having multiple values in <test> isn't supported and may not works as expected
    Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: Having multiple values in <test> isn't supported and may not works as expected
    Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 55: Having multiple values in <test> isn't supported and may not works as expected
    done.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    更正方法是把:
    <test qual=”any” name=”family”>
    <string>WenQuanYi Micro Hei</string>
    <string>文泉驿微米黑</string>
    <string>文泉驿微米黑</string>
    </test>
    改成
    <test qual=”any” name=”family”>
    <string>WenQuanYi Micro Hei</string>
    </test>
    <test qual=”any” name=”family”>
    <string>文泉驿微米黑</string>
    </test>
    <test qual=”any” name=”family”>
    <string>文泉驿微米黑</string>
    </test>
    这种形式。
    关于
    Fontconfig warning: “/etc/fonts/conf.d/50-user.conf”, line 9: reading configurations from ~/.fonts.conf is deprecated.
    50-user.conf里第九行的deprecated对应的“yes”改成“no”

    注意:

    可将windows下的ttf字体直接复制到对应配置文件目录即可使用。所有用户使用放入:/usr/share/fonts/目录中。

    若一个用户使用,则放入:~/.fonts 即可。

  • 相关阅读:
    邻接表怎么写
    hiho一下 第二十五周(SPFA)
    hdu 1426 Sudoku Killer(DFS)
    hdu5147 (sequence 2) 树状数组
    hdu1233 prim
    输入输出外挂
    RMQ-ST求区间最值
    最近公共祖先(简单版)
    【Java】【20】后台发送GET/POST方法
    【实战问题】【11】导入Maven项目后报错,Project configuration is not up-to-date with pom.xml. Run project configuration update
  • 原文地址:https://www.cnblogs.com/rain-blog/p/after-install-arch-linux.html
Copyright © 2011-2022 走看看