View previous topic :: View next topic |
Author |
Message |
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sat Sep 27, 2008 5:13 pm Post subject: volume settings lost on startx |
|
|
Team Gentoo,
I am using XFCE4. Everytime I start it (startx) it starts up with the volume turned all the way down. And I have to go into Volume Control on the Multimedia menu to turn it up. THis is annoying as all hell!!!! Can someone please tell me how to fix it so that the volume settings are remembered?
THANK YOU! |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Sat Sep 27, 2008 5:29 pm Post subject: |
|
|
I think you'll find that your sound will be turned all the way down, and probably muted as well, regardless of whether you use XFCE4 or not. If this is indeed true, you need to use the /etc/init.d/alsasound initscript (probably in the boot or default runlevel) to restore mixer volume levels on boot. ALSA automatically starts sound drivers with the mixers turned down all the way. Before you use startx next time, run: Code: | /etc/init.d/alsasound start | and then: and turn up the volumes, then press escape, and make sure to start alsa on boot next time with: Code: | rc-update add alsasound default |
But, if you find that before you startx, volume settings are fine, then it would seem to be an XFCE4 problem with which I am afraid I cannot assist.
Best of luck! _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Sep 27, 2008 5:36 pm Post subject: |
|
|
How do you start your X session, with a *dm, or startx? |
|
Back to top |
|
|
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sat Sep 27, 2008 11:39 pm Post subject: |
|
|
I do not have any alsa scripts in my init.d directory?
i start xfce by just using startx |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Sun Sep 28, 2008 12:02 am Post subject: |
|
|
Quote: | I do not have any alsa scripts in my init.d directory? |
perhaps then you need to emerge alsa-utils?
The script /etc/init.d/alsasound should do this, as long as in /etc/conf.d/alsasound you have a line like:
Code: | RESTORE_ON_START="yes" |
(and not one later on setting it to "no", of course) _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 10:10 am Post subject: |
|
|
Also, after you emerge and configure alsa-utils, you can preset the volume in $HOME/.xinitrc Code: | amixer set PCM 50%
amixer set Master 100% |
|
|
Back to top |
|
|
RedSquirrel Guru
Joined: 22 Apr 2008 Posts: 336
|
|
Back to top |
|
|
holyholy n00b
Joined: 08 Nov 2012 Posts: 1
|
Posted: Thu Nov 08, 2012 4:27 am Post subject: Re: volume settings lost on startx |
|
|
rubing wrote: | Team Gentoo,
I am using XFCE4. Everytime I start it (startx) it starts up with the volume turned all the way down. And I have to go into Volume Control on the Multimedia menu to turn it up. THis is annoying as all hell!!!! Can someone please tell me how to fix it so that the volume settings are remembered?
THANK YOU! |
Hi,
I know maybe it's too late, here the answer.
Recently, I have the same problem, in my case I use openbox.
My alsasound run at boot time and my alsa conf are goods.
But I have found the problem !
It's locatide in this directory, /etc/xdg/autostart.
You will find a lot of file, with extension .desktop
Take a look to pulseaudio*.desktop
In my case, it was pulseaudio.desktop !
Tray to change all pulseaudio, for example pulseaudio.desktop.old and pulseaudio-kde.desktop.old in order to eliminate the guilty.
Then test with startx |
|
Back to top |
|
|
|