Giter VIP home page Giter VIP logo

Comments (1)

anonymouse64 avatar anonymouse64 commented on September 25, 2024

Unfortunately, this is a case where some application's window names/classes don't cleanly map to their snap name, so the assumptions I have built into etrace don't pick the right thing automatically and so you need to do something like this:

etrace exec --silent --no-trace antstream-arcade --window-class-name="Antstream Arcade"

however I still have a TODO to support all the --window-class-name, etc. options in analyze-snap (though that should be pretty easy to add), and I also need to document better what to do when etrace can't figure out how to close the window automatically so folks know how to look for it (that will be harder I think).

Alternatively, something like a command to let etrace interactively find the window and then tell the user the set of options that work with this snap would be most helpful

etrace detect-window-opts anstream-arcade
Window possibly detected as WID "0xff020df" with title "SOME UNPREDICTABLE WINDOW TITLE"
Please close the window manually to confirm this is the correct window
Success! Use these options in the future:
etrace <cmd> --window-class-name="SOME UNPREDICTABLE WINDOW TITLE"

but failing time to implement all the logic for that just a basic explanation of how to use xdotoool and wmctrl -l, etc. would be best I think

from etrace.

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.