openSUSE Forums > Hardware » Only one user has sound?

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
Page 3 of 3 12 3
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 14-Feb-2009, 12:58
Puzzled Penguin
 
Join Date: Feb 2009
Location: Finland
Posts: 13
ughi hasn't been rated much yet
Send a message via Skype™ to ughi
Default Re: Only one user has sound?

This is the latest attempt to mute vlc

#!/bin/bash
prosessi=`ps -ef | grep 'vlc' | grep '<myusername>' | awk '{ print $2 }'`
kill -STOP $prosessi
echo "Sound muted. Press any key to un-mute."
read -n1 any_key
kill -CONT $prosessi

It works otherwise ok, but of course root prividges are need if (when) stopping other users processes, so now only I am capable of muting my own vlc (when logged as a normal user). Not very useful since, I know easier way to do that.

So, next I will try to make sense of that sudo stuff...
...to give other access to some of the root commands.
(This is really something that is against all I have believed in, since IMO there can be only one )
Reply With Quote
  #22 (permalink)  
Old 14-Feb-2009, 14:10
Student Penguin
 
Join Date: Feb 2009
Location: London Ontario Canada
Posts: 75
RCCrouch hasn't been rated much yet
Default Re: Only one user has sound?

Look on the bright side. At least your doing the work yourself and learning as you go. That in itself is a bonus. I'm also glad to see that you are sharing your results.
Reply With Quote
  #23 (permalink)  
Old 15-Feb-2009, 04:44
Puzzled Penguin
 
Join Date: Feb 2009
Location: Finland
Posts: 13
ughi hasn't been rated much yet
Send a message via Skype™ to ughi
Default Re: Only one user has sound?

Quote:
Originally Posted by RCCrouch View Post
...I'm also glad to see that you are sharing your results.
But of course, isn't that the whole point of forums like this?

People helping each other, trying to solve problems and reporting results. That way someone might be able to find a sollution to the same or similar problem more easily.
Reply With Quote
  #24 (permalink)  
Old 15-Feb-2009, 04:53
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,736
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Only one user has sound?

Quote:
Originally Posted by ughi View Post
I wonder how this is done in the other distros (ie. Fedora) since in there only the active user has audio by default.
You could ask on the Fedora forum, as to how this is done by them? You may get an answer (and you may not).
FedoraForum.org - Fedora Support Forums and Community

Also, is it possible this is "desktop" specific? ie behaviour for gnome is different than the behaviour for KDE4 or KDE3 ?
Reply With Quote
Reply
Page 3 of 3 12 3

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2