Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:37:53+00:00 2026-06-01T01:37:53+00:00

I have a python (pygtk) application which starts in different modes depending on arguments.

  • 0

I have a python (pygtk) application which starts in different modes depending on arguments. I have a bash script for each application mode:

kadro-reader.sh:

#!/bin/sh
/usr/bin/kadro reader

kadro-gmail.sh:

#!/bin/sh
/usr/bin/kadro gmail

I also have a .desktop launcher for each mode:

[Desktop Entry]
Name=Kadro Google Reader
Icon=kadro-reader
Exec=kadro-reader.sh
Categories=Network;
Type=Application

Every .desktop launcher defines a different icon. But Unity always shows the same icon for all application modes.

Similar problem with Kupfer: After I have started one mode, Kupfer thinks all other modes are running too.

It seams Unity (BAMF Application Matching Framework) and Kupfer are unable to associate the running processes with the right .desktop launcher.

Ist there a right way how to make clear to debian, which icon my python process wants to use?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:37:54+00:00Added an answer on June 1, 2026 at 1:37 am

    I have solved the problem as follows:

    I have installed my generic Kadro application as a python library. For each mode, I create its own python script, which just calls the generic Kadro library with the right paramter.

    Now Unity and Kupfer show the right icons.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Python script which uses a glade file to define its UI,
I have an application which depends on PyGTK, PyGobject, and PyCairo that I built
I'm creating my first Python application (PyGTK) and will use a conf file. In
I'm creating a indicator applet using Python (pygtk) and I have a function that
I have written this short script (which I've stripped away some minor detail for
I have a pygtk Table with 16 squares, each of them containing a label.
I have seen through python - Pygtk VS Pyqt VS WxPython VS Tkinter ;
I have a python program that implements pygtk for GUI. I have it running
I'm working on a project using Python and pyGTK. I have a window whose
i'm experimenting pygtk programms development, with python 2.7, and i have a little problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.