• dell mini9 fluxbox 声卡的安装 和 屏幕分辨率和刷新率的调节


    首先 在synaptic里面安装 alsa base 和alsa mixer

    然后
    In a terminal type:
    sudo gedit /etc/modprobe.d/alsa-base

    At the end of alsa-base file add:
    options snd-hda-intel model=dell

    最后在打开alsa mixer 是一个gui,在alsa mixer里面把静音取消,因为默认是静音,特别注意要打开最后一项就是speaker的声音。
    sudo apt-get install alsa-utils
    sudo alsactl store
    可以让声音出现,可以尝试放在bashrc里面或者startup

    屏幕分辨率和刷新率

     首先修改 

    vim /etc/X11/XF86Config-4

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Generic Monitor"
    DefaultDepth 24
    SubSection "Display"
    Depth 1
    Modes “1024x600” "800x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes “1024x600” "800x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes “1024x600” "800x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes “1024x600” "800x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes “1024x600” "800x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes “1024x600” "800x480"
    EndSection

    然后 

    还是在fluxbox的wiki页面找到了解决办法,啊,神啊,好简单,只要两条命令~看一下吧:
    $ xrandr
    xrandr命令是每一个x服务器(Xorg或者XFree86)都带有的检测支持的分辨率和刷新率模式的命令。
    不带参数执行该命令,可以显示所使用的电脑支持的分辨率和刷新率模式。
    $ xrandr -s 1024x600 -r 60.0
    这一条命令指定分辨率为1024x600,刷新率为60.0MHz。
    Ok,看一看,屏幕是不是变成想要的了。
    最后,让我们一次性的解决这个问题,而不是每一次启动都要来一遍这个命令。
    在~/.fluxbox/startup文件中
    /usr/bin/fbsetroot -solid back
    下面加入命令:
    xrandr -s 1024x600 -r 60.0
    搞定!
  • 相关阅读:
    jquery之empty()与remove()区别
    (四)快速排序
    (三)归并排序
    (二)希尔排序
    (一)冒泡排序、插入排序、选择排序
    四,JVM 自带工具之jvisualvm
    JAVA多线程之Volatiles
    JAVA多线程之线程池的使用
    CountDownLatch与CyclicBarrier的使用与区别
    乐观锁与悲观锁及其实现
  • 原文地址:https://www.cnblogs.com/cnyin/p/1916992.html
Copyright © 2020-2023  润新知