You are not logged in.
Hi Guys,
I often upgrade my Arch from terminal, when I'm logged out from KDE. After upgrading I'm always getting the following message printed to console:
"Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached"
To my understanding, `pacman` wants to display notification on KDE, but it cannot be done. Not a big thing, but I need to wait 2 minutes or so to be able to use console since there is a timeout. Could it be turn off?
In other words, I do not want pacman to wait to display notification. How can I do that?
Thanks in advance!
Last edited by menteith (2025-05-26 19:51:20)
Long time Debian user who switched to Arch.
Offline
No, pacman does not do that. What command are you running, exactly? Post full, complete command and output.
Online
I use the following command:
LANG=C yay --answerdiff None --answerclean None --mflags --noconfirm
.
Here's some of the last lines of the above-mentioned command:
Long time Debian user who switched to Arch.
Offline
So this is a yay thing, not sure why you decided to blame pacman.
Please, don't post images of text, post the text itself.
Online
From a superficial research (docs, bugs, google) this doesn't even seem to be a yay thing…
type -a yay
Online
this possibly looks like it could be a post-transaction pacman hook that triggers a notification after package upgrade so it could be worth to look into your pacman hook directory as well.
Offline
I've found the culprit! I had notification set up in zsh that informed when a long-running task had finished. After removing offending line, everything is working fine.
zplug "plugins/bgnotify", from:oh-my-zsh
Long time Debian user who switched to Arch.
Offline
from:oh-my-zsh
Quelle surprise…
Online
Quite surprising, indeed.
Long time Debian user who switched to Arch.
Offline
https://en.wiktionary.org/wiki/quelle_surprise#Phrase
Causin weird bugs is OMZs MO.
Online
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline