Comments (1)
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)
- interally combine file and exec subcommand common implementation
- `etrace file --use-snap-run chromium` fails on Ubuntu 20.10 HOT 1
- Mention pros & cons against other tools used for measuring application startup times HOT 1
- look into using for measuring flatpaks too HOT 1
- fail with nicer message when no window session is available
- error message should be smarter
- support getting syscall return value in internal tracing pkg
- Add a timeout option in case the exec command does not find a window match
- Provide a quiet mode where nothing but the total startup time is displayed HOT 3
- Provide an option to always render the startup time in seconds HOT 1
- more tests for tracing package
- Look into using xdo instead of xdotool HOT 2
- analyze-snap should better identify running things through snap run
- etrace Fails when snap registers a url
- trace fails for standard-notes
- analyze-snap should perhaps compare to non-snap packages
- unable to trace intellij snap HOT 1
- Dependency Dashboard
- Fails to start: `could not set process exec attr to unconfined: write /proc/self/attr/exec: invalid argument`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from etrace.