LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 761|回复: 4

如何解决音量重启后老是恢复到原来的水平?

[复制链接]
发表于 2004-9-4 10:12:21 | 显示全部楼层 |阅读模式
把音量调到合适的以后,重启后又回到原来的水平,每次都要调一下,比较烦,应该如何解决呢?
发表于 2004-9-4 10:24:06 | 显示全部楼层
在KDE的控制中心的声音那里保存当前设置就行啦
 楼主| 发表于 2004-9-4 10:34:34 | 显示全部楼层
我是gnome,注销时保存设置也不行
发表于 2004-9-4 13:59:18 | 显示全部楼层
http://alsa.opensrc.org/index.php?page=FAQ021
There's several ways to fix this.
The easiest is to write a script with one line:

alsactl restore

and to save it as 'alsasoundrestoremixer' in /etc/init.d/. Create a symlink to run this straight after alsasound:

% ln -s /etc/init.d/alsasoundrestoremixer /etc/rcS.d/S59alsasoundrestoremixer

This forces the loading of the mixer settings every time the system is booted.

注意,里面提到的方法适用于System V 方式的启动脚本。 在slackware中,你只需要用alsamixer设置音量并保存设置,然后添加
/usr/bin/alsactl restore
到 /etc/rc.d/rc.local 即可。
发表于 2004-9-4 16:35:49 | 显示全部楼层

我放音乐用esd时总是最大音量,其它没问题

又怎么办呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表