Thank you so much for your kind and considerate assistance. I must admit that my opening post must have been rather misleading as to my very low level of bash experience!
I already had a file called .asoundrc. When I viewed it for the first time I could see that it contained the following:
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
So I added the designated code to it, leaving a line space between after the existing text which it contained. I backed up the original .asoundrc file to my desktop first, and then pasted the new text in as you advised.
I then created a new file in /home called 'setaudio'. I pasted all the designated code into it as you suggested.
I right clicked on that file, went to the permissions tab and ticked the only check box for 'execute'.
I then opened a terminal and typed:
- Code: Select all
And then pressed 'enter'.
I then received the following response from the terminal:
bash: setaudio: command not found
So I had a think, and then went to Nautilus preferences, went to the Behaviour tab, and then changed the radio button selection from: View executable text files...' to 'Run executable text files'.
I double click on the 'setaudio' file again in Nautilus. Nothing happens.
I tried audio with Firefox, and to my amazement, it now worked
Would I be right in thinking that the double-clicking in Nautilus is what did the trick, albeit silently?
How could I make this work at the command line, as well, as intended?