Crossposting test@ desktop@
Hi,
I keep getting this weird behavior on Fedora 29 for which there are no journal messages at all. This is the setup:
1. on battery power 2. Settings>Power>Blank Power = 5 minutes 3. Settings>Power>Dim Screen when inactive = On 4. Settings>Power>Automatic Suspend>Battery = On, 15 minutes --- 5. Use is inactive for more than 5 minutes, and less than 15. (At 15 minutes it definitely goes into suspend successfully). 6. I look up and see the GNOME lock screen with multiple yakyak notifications, and also see a power notification (international stop sign symbol). The power notification doesn't itself make the display come on, it's yakyak. If I don't receive an incoming message on yakyak, I have no idea the power notification is present. And if I take a screenshot while the display is off, the screenshot file is all black. 7. The instant I click on any key or the trackpad, only the power notification vanishes. The yakyak message remain in the list, and once I log back into my user session, the power notification is not in the drop down list of notifications when clicking on the time. And yet all the yakyak notifications are in the list. 8. Nothing in the journal related to power https://paste.fedoraproject.org/paste/p1Y-B8Sq3446sM4H5FtvgQ/raw
Is there a way to make the environment spit out more verbose messages into the journal? I don't see a debug or verbose option with gnome-shell -h
gnome-shell-3.30.0-7.fc29.x86_64
On Sat, Sep 22, 2018 at 9:22 PM Chris Murphy lists@colorremedies.com wrote:
Crossposting test@ desktop@
Hi,
I keep getting this weird behavior on Fedora 29 for which there are no journal messages at all. This is the setup:
- on battery power
- Settings>Power>Blank Power = 5 minutes
- Settings>Power>Dim Screen when inactive = On
- Settings>Power>Automatic Suspend>Battery = On, 15 minutes
- Use is inactive for more than 5 minutes, and less than 15. (At 15
minutes it definitely goes into suspend successfully). 6. I look up and see the GNOME lock screen with multiple yakyak notifications, and also see a power notification (international stop sign symbol). The power notification doesn't itself make the display come on, it's yakyak. If I don't receive an incoming message on yakyak, I have no idea the power notification is present. And if I take a screenshot while the display is off, the screenshot file is all black. 7. The instant I click on any key or the trackpad, only the power notification vanishes. The yakyak message remain in the list, and once I log back into my user session, the power notification is not in the drop down list of notifications when clicking on the time. And yet all the yakyak notifications are in the list. 8. Nothing in the journal related to power https://paste.fedoraproject.org/paste/p1Y-B8Sq3446sM4H5FtvgQ/raw
Is there a way to make the environment spit out more verbose messages into the journal? I don't see a debug or verbose option with gnome-shell -h
gnome-shell-3.30.0-7.fc29.x86_64
You're trying to figure out what the power notification is, or something else? You haven't actually presented a question :)
The power notification is, I believe, "Your system is going to get suspend soon due to inactivity" (or phrased similarly). Once you touch an input device, the notification gets destroyed. The presentation is somewhat confusing, I agree. For verification, disable screen blanking. You should see the same power notification pop up some time before the 15 minutes suspend timeout.
It probably doesn't make sense to show this particular notification on the lock screen (instead the lock screen could show something like "suspending in X minutes" somewhere visibly by itself). But the sender of the notification can't probably enable/disable lock screen visibility on a per-message basis (but I haven't looked at all the available hints you can attach).
----- Original Message -----
You're trying to figure out what the power notification is, or something else? You haven't actually presented a question :)
The power notification is, I believe, "Your system is going to get suspend soon due to inactivity" (or phrased similarly). Once you touch an input device, the notification gets destroyed. The presentation is somewhat confusing, I agree. For verification, disable screen blanking. You should see the same power notification pop up some time before the 15 minutes suspend timeout.
It probably doesn't make sense to show this particular notification on the lock screen (instead the lock screen could show something like "suspending in X minutes" somewhere visibly by itself). But the sender of the notification can't probably enable/disable lock screen visibility on a per-message basis (but I haven't looked at all the available hints you can attach).
The notification should be visible, as it should wake the screen up when it appears, and also be visible when other notifications appear (which should also wake up the screen).
It should be gnome-shell making the decisions of whether to wake the screen up or not, not the caller (see the WakeUpScreen D-Bus signal in both source trees for details).
On Mon, Sep 24, 2018 at 6:47 AM, Bastien Nocera bnocera@redhat.com wrote:
----- Original Message -----
You're trying to figure out what the power notification is, or something else? You haven't actually presented a question :)
The power notification is, I believe, "Your system is going to get suspend soon due to inactivity" (or phrased similarly). Once you touch an input device, the notification gets destroyed. The presentation is somewhat confusing, I agree. For verification, disable screen blanking. You should see the same power notification pop up some time before the 15 minutes suspend timeout.
It probably doesn't make sense to show this particular notification on the lock screen (instead the lock screen could show something like "suspending in X minutes" somewhere visibly by itself). But the sender of the notification can't probably enable/disable lock screen visibility on a per-message basis (but I haven't looked at all the available hints you can attach).
The notification should be visible, as it should wake the screen up when it appears, and also be visible when other notifications appear (which should also wake up the screen).
I'm finding it super annoying.
a. I've decided to ignore the laptop, laptop display goes off, notifications are irrelevant. b. It's distracting me from other work I'm doing, for no good reason. c. I have an external display connected. Someone sends me a chat message, the external display lights up for 30 seconds, and then powers off. They chat again, and it's this on off on off on off cycle that's making the power savings policy I've set entirely pointless. My laptop is not a cellphone.
It should be gnome-shell making the decisions of whether to wake the screen up or not, not the caller (see the WakeUpScreen D-Bus signal in both source trees for details).
OK but there's nothing in the journal. If it's worth waking up my laptop and external display and putting up a red power notification as if there's a problem, this should be logged.
On Thu, Oct 11, 2018 at 6:48 PM Chris Murphy lists@colorremedies.com wrote:
On Mon, Sep 24, 2018 at 6:47 AM, Bastien Nocera bnocera@redhat.com wrote:
The notification should be visible, as it should wake the screen up when it appears, and also be visible when other notifications appear (which should also wake up the screen).
I'm finding it super annoying.
Turn them off then? Settings -> Notifications -> Lock Screen Notifications ...
On Thu, Oct 11, 2018 at 11:45 AM, Florian Müllner fmuellner@gnome.org wrote:
On Thu, Oct 11, 2018 at 6:48 PM Chris Murphy lists@colorremedies.com wrote:
On Mon, Sep 24, 2018 at 6:47 AM, Bastien Nocera bnocera@redhat.com wrote:
The notification should be visible, as it should wake the screen up when it appears, and also be visible when other notifications appear (which should also wake up the screen).
I'm finding it super annoying.
Turn them off then? Settings -> Notifications -> Lock Screen Notifications ...
That's throwing out the baby with the bath water.
When I'm using the laptop, they are useful.
When I'm not using the laptop, the screen turning on then off then on then off then on, is annoying: I don't really care one way or another about notifications as long as I don't see them once my inactivity has caused the screen to dim.
The policy is "dim screen when inactive" and as this is a user domain policy, inactive means 'the user is not actively using the computer' - when some other program can cause the screen to wake up, it's a domain violation. I haven't interacted with the laptop, therefore the screen should not wake up under any circumstance. That's how Windows 10 and macOS behave.
Android and iOS, on the other hand, behave they way GNOME is right now. Any app can cause the screen to turn on and bug me, which is why my attention seeking phone is usually face down.
Of course GNOME should know when I'm ignoring it, it shouldn't bug me. Of course it should.
On Fri, Oct 12, 2018 at 12:27 AM Chris Murphy lists@colorremedies.com wrote:
On Thu, Oct 11, 2018 at 11:45 AM, Florian Müllner fmuellner@gnome.org wrote:
Turn them off then? Settings -> Notifications -> Lock Screen Notifications ...
That's throwing out the baby with the bath water.
When I'm using the laptop, they are useful.
That setting turns off notifications when the screen is locked. Notifications are still shown normally in the regular session, so I don't see how that setting isn't doing exactly what you are asking for.
On Thu, Oct 11, 2018 at 5:30 PM, Florian Müllner fmuellner@gnome.org wrote:
On Fri, Oct 12, 2018 at 12:27 AM Chris Murphy lists@colorremedies.com wrote:
On Thu, Oct 11, 2018 at 11:45 AM, Florian Müllner fmuellner@gnome.org wrote:
Turn them off then? Settings -> Notifications -> Lock Screen Notifications ...
That's throwing out the baby with the bath water.
When I'm using the laptop, they are useful.
That setting turns off notifications when the screen is locked. Notifications are still shown normally in the regular session, so I don't see how that setting isn't doing exactly what you are asking for.
Aha! Yet another example of me being stubborn to add to the list...Thanks for being persistent in the face of obstinance!
I still would like to know if there's a way to get gnome-shell to be more verbose about events, ideally dumping them into the journal.
Hi,
On Sat, 2018-09-22 at 13:21 -0600, Chris Murphy wrote:
- on battery power
- Settings>Power>Blank Power = 5 minutes
- Settings>Power>Dim Screen when inactive = On
- Settings>Power>Automatic Suspend>Battery = On, 15 minutes
- Use is inactive for more than 5 minutes, and less than 15. (At 15
minutes it definitely goes into suspend successfully). 6. I look up and see the GNOME lock screen with multiple yakyak notifications, and also see a power notification (international stop sign symbol). The power notification doesn't itself make the display come on, it's yakyak. If I don't receive an incoming message on yakyak, I have no idea the power notification is present. And if I take a screenshot while the display is off, the screenshot file is all black. 7. The instant I click on any key or the trackpad, only the power notification vanishes. The yakyak message remain in the list, and once I log back into my user session, the power notification is not in the drop down list of notifications when clicking on the time. And yet all the yakyak notifications are in the list.
That is the expected behaviour. gnome-settings-daemon dismisses the notification about the imminent inactivity suspend when the user becomes active again. So that *is* currently the expected behaviour, even if it also seems kind of pointless to me to show this warning (without proper information) on the lock screen.
There are also the following bugs, which would enable you to disable the power related notifications completely: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/55 and https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/38
but that does not really address the issue you are raising.
Benjamin
desktop@lists.fedoraproject.org