Is Tkinter compatible with GNOME?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mulac

    #1

    Is Tkinter compatible with GNOME?

    Is Tkinter also compatible wih GNOME?

    I wrote a program in python that displays 2 buttons for starting and stopping the
    execution of a program.
    I used Tkinter for the gui.
    I want the program to run as a daemon when linux is booted.
    I want the buttons to be displayed at the presession login screen.
    I am using Fedora core 4 with GNOME

    I cannot seem to get the buttons to display at the presession screen.
    I figure it is either that the init script I wrote to make the python program a daemon
    isnt working right OR Tkinter cant do the job.

    Any thoughts?

  • curtis.rendon@gmail.com

    #2
    Re: Is Tkinter compatible with GNOME?

    Have you tried starting it in a .xsession file with something like:
    exec gnome-session &
    button_prog.py

    Comment

    • Mulac

      #3
      Re: Is Tkinter compatible with GNOME?

      ----- Original Message -----
      From: <curtis.rendon@ gmail.com>
      Newsgroups: comp.lang.pytho n
      To: <python-list@python.org >
      Sent: Tuesday, August 16, 2005 12:14 PM
      Subject: Re: Is Tkinter compatible with GNOME?

      [color=blue]
      > Have you tried starting it in a .xsession file with something like:
      > exec gnome-session &
      > button_prog.py
      >[/color]
      Doesnt .xsession only get invoked after someone has successfully logged into an account?

      I need the button_prog to be running in the background before anyone logs into the system.
      Ultimately, I want the person logging in to be able to press a button instead of having to
      enter a username and password.

      Comment

      Working...