Giter VIP home page Giter VIP logo

Comments (7)

Baldomo avatar Baldomo commented on May 27, 2024

Sure, I can implement instance checking fairly easily, but what do you mean by "namespace"? I don't suppose you're referring to Linux process namespaces because I can't see how those would be influenced by a window manager. If you'd like to give more info on that, we could try working out a solution.

from asusctltray.

bhalalansh avatar bhalalansh commented on May 27, 2024

So basically what I am talking is how there is other applications that keep put in the appindicator (trayicons) usually have like this namespace(linux process name) which when you use

pkill <appname>

the app (the appindicator) will shutoff, which is not the case for this project. It shows only one thing: "python3" or "python" (as the process name).

So in short it shalt have a process name.

from asusctltray.

bhalalansh avatar bhalalansh commented on May 27, 2024

So for example here is leftwm's example for how they kill the custom trayicon stuff on reload and then start them on the end of reload:

fairly they have two files, namely up and down

up: https://github.com/AethanFoot/leftwm-theme-dracula-rounded/blob/master/up

(they start processes with specific name like dunst, picom, polybar)

down: https://github.com/AethanFoot/leftwm-theme-dracula-rounded/blob/master/down

(they kill processes with specific name like dunst, picom, polybar)

while the asusctltray project just have its process ran as a python3 runtime, rather than having its own namespace.

from asusctltray.

bhalalansh avatar bhalalansh commented on May 27, 2024

Actually this might be quite easy, as i saw this: https://code.google.com/archive/p/procname/

from asusctltray.

Baldomo avatar Baldomo commented on May 27, 2024

Sorry for the late response! Sure, I can work something out for that, but I'm going to treat as a low priority issue because I feel like this is more cosmetic than anything (since changing the process name is basically hacking around the Linux process namespaces working correctly). I'll work on it in the next couple days and report back.

from asusctltray.

bhalalansh avatar bhalalansh commented on May 27, 2024

Alright

from asusctltray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.