title: Add my python script to the system tray? Or the start menu, to run mu simple GUI?
body: <p>I'm just starting out with python. I have written a litte script/program/bit of code that is a GUI to change my keyboard brightness.</p>
  
  <p>I'd like to add the 'program' I wrote to the applications menu, or even better have it run from the system tray.</p>
  
  <p>Can anybody tell me how to turn my program into a stand alone icon that I can double click to run. I have looked online at 'compiling', 'making stand-alone' etc. I don't know the words to describe what I want to do.</p>
  
  <p>I'm running Ubuntu with KDE desktop.</p>
  
  <p>I doubt it's relevant but my code is:</p>
  
  <pre><code>## GUI for adjusting keyboard back-light
  ## Opens the config file, writes config file, closes file.
  #!/usr/bin/env python
  def open_and_write():
      myfile = open("/sys/devices/platform/dell-laptop/"\
                  "leds/dell::kbd_backlight/brightness", "wb")
      myfile.write(x)
      myfile.close()
  def press_off():
      global x
      x = "0"
      open_and_write()
  def press_medium():
      global x
      x = "1"
      open_and_write()
  def press_full():
      global x
      x = "2"
      open_and_write()
  from Tkinter import *
  root = Tk()                 
  root.title("Backlight")
  root.geometry("228x122")    
  app = Frame(root)           
  app.grid()                  
  button1 = Button(app, text = "Off", width=6, height=5, command=press_off)
  button2 = Button(app, text = "Medium", width=6, height=5, command=press_medium)
  button3 = Button(app, text = "Full", width=6, height=5,command=press_full)
  button1.grid(row = 1, column = 0)
  button2.grid(row = 1, column = 1)
  button3.grid(row = 1, column = 2)
  button = Button(root, text='EXIT', width=25, pady=5, command=root.destroy)
  button.grid()
  root.mainloop()*
  </code></pre>