KDE SC – KMix – Change Volume Percentage Step and add Audio Feedback

Sunday, 31. March 2013

While hovering over the KMix systray-icon using the mousewheel will increase (or decrease) the volume by min. 12% .. so the sound volume becomes “just too loud” or “just too soft”

The following change in the KMix config file will change that behaviour. The mouse wheel (or volume buttons) will increase the volume by approximately 4% instead of 12% after the change.

  1. Stop KMix  (right-click on the kmix icon in the systray and select “exit”)
  2. Edit the config file ( nano ~/.kde/share/config/kmixrc )
  3. Add the following line to the [Global] section:   VolumePercentageStep=1.2
  4. Set the value for VolumeFeedback to true
  5. Save the config file
  6. Start KMix
  7. Enjoy your fine granied KMix control with audible feedback! 

thx to eric hameleers for the percentage step – tip 🙂

 

EDIT:   (audiofeedback)

or.. you can just enable the audio feedback in the GUI 🙂

 

kmix

 

 

 

 

Easy Setup NGINX Webserver

Sunday, 17. March 2013

 Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. 

http://wiki.nginx.org/Main

 

Set Up / Install

sudo apt-get install nginx

Create a New Directory under /var/www/html

sudo mkdir -p /var/www/html/MyDomain.com/

 

Create a New INDEX.html under /var/www/html

sudo nano /var/www/html/MyDomain.com/index.html

Create the default index.html page

<html>
<head>
<title>www.MyDomain.com</title>
</head>
<body>
<h1>This is your first virtual host</h1>
</body>
</html>

 

Create the New Virtual Host File

 sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/MyDomain.com

 

Set Up the Virtual Hosts

sudo nano /etc/nginx/sites-available/MyDomain.com

Make changes in the NGINX.conf file

Server {
listen 80;

root /var/www/MyDomain.com;
index index.html index.htm;
server_name MyDomain.com;
}

Create a symbolic link between the sites-available directory and the sites-enabled directory

sudo ln -s /etc/nginx/sites-available/MyDomain.com /etc/nginx/sites-enabled/MyDomain.com

Restart NGINX

sudo service nginx restart