473,804 Members | 3,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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?

Aug 15 '05 #1
2 1806
Have you tried starting it in a .xsession file with something like:
exec gnome-session &
button_prog.py

Aug 16 '05 #2
----- Original Message -----
From: <cu***********@ gmail.com>
Newsgroups: comp.lang.pytho n
To: <py*********@py thon.org>
Sent: Tuesday, August 16, 2005 12:14 PM
Subject: Re: Is Tkinter compatible with GNOME?

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

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.

Aug 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4068
by: Rob Andrews | last post by:
I'm on a Red Hat 9 system, which has Python 2.2.2 installed, and I installed 2.3 separately into /home/rob/Python-2.3/ (creating the symbolic link "py23" to point to my 2.3 installation). Now I'm trying to work out the kinks in the process. Unable to run Idle using 2.3 the way I've got things set up, I created a super simple Tkinter test program that just pops up a Label widget. I pasted below an example of how the RH-provided 2.2 runs...
3
2434
by: Ivan Letal | last post by:
I have just tried this code.. Tkinter import * root = Tk() def callback(event): print "clicked at", event.x, event.y frame = Frame(root, width=100, height=100)
1
4235
by: Jeremy C. Reed | last post by:
Configuring gramps (genealogy software) says: checking Python bindings for gtk... ok checking Python bindings for GNOME... ok checking Python bindings for gconf... Traceback (most recent call last): File "conftest.py", line 17, in ? import gnome.gconf ImportError: No module named gconf cat: conftest.out: No such file or directory configure: error:
1
2716
by: Philippe C. Martin | last post by:
Hi, I have the following convern: I have Tkinter applications that require a zoom box, and have had the following behavior without changing a line of code: 1) Mandrake 10.0/KDE 3.2/Python 2.3: no zoom box 2) Mandrake 10.0/KDE 3.2/Python 2.4: zoom box shows 3) Mandrake 10.1/KDE 3.3/Python 2.4: no zoom box 4) Mandrake 10.1/Gnome 2.6/Python 2.4: zoom box shows
4
3836
by: dmsbox2000-list1 | last post by:
I am running Mac OS X. I have Tcl/Tk installed. I can run the Aqua version (TkAqua) of wish by typing 'wish' at a terminal prompt. I can run the X11 version (TkX11) of wish by typing 'wish8.4-X11' in an x-term. If I run python and import Tkinter it always grabs the TkAqua version. How can I get Tkinter to load the TkX11 version? I want to be able to switch back and forth between the two at will. Thanks David
7
1954
by: krishnakant Mane | last post by:
hello all, I seam to have noticed this a bit late but it appears to me that tkinter is being used very widely for gui development on all platform? is that right? since fredric lundh has written a very good introduction to tkinter (was that just an intro?), I have got keen interest to know the following. may be fredric himself might put some light on these points. 1. I seriously don't intend to start a flame war but does tkinter stand...
44
5012
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I noticed the problem for the last py file processed by this script, where the concerned tmp file is only actually written to when PythonWin is closed. In other words, after I run this script, one of the generated tmp files has a size of 0kB. I then close PythonWin and it is then written to.
4
2002
by: fabdeb | last post by:
Hi every one, I m a sysadmin who want to know how to use python. I dont know anything about oriented object programation, i only know bash and a little perl. I have some simple questions about python. the first: what is the differences between a function and a classe? In which case i should use a function ? In which case i should use a class ?
2
2181
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using Active State Python version 2.5 and found that there is not Tkinter and Tk module in it. To use Tkinter do I actually require Tk installed on my machine? Please suggest and where can I find both these modules?
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.