I don't know if this should be here due to the very basicness of it, but I added a command to my .bashrc file:
This turns off beeps in the terminal, the trouble is if I'm in the console I get something like this message everytime I login:
xset: unable to open display.
How can I use a conditional statement to check if a display (X Window) is open:
if display is open
xset b off;