LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   System sound settings for one user, are not available for another (https://www.linuxquestions.org/questions/ubuntu-63/system-sound-settings-for-one-user-are-not-available-for-another-4175708480/)

Crb999 02-23-2022 02:06 PM

System sound settings for one user, are not available for another
 
Hi all,

NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"

I have two users on my system, and in one's domain, I have set the system to play a sound when I hit the caps lock, and another when I unlock it again.

Now I find that the second user has those settings as well, they were already there,I didn't enter them again, however, the second user gets no sound whatsoever.

Nor can I find a way enabling sound for this user

Anybody got any ideas?

Thanks
linuxandroid Crb999 is online now Report This Post

evo2 02-23-2022 06:32 PM

Hi,

did you check if either user is in the audio group? See https://wiki.ubuntu.com/Audio/TheAudioGroup

Evo2.

ondoho 02-24-2022 04:36 AM

Quote:

Originally Posted by Crb999 (Post 6332623)
I have set the system to play a sound when I hit the caps lock, and another when I unlock it again.

How exactly did you accomplish that?

Quote:

Originally Posted by Crb999 (Post 6332623)
Thanks
linuxandroid Crb999 is online now Report This Post

Crossposting is frowned upon.

Crb999 02-24-2022 04:52 AM

Hi Ondoho,

To get a sound warning whenever caps lock is pressed.

System settings -> accessibility -> Modifier keys -> configuration notices

Select the key from the list, for which you want a warning

In the lower part of the screen, select the action you want # I want a sound

Having selected that, the sounds list opens from which you can select a sound

Crb999 02-24-2022 06:15 AM

Hi evo2

Yes

Code:

crb999@crb999-OptiPlex-7010:~$ fgrep -ie 'audio' /etc/group
audio:x:29:pulse
c

Both users share a group and I have added that group via

Code:

sudo setfacl -m g:writer:rwx /dev/snd/*
that was successful in the sense that the group has been added to the files, and has rwx permissions set, however, no sound emanates from the second user but continues for the primary user.
Snippet:
Code:

# file: dev/snd/pcmC0D3p
# owner: root
# group: audio
user::rw-
user:crb999:rw-
group::rw-
group:writer:rwx
mask::rwx
other::---

I have not rebooted, that might have an influence. If it does, I'll report it here then close the thread, if not, I'll leave things as they are and hope for more guidance.

Regards

Chris

Crb999 03-02-2022 02:48 PM

I have rebooted several times still no sound for second the second user.

examination shows there to be 'no devices'

nowhere do I find the tools to allow 'devices' to be added, although they are there for the first user, and work.

I'm obviously missing something, but don't understand yet!

help needed

thanks

evo2 03-02-2022 09:59 PM

Quote:

Originally Posted by Crb999 (Post 6334524)
I have rebooted several times still no sound for second the second user.

examination shows there to be 'no devices'

nowhere do I find the tools to allow 'devices' to be added, although they are there for the first user, and work.

I'm obviously missing something, but don't understand yet!

help needed

Did you check membership of other groups for both users?

Evo2.

Crb999 03-03-2022 02:29 AM

hi evo2,

I answered that in mail 5, or I thought I did!

have I missed something?

Code:

crb999@crb999-OptiPlex-7010:~$ fgrep -ie 'audio' /etc/group
audio:x:29:pulse

Both users share a group and I have added that group via

Code:


sudo setfacl -m g:writer:rwx /dev/snd/*

that was successful in the sense that the group has been added to the files, and has rwx permissions set, however, no sound emanates from the second user but continues for the primary user.
Snippet:

Code:

# file: dev/snd/pcmC0D3p
# owner: root
# group: audio
user::rw-
user:crb999:rw-
group::rw-
group:writer:rwx
mask::rwx
other::---


Crb999 03-03-2022 07:34 AM

1 Attachment(s)
using

Code:

sudo setfacl -m u:writer:rw /dev/snd/*
I have added writer as a user to the facl file.

Code:

# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:crb999:rw-
user:writer:rw
group::rw-
group:writer:rw
mask::rwx
other::---

There is still sound for crb999 for operation of the caps lock, but none for writer.

I do get a tool bar warning that the key has been operated, but no sound, no devices, and no way to add devices that i have yet found or been told about.
see picture attached.

evo2 03-03-2022 08:10 PM

Quote:

Originally Posted by Crb999 (Post 6334646)
hi evo2,

I answered that in mail 5, or I thought I did!

have I missed something?

Code:

crb999@crb999-OptiPlex-7010:~$ fgrep -ie 'audio' /etc/group
audio:x:29:pulse


That was specifically about the audio group. I was wondering if there were differences in membership of other groups.

Evo2.

Crb999 05-06-2022 06:45 AM

The latest upgrade seemed to eradicate that problem.

Closing the thread, Thanks all.


All times are GMT -5. The time now is 11:57 PM.