| February 09, 2012 by |
Ubuntu's Unity Interface has many handy features, one of which is a new launcher bar that supports Quicklists. Each launcher icon can have a customizable list of options that let you run the program however you want. Here's a quicklist for the popular webserver nginx.

- First, Install nginx-init-ubuntu.
-
Add create a new file
.local/share/applications/namednginx.desktopand paste this inside:[Desktop Entry] Name=Nginx Comment=Nginx Webserver Exec=sudo service nginx start Icon=/usr/share/icons/nginx.png Type=Application Categories=Web;Servers; StartupNotify=true Terminal=true #OnlyShowIn=GNOME;Unity; X-Ubuntu-Gettext-Domain=nginx X-Ayatana-Desktop-Shortcuts=Start;Stop;Restart; [Start Shortcut Group] Name=Start Nginx Exec=sudo service nginx start TargetEnvironment=Unity [Stop Shortcut Group] Name=Stop Nginx Exec=sudo service nginx stop TargetEnvironment=Unity [Restart Shortcut Group] Name=Restart Nginx Exec=sudo service nginx restart TargetEnvironment=Unity
- Using your file manager (such as nautilus), drag
.local/share/applications/nginx.desktopto the launcher.
