OpenSUSE Multimedia :: Switch Sound Device From Command Line In KDE
Jan 30, 2010
my computer is connected to my TV through HDMI using ATI HDMI output. I have written a small script to switch display from monitor to TV when a want to watch a DVD, but I didn't find how to switch sound from speakers to HDMI in command line. For the moment I have to open KDE system settings -> Multimedia and move sound devices by hand.
i dont have much of command line experience with linux.can i setup opensuse server in such a way that i do all my configurations in gui mode and then switch the server to no gui mode as to free up resources.
Is there a way to control the gnome sound preferences widget via the command line? I use optical digital out (IEC95. It works fine. but everytime I reboot there is no sound, I have to go to sound preferences, hardware tab, select my internal audio device, change it from digital stereo duplex to analog surround 5.1, then back to digital stereo duplex, and then the sound works again. I would like to be able to do this via command line so I can write a little startup script and not have to do that every time i reboot.
I recently bought a set of 2.1 speakers, all is fine. I like to listen to my DAB radio through them. When I boot up, (runlevel 3), sound is there via the mic/line-in jack, but as soon as KDE starts, the sound cuts. I can get it back by:~>alsamixerand then F6 and then scroll to mic, switching to ON and slider up to full and then mic boost up to 65% or so.Can I tell something in KDE to default to mic/line-in on?kmix does not give the full picture I see in other's posts, like here:ImageShack® - Online Photo and Video Hostingjust a single slider under each tab, like this:
With OpenSuSE 11.2, I would have a guest account running skype, and a media account running mythtv (both users logged in at the same time using switch user). I had skype on auto answer incoming calls, and I remember watching a movie when I suddenly heard my Dad's voice appear calling my name. That was cool!
Now that I'm using OpenSuSE 11.3 (both were using KDE), skype only plays audio when that user's session is active. Switching to the media account will prevent skype from starting to play any sound. Switch back, sound is normal. If I remember correctly, now the skype audio cuts out as soon as I switch user.
I also have a tv capture card which only STARTS to captures analog audio when the media session is active, mythtv being run by the user media. Once the show is started to record with sound, we can switch users and the show continue to record with sound.
The only thing that should be configured differently from the default install is that I compiled mythtv (it wasn't available as an rpm when I upgraded to 11.3, and haven't bothered to check since).
I have two sound cards active on this machine and they both work fine. However I would like to blacklist one card from being used for audio capture in KDE, because I am already using it outside of KDE for timed recording. The problem is that when I start amarok while timed recording is going on, it attempts to probe the card and this causes the recording to abort.
In Configure desktop > Multimedia, I can see the two cards. I can alter the priority but the Remove button is greyed out. So I can't remove a card from phonon.
Searching around for where phonon stores its configuration led me to ~/.config/kde.org/libphonon.conf. This certainly looks like the info I was trying to edit, but it's encoded in some way code...
I have been searching for an answer through most of the recent posts about sound issues but have not been able to find a solution. I am currently unable to capture sound from the "Line" input on my sound card. I do have sound and is working correctly for all applications and I do have P/A disabled (I'm not a huge fan of the sound quality with P/A enabled). I have checked and re-checked many settings but to no avail have not been able to capture sound. I'm sure I may be missing something or have not done something in order for this to work. I was using openSUSE 11.4 on a different pc and had no problems, unfortunately this is a different pc with a different sound card which is on-board so I am not entirely familiar with it yet.
It is a C-media CMI9880 which shows up as a Intel HDA (ICH6) and appears to be configured correctly.
Has anyone used rtmpdump or flvstreamer? They compile well (there is also a package on Packman for rtmpdump, but not for the latest version) and have man pages listing a bunch of command line arguments, but I have not yet figured out how to use them in connection with browser and flash plugin.
I wanted to take an audio feed from a stereo amplifier into my HP Pavilion DV6 laptop, in order to digitally record some old vinyl.
In the Sound Preferences tab, I seemed to be able to record easily from the internal mic, but there seemed to be no easy way to switch the preferences to enable recording from the Line In socket on the laptop.
We tried muting the mic, this only caused the system to record nothing. We also tried all the various available options in "the Hardware Profiles" tab, "Settings for the available device", but no the laptop seemed to be getting no "line in" input with whatever profile we tried.
On Mac, it was as simple as switching the input sound preferences from "internal mic" to "line in".
I have a fresh install of Natty and i'm having some issues getting sound to work. My laptop has a built in sound card which works just fine. However, i also have a usb 5.1 sound card which isn't working at all. Both devices show up in 'Sound Preferences' but when i select the 5.1 device as the output device sound doesnt work. I ran the alsa-info.sh script and the output can be found here.
I am using a QLA2462 and have got FC storage attached through a brocade switch. As soon when I add more storage for this server on this switch my device naming shifts and this new storage comes in between e.g. as sdb, and the other 2 go to sdc and sdd. I looked around but I can't find a good solution for SuSe 11.2.
I am trying to switch from the video device built into the mother board, to a card i just put into my machine. I'm using gnome and don't know where to start. I shouldn't need new drivers (based on a possible misunderstanding) because I am going from a nvidia 6100 to a 8600. I have looked in various places like the control center but haven't had any luck. I just started using linux and have very little experience in the terminal. Issues with the current card are stopping me in my learning process.
I recently replaced (fresh install) Fedora 12 by 13. Surprisingly I noticed there is no log-in sound for Gnome and also when I use command line terminal there is no terminal bell in spite of the fact that I checked the "Terminal Bell" option in the EDIT --> Preferences menu! I checked the speakers are not mute, I can play music. Any idea how to fix it?
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
Tonight for the first time I tried to use Linux (Ubuntu). I installed it on to a small 100gb external HDD that I had just laying around. I thought I could do this without impacting my internal hard drive. I thought I could run Windows 7 normally when it wasn't plugged in and chose between Windows 7 or Ubuntu when it was. I installed it correctly (or atleast I thought). It worked fine but I then noticed I could only boot into Ubuntu or Windows 7 when it was plugged in. Having a laptop and going everywhere with it I could not tolerate it. When I tried to boot the system without the External HDD plugged in I would always get a "GRUB Rescue-No such Device" error and a white command line.
Confused I looked up how to uninstall Ubuntu, I got a windows recovery disc and deleted the partion off the External HDD. I then changed the BIOS settings so the CD would be booted first, well for whatever reason I get the same GRUB Error. It seems like I cannot boot into any CD Rom. Neither a recovery disc nor a Live CD. I got so frustrated I tried to system restore but it appears like the key command for that is also not working. I can't boot into anything and I'm stuck with the same Grub error. Im so confused and frustrated...I'm thinking about taking It to a pro and paying them to get it fixed or just calling it quits. I have no idea what I can do if Ibcan't boot from any CDs or any OSs.
I installed "Theocracy" on my 9.10 Karmic system. The installer asks for a sound device, dev/dsp is the default and I didn't change it. When I now try to start the game, I get the following error: Unable to open sound device: Device or resource busy Aborted Execution of /usr/games/theocracy_base/theocracy.real failed! What is the sound device when using PulseAudio on Karmic?
I don't have any sound in my external device (TV). I'm attempting to watch a movie on the VLC player but I can't seem to get the sound to work through my television speakers! They are coming out of my computer speakers just fine though.
i know skype on Linux is crap but i have no choice as i now have only Ubuntu installed on this pc & I NEED SKYPE.so with the new version how do i select a particular sound device.i ask because skype only lets me select a specific sound 'platform' (pulseaudio).i have a motherboard with on-board sound & a USB voip phone (us robotics) and it the usb voip phone i want to use solely for skype
so is there something i can tell pulse audio that i want skype to ONLY use the usb phone or do i have to use the stupid sound preferences to change the system wide device to the usb phone which makes the whole thing a hindrance because i have no idea when someone calls me & when i have to quickly change the settings then turn off music then try to answer the call the person calling has gone!!!i like to have music playing in the background out of my hifi & the error noises come out of the usb phone as well when this is selected & to be honest it makes having a pc setup with multiple devices pointless and a hindrance
I have recently installed Ubuntu 11.04 from the alternative installation CD; the installation was just the command line system. On top of this I have installed xorg and awesome window manager. The only problem I am having is with sound; I am unable to hear sound played through both browser-based Flash and locally stored files.
Is there something that I have to do before I can use sound? Edit: I have solved the original problem however I would like to know if I can remove pulseaudio as it seems that I am only using alsa.
I have got my headset connecting to the system using the BlueMan interface. When I first did this it gave me a error about not being able to put the sound on-top of 'pulseaudio'. Well this well about the last straw between me and Mr. 'PulseAudio', so away he went. I removed the demon via this instruction. [ubuntu] Safely Remove Pulseaudio?
I then tried connecting to my bluetooth headset again, no errors. But the bluetooth sound device does not show up in any mixer, or application. What else do I need to do to get this working again. I know my hardware is fine, it used to work in the previous version of Ubuntu and it all works on my wifes Windoze XP computer.
i am using ubuntu studio karmic and i have a digitech vx400 audio effects pedal which serves as an audio in/out midi in/out device via usb. i can sucessfully set it as the system sound device in system>preferences>sound for both input and output. but, when i play audio through it it only works for a few minutes before the sound stops completely. if i leave the system settings set to the internal sound card and configure jack audio connection kit to go to the usb device, i get the same results on the usb sound. a few minutes of playback at the most.i can restart sound with either "pulseaudio --kill && pulseaudio --start" or "alsactl init" in either situation. just requires restarting the programs. same results after restarting. i think this is alsa related as i have both the system sound and jack using the alsa driver, but i don't truly understand the relationship between pulseaudio and alsa.
Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?
I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?
not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....
Ubuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result
you longed to listen to your favorite sirius XM satellite radio without the annoying popup every 90ish minutes. And if you were like me, you missed sipie, an application that allowed you to stream sirius via a command line. Since sipie has been flakey, some people have decided to start a new project on GITHUB, called pyxis, and I have to say, after installing (which is a breeze), it is working perfectly. I am excited to have my sirius back up and running strong from the command line.
[Code]...
note, I have no affiliation with the development team, I just thought that this very handy application deserved to be recognized.