LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-23-2022, 02:06 PM   #1
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Rep: Reputation: Disabled
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
 
Old 02-23-2022, 06:32 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

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

Evo2.
 
Old 02-24-2022, 04:36 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Crb999 View Post
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 View Post
Thanks
linuxandroid Crb999 is online now Report This Post
Crossposting is frowned upon.
 
Old 02-24-2022, 04:52 AM   #4
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-24-2022, 06:15 AM   #5
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-02-2022, 02:48 PM   #6
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-02-2022, 09:59 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Crb999 View Post
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.
 
Old 03-03-2022, 02:29 AM   #8
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
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::---
 
Old 03-03-2022, 07:34 AM   #9
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
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.
Attached Thumbnails
Click image for larger version

Name:	devices.png
Views:	6
Size:	250.8 KB
ID:	38513  
 
Old 03-03-2022, 08:10 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Crb999 View Post
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.
 
Old 05-06-2022, 06:45 AM   #11
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
The latest upgrade seemed to eradicate that problem.

Closing the thread, Thanks all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to duplicate one user's desktop and program settings for another user? Miranden Slackware 13 06-23-2013 12:25 PM
[SOLVED] network settings "your system is not supported" at system settings windstory Linux - Newbie 14 11-29-2011 01:14 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
How to use settings from one distro in another one? happyusers Linux - Hardware 2 01-23-2006 04:09 AM
Migrating to another system, would like to keep user settings and profiles.. BxBoy Linux - General 3 07-31-2003 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration