Comments (23)
I will give it some thought :)
from nyrna.
This is awesome, thank you again for working on this!
from nyrna.
Windows performance should see a marked improvement with v2.17.0. 🎉
from nyrna.
Awesome, thank you!
from nyrna.
We could probably add an optional command line argument, so that it would be possible to specify maybe the executable you want suspended - something like:
nyrna --toggle --exe=darksouls.exe
Then just add that command to a shortcut for your system, and create as many as you like. Would that work for your uses?
from nyrna.
That would work, but I would also like a hotkey so I can easily trigger it from my controller.
I am sure I can figure a way to run a link/cmd via a macro but would be so much easier if I could just set a special hotkey
Thanks
from nyrna.
Appreciate it
from nyrna.
I added the ability to assign a hotkey to specific apps.
Please give this a try and let me know if that works for you. :)
Nyrna-Windows-Portable.zip
Nyrna-Linux-Portable.tar.gz
from nyrna.
from nyrna.
from nyrna.
That is weird. I'll spin up a Windows 11 machine so I can test it.
from nyrna.
from nyrna.
Alright, think I have fixed that now. Please give this one a try. 🤞
Nyrna-Windows-Portable.zip
Nyrna-Linux-Portable.tar.gz
from nyrna.
I'll take it that means it works for you 😁
from nyrna.
from nyrna.
2 big issues so far
- I can't change the global hotkey. It crashes right before/after it captures the new one
- It is extremely slow to pause/unpause, both globally and specific windows.
Log error
ERROR ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ERROR │ PathAccessException: Cannot delete file, path = 'C:\Users\Jeremyr\AppData\Roaming\com.example\nyrna\log.txt' (OS Error: The process cannot access the file because it is being used by another process.
ERROR │ , errno = 32)
ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
ERROR │ #0 _checkForErrorResponse (dart:io/common.dart:55)
ERROR │ #1 _File._delete.<anonymous closure> (dart:io/file_impl.dart:315)
ERROR │ #2 <asynchronous suspension>
ERROR │ #3 LoggingManager.initialize (package:nyrna/logs/logging_manager.dart:37)
ERROR │ #4 <asynchronous suspension>
ERROR │ #5 _VerboseLoggingTileState.build.<anonymous closure> (package:nyrna/settings/settings_page.dart:114)
ERROR │ #6 <asynchronous suspension>
ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
ERROR │ ⛔ Uncaught platform error
ERROR └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
from nyrna.
That's weird. Does it crash if you try to bind different keys, or have you just tried one? Maybe try something like Ctrl + F10
? More Windows testing!
Thanks for providing such helpful info to help troubleshoot! 💙
from nyrna.
from nyrna.
Confirmed the crash on my end by using Insert
, think I've fixed that bug - should fix the same issue with other keys if it was the same problem.
Also fixed an issue with the logger, at the least it shouldn't cause a crash now.
Please give this build a shot :)
Nyrna-Linux-Portable.tar.gz
Nyrna-Windows-Portable.zip
from nyrna.
Looking good,
Logging just shows There was an issue creating the log file.
but I feel you already know that.
Can set/change both global + specific hotkeys just time.
1 thing I noticed, which you might not have implemented yet is the Verbose Logging is not persistent across restarts and the still 3-5 sec actual pause delay.
But great job!
from nyrna.
Logging just shows
There was an issue creating the log file.
but I feel you already know that.
Yeah, Windows being Windows. I will continue looking into it, thanks for bringing it to my attention! :)
Verbose Logging is not persistent across restarts
That will be in the next build.
pause delay
Might not be a whole lot to do about this, Windows makes this sort of thing nearly impossible. I'll add it to the todo list to see if it can be improved.
Can set/change both global + specific hotkeys just time.
🎉 Glad to hear it is working now! Thanks again for the troubleshooting, you gave great info and it was a big help. 💙
from nyrna.
from nyrna.
Hmm, after testing it some more I can only reproduce the issue on Windows 11; both Windows 10 and Linux suspend instantly, though for me it also happens with the most recent stable build.
from nyrna.
Related Issues (20)
- Powershell shows via toggle_active_window.exe HOT 5
- High CPU Usage when Nyrna is open HOT 5
- aur package is broken nyrna-2.11.1-2 HOT 2
- Error in build v2.13.0 HOT 2
- Start at login not working with Microsoft Store version
- Consistent Crashing HOT 1
- Windows Setup uses fixed version HOT 1
- Nyrna starts but never loads HOT 5
- [BUG] Wrong language in setting menu. HOT 4
- v2.16.0 and v2.16.1 slow while suspending tasks and startup problem HOT 4
- Controller support HOT 4
- Silent startup HOT 4
- Exclude Nyrna from suspension HOT 3
- [Feature request] Assign button combinations as hotkey HOT 2
- Doesn't really work HOT 1
- Tray icon buttons not working (win11) HOT 7
- Red dead redemption 2 error to suspend HOT 8
- Suspending native Linux games breaks system audio
- Can't launch Nyrna with latest Nobara update HOT 7
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 nyrna.