473,750 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Restoring my own PyGNOME panel applets under GNOME 1.4

I'm playing around with writing my own panel applets, and I'm trying
to figure out how to get my panel applets to be restored when I log
in. As an experiment, I'm using the simple clock applet that comes
with PyGNOME (clock-applet.py). It works fine when I run it from the
shell, but when I log out and log in again, there's just a tiny
GNOME-foot icon where the applet should be.

After poking around in ~/.gnome/panel.d, I think I've figured out that
the panel knows there should be an applet in that spot, but there's
nothing telling it what executable to run to put the applet there. Do
I somehow need to create that mapping, or is the problem something
else altogether?

Applets I add to the panel through the normal process (right-click ->
Applets -> ...) are restored when I log in, as expected.

I'm using GNOME 1.4 on Red Hat 7.3 (sorry, but this is a work system,
and I can't upgrade; I also can't put my code where the system applets
are). Thanks for any help you can offer.
Jul 18 '05 #1
1 2137
vm*********@yah oo.com (Vincent Montressor) wrote in message news:<88******* *************** ****@posting.go ogle.com>...
I'm playing around with writing my own panel applets, and I'm trying
to figure out how to get my panel applets to be restored when I log
in. As an experiment, I'm using the simple clock applet that comes
with PyGNOME (clock-applet.py). It works fine when I run it from the
shell, but when I log out and log in again, there's just a tiny
GNOME-foot icon where the applet should be.


Ah, never mind: adding the applet to my GNOME startup programs list solved it. Duh.
Jul 18 '05 #2

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

Similar topics

0
1184
by: Haim Ashkenazi | last post by:
Hi I want to write an application that has the option of having an icon on the panel (to hide and show the main window + menu), something like gaim or rhythmbox. my first choice was pykde (since I use kde) but although I'm a python newbie, I got the impression from their mailing list that you have to wait every time a new kde version is out, for the release of the new bindings (like now, I have kde 3.2 for almost a month, but I can't use...
0
295
by: yxq | last post by:
Hi I found a link to get control panel applets. http://delphi.about.com/library/weekly/aa062403b.htm I know a little about Delphi, how to get only the icon of control panel applets using vb.net? Thanks
3
1964
by: yxq | last post by:
Hello, I found a sample code for enumerating and hosting control panel applets, http://www.codeproject.com/csharp/appletengine.asp but the applet icons have ugly shadow, how to get rid of it? Thank you
1
1631
by: Tom | last post by:
I have a large application; lots of forms, multiple dynamic DLLs, etc. I also have, in the appliation, a general 'Preferences' class object (which is in itself a separate DLL, and I just include a reference to it so I can instantiate it at the beginning) which stores all my user preferences. I serialize the data to and from an XML file, thereby saving and restoring the user preferences with ease. I also have a Preferences form that the user...
4
8722
by: m.wanstall | last post by:
Hi there, I'm totally new to Python and was wondering why I was getting an error for this. I'm just trying to create a folder based on user input: import os def setupProject(project): os.mkdir(project) os.chdir(project)
0
1129
by: Kevin S Gallagher | last post by:
Back in my Borland Delphi days I was able to create "Control Panel Applets" and wondered if this is possible in VS2005 ? Thanks for any insight and possibly templates for a CP applet. Kevin
2
2061
by: shashikantbokaro1976 | last post by:
Hi all, How to create a control panel applets using c#.
5
1952
by: Jimmy | last post by:
Hi, all I have been trying to use wxPython to design a GUI that will be displayed on the panel on the top of desktop. that is when the program starts, it will dwell on the panel to display some dynamic information. can anyone tell me in wxPython how to do this? thanks!
3
2576
by: MC | last post by:
Can Control Panel applets be created using C#? I know there is a well-known web page about how to host and enumerate them -- but that's not the same as creating them. Thanks.
0
9000
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9577
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
9396
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
9339
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
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
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
4713
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
4887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.