amixer hangs
Anyone knows why awesome hangs when I put os.execute("amixer get Master") or os.execute("amixer -c0 -D default get Master") on rc.lua?? []'s -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
Maybe 'amixer' hangs? I think you should try run these commands from commandline and check it first. Zsolt 2011/11/13 Daniel Hilst Selli : > Anyone knows why awesome hangs when I put os.execute("amixer get Master") or > os.execute("amixer -c0 -D default get Master") on rc.lua?? > > []'s > > -- > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. > -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
I use amixer with sexex() and it works. Maybe you have pulseaudio installed? Zsolt Udvari wrote: Maybe 'amixer' hangs? I think you should try run these commands from commandline and check it first. Zsolt 2011/11/13 Daniel Hilst Selli : > Anyone knows why awesome hangs when I put os.execute("amixer get Master") or > os.execute("amixer -c0 -D default get Master") on rc.lua?? > > []'s > > -- > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. > -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
On 11/13/11 07:01, Daniel Martí wrote: I use amixer with sexex() and it works. Maybe you have pulseaudio installed? Zsolt Udvari wrote: Maybe 'amixer' hangs? I think you should try run these commands from commandline and check it first. Zsolt 2011/11/13 Daniel Hilst Selli: > Anyone knows why awesome hangs when I put os.execute("amixer get Master") or > os.execute("amixer -c0 -D default get Master") on rc.lua?? > > []'s > > -- > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. > -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. I have amixer and pulseaudio installed and the command works fine on shell. The problem seems to be between awesome and pulseaudio. If I put -c0 and not -D default, so I take the real card and not the pulse card, it works, resuming os.amixer("amixer -c0 get Master") works. More strange yet, if I put on awful.util.spawn("amixer get Master") it works too, but the same with os.execute() does not. Another curious thing, os.execute("amixer get Master") did not work if executed while awesome is starting, but works after. So if I do t = timer{timeout = 5} t:add_signal("timeout", function () os.execute("amixer get Master") t:stop() end) t:start() it works. The steps I do to repoduce this was: Install awesome Copy default /etc/xdg/awesome/rc.lua to ~/.config/awesome/rc.lua put os.execute("amixer get Master") on rc.lua start I have pulseaudio and alsa installed and have pulse as my default pcm and control on asound.conf. []'s -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
On Sun, Nov 13, 2011 at 2:31 PM, Daniel Martí wrote: > Maybe you have pulseaudio installed? Every time I install something that installs pusleaudio as a dependency, my sound system breaks. So I have made it a policy to never install pulseaudio on my machine. /me is a super happy sans-pulseaudio user :). -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
That's exactly what I meant :-) BTW, are you able to listen to two audio outputs at once? If I am using ncmpcpp, mplayer won't have any sound. Anurag Priyam wrote: On Sun, Nov 13, 2011 at 2:31 PM, Daniel Martí wrote: > Maybe you have pulseaudio installed? Every time I install something that installs pusleaudio as a dependency, my sound system breaks. So I have made it a policy to never install pulseaudio on my machine. /me is a super happy sans-pulseaudio user :). -- Anurag Priyam
Re: amixer hangs
On Sun, Nov 13, 2011 at 8:46 PM, Daniel Martí wrote: > That's exactly what I meant :-) BTW, are you able to listen to two audio > outputs at once? If I am using ncmpcpp, mplayer won't have any sound. Yup. Just uncomment the lines in your mpdconf that say: audio_output { type"alsa" name"My ALSA Device" ... } IIRC, the problem is documented quite well on Debian BTS, Arch wiki, MPD's wiki (and maybe elsewhere). Also, the default configuration that ships with Debian's mpd package have sensible defaults. When upgrading, I let Debian install new config files now (unless I have a very good reason not to). It helps. Else I would be stuck with broken packages (happened with sudo) or stuck with old stupid configuration (happened with grub2). Let's not hijack the thread or the ml further lest the admins should kick us out :). -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
This was discussed two weeks ago in the thread "Obvious and ALSA". Which resulted in this commit http://git.naquadah.org/?p=awesome.git;a=commit;h=092813c -- Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618 PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618 -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
On 11/13/11 15:41, Adrian C. wrote: This was discussed two weeks ago in the thread "Obvious and ALSA". Which resulted in this commit http://git.naquadah.org/?p=awesome.git;a=commit;h=092813c Thanks Adrian, I'm installing awesome from git -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: > Thanks Adrian, I'm installing awesome from git But from 3.4 branch, if you want stable. -- Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618 PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618 -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
On 11/14/2011 04:28 PM, Adrian C. wrote: On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: Thanks Adrian, I'm installing awesome from git But from 3.4 branch, if you want stable. Yes, I do thanks! I have already installed it, but now I'm facing problems with my rc.lua. Like widget() and awful.widget:set_color_gradient() are nil, is there any docs for new api? []'s -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
Le lundi 14 novembre 2011 à 23:53 -0200, Daniel Hilst a écrit : > On 11/14/2011 04:28 PM, Adrian C. wrote: > > On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: > > > >> Thanks Adrian, I'm installing awesome from git > > > > But from 3.4 branch, if you want stable. > > > > Yes, I do thanks! I have already installed it, but now I'm facing > problems with my rc.lua. Like widget() and > awful.widget:set_color_gradient() are nil, is there any docs for new api? > > > []'s > You can found the luadoc on your system. For me it's located here : file:///usr/share/doc/awesome/luadoc/index.html By the way, if you need a simple way to control pulseaudio sink volume, you can use my little command tool pamixer [1]. Clément Démoulins [1] https://github.com/cdemoulins/pamixer -- Clef GPG : 0xDD51E028 signature.asc Description: This is a digitally signed message part
Re: amixer hangs
On 11/15/11 17:23, Clément Démoulins wrote: Le lundi 14 novembre 2011 à 23:53 -0200, Daniel Hilst a écrit : On 11/14/2011 04:28 PM, Adrian C. wrote: On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: Thanks Adrian, I'm installing awesome from git But from 3.4 branch, if you want stable. Yes, I do thanks! I have already installed it, but now I'm facing problems with my rc.lua. Like widget() and awful.widget:set_color_gradient() are nil, is there any docs for new api? []'s You can found the luadoc on your system. For me it's located here : file:///usr/share/doc/awesome/luadoc/index.html Thanks ! By the way, if you need a simple way to control pulseaudio sink volume, you can use my little command tool pamixer [1]. Clément Démoulins [1] https://github.com/cdemoulins/pamixer -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: amixer hangs
Cool that kind of example, I was searching for! 2011/11/15 Clément Démoulins : > Le lundi 14 novembre 2011 à 23:53 -0200, Daniel Hilst a écrit : >> On 11/14/2011 04:28 PM, Adrian C. wrote: >> > On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: >> > >> >> Thanks Adrian, I'm installing awesome from git >> > >> > But from 3.4 branch, if you want stable. >> > >> >> Yes, I do thanks! I have already installed it, but now I'm facing >> problems with my rc.lua. Like widget() and >> awful.widget:set_color_gradient() are nil, is there any docs for new api? >> >> >> []'s >> > > You can found the luadoc on your system. For me it's located here : > file:///usr/share/doc/awesome/luadoc/index.html > > By the way, if you need a simple way to control pulseaudio sink volume, > you can use my little command tool pamixer [1]. > > Clément Démoulins > > [1] https://github.com/cdemoulins/pamixer > -- > Clef GPG : 0xDD51E028 > -- Gruß Jörg -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.