You could do this via the /etc/hosts file, however, this method can be easily over-ridden with the right knowledge and file access. Beyond the /etc/hosts file, there are two methods that I know of, both using Proxys.
These answers were originally for Ubuntu, but they should work just the same on Raspbian (or possibly with a bit of modification,) as both ...
I'm a little late to answer, but my solution only involves two simple command issued from the console (one to turn the volume up, one to turn the volume down). It require only a little setup, and the use of aliases.
Make sure you are in the user folder:
$ cd ~/
Create the file .bash_aliases (this will be where I keep all the aliases I make so they aren't ...
An improperly isolated power adapter driving Raspberry Pi can cause electrical shock.
Usually most power adapter usually used to drive Pi are SMPS. Below is a picture of proper SMPS isolation:
You can see a large slot on the PCB (below text L-4765) that provides electrical and physical isolation between the primary and secondary sides of the power supply. ...
alsamixer comes out-of-the-box and has a text-mode "GUI" which works over ssh.
You can use up/down arrows to control volume, as well as numbers from 0 to 10, which means you can turn your mobile into a fancy "remote volume control", where tapping 1 would be the lowest volume, and 9 the highest.
Number keypad mode is available (on android) in gboard, swype, ...
Here's a solution for Raspian with amixer output for both channels Left and Right for the Master control:
Volume up by 5:
amixer set Master -- $[$(amixer get Master|grep "Front Left"|grep -o [0-9]*%|sed 's/%//')+5]%
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined penum
Playback channels: Front Left - Front Right