Comments (7)
Same here, window:toast_notification
doesn't seem to do anything for me?
from wezterm.
I think this has something to do with the installation method.
On Windows, notifications work when installed with winget (i.e. using the installer as non-portable), while with scoop (as a portable install) not notifications show. I tested this the same way as @leetking, can someone else confirm this?
from wezterm.
I too use scoop and toast notifications do not work. I'll try installing the non portable version and testing.
EDIT: toasts work when using wezterm installed via the setup.exe
from wezterm.
I did some tests as follows:
- The wezterm installed by scoop actually downloads the non-portable installation package from the release page https://github.com/wez/wezterm/releases/download/20240203-110809-5046fc22/WezTerm-windows-20240203-110809-5046fc22.zip , so after I manually downloaded the portable zip, decompressed it and used it, I found that notification could not be triggered either.
- After downloading setup.exe and installing it, click on the newly installed wezterm-gui.exe. The experiment found that notification can be triggered.
- Interestingly, I also opened wezterm-gui.exe installed by scoop and found that nofication can also be triggered.
- Uninstall the wezterm installed through setup.exe and reopen the wezterm installed by scoop. Nofication cannot be triggered.
Presumption: The setup.exe installation will register some information in the system, but the scoop or downloaded portable version lacks this information, resulting in the failure to trigger the notification.
from wezterm.
- The wezterm installed by scoop actually downloads the non-portable installation package from the release page ...
Scoop packages usually extract the contents .exe
, so the bundled installer is not run. From looking at the manifest, this seems to be the case. Although I do not really know any technical details on what that means.
- Interestingly, I also opened wezterm-gui.exe installed by scoop and found that nofication can also be triggered.
I can confirm this, probably because the installer does somethingยฎ that makes the notification possible irrespective of the installation path.
The setup.exe installation will register some information in the system, but the scoop or downloaded portable version lacks this information, resulting in the failure to trigger the notification.
My first guess would be a registry key, scoop does not automatically edit the registry by default.
from wezterm.
https://learn.microsoft.com/en-us/answers/questions/159295/no-desktop-notifications-for-portable-apps-from-ne
According to this article, it seems to be a common problem with portable programs.
According to the answer of Eleven Yu:
The notifications settings can be deployed by GPO or registry.
Group Policy:
Computer Configuration\Administrative Templates\Windows Components\App Privacy - Let Windows apps access notifications
Registry:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppPrivacy
I need to register a GPO, but I donโt know much about it.
from wezterm.
According to my understanding: Wezterm's setup.exe is generated by inno setup. After it is installed, it appears as an application on the Windows system. The installed program can be found in Notifications & actions, so you can control whether notifications are allowed to be issued. , but the portable program does not appear as an application to windows.
from wezterm.
Related Issues (20)
- Lua method for getting the text selection including white space
- "Lock" symbol in password request showing as a different glyph HOT 6
- wrong up arrow icon alignment
- wezterm can't not use Ctrl+D to disconnect remote ssh session which using zsh
- "Open in WezTerm" is not added in Ubuntu 20.04 Nautilus Context Menu. (TypeError: super() takes at least 1 argument (0 given))
- Cursor doesn't blink in tmux session
- wezterm cli swap-panes
- Wezterm panic: called `Option::unwrap()` on a `None` value HOT 1
- `CaseInSensitiveString` is not a valid Pattern variant
- unexpected behavior of PaneSelect with wezterm server
- `wezterm imgcat` crashes when running in tmux HOT 1
- chinese punctuation position render too high up HOT 5
- When the `Mission Control` is turned on, not smooth HOT 2
- On Windows 11 History not working
- Wezterm-gui.exe still spawn a cmd on windows HOT 16
- Ability to fuzzy match when using CharSelect
- Control+K Shortcut for Katakana Conversion Not Working on WezTerm HOT 1
- Ability to open explicit hyperlinks from the keyboard. HOT 1
- activate-pane Fail
- Support xdg-activation when opening URLs
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 wezterm.