nls1729 / acme-code

Gnome Shell Extensions etc...
https://nls1729.github.io
GNU General Public License v2.0
66 stars 25 forks source link

Do Not Disturb Button Extension Gnome 3.32 #55

Closed scan09 closed 5 years ago

scan09 commented 5 years ago

login leaves this: https://i.imgur.com/JeAkTIw.png

nls1729 commented 5 years ago

It looks like it is working as it should. Read the README.txt file Description of the Busy State Timeout Feature.

The Once Radio Button is used to select a one time timeout. When the Enable Check Box is checked and the Once Radio Button is selected a timeout starts when the extension's busy state is set. When the one time timeout expires the Busy State Timeout Feature is disabled. A notification is sent, "Timeout Once Busy State Timeout expired. Timeout disabled". The Busy State Timeout Feature will not start a new one time timeout until the Enable Check Box preference is checked to re-enable the Busy State Timeout Feature. If during the duration of a one time timeout the Gnome Session is ended at the next session start the Busy State Timeout Feature will be disabled and a notification is displayed, "Timeout Once Found at Session Start Busy Timeout is disabled". If there are unviewed notifications in the in the queue notifications may not be displayed but will be added to the queue.

nls1729 commented 5 years ago

Set the Always radio button to disable the Once timeout warning at session start.

nls1729 commented 5 years ago

I changed the code to only show the warning at the next session start. If you want a quick fix find line: Notify.notify(("Timeout Once Found at Session Start"),("Busy State Timeout is disabled.")); in file extension.js . After that line add: this._settings.set_boolean('time-out-always', true);

scan09 commented 5 years ago

Esta es la configuración: https://i.imgur.com/1rBJe9i.png

En cada inicio aparece esto: https://i.imgur.com/JeAkTIw.png

scan09 commented 5 years ago

I changed the code to only show the warning at the next session start. If you want a quick fix find line: Notify.notify(("Timeout Once Found at Session Start"),("Busy State Timeout is disabled.")); in file extension.js . After that line add: this._settings.set_boolean('time-out-always', true);

I'm going to try

scan09 commented 5 years ago

I changed the code to only show the warning at the next session start. If you want a quick fix find line: Notify.notify(("Timeout Once Found at Session Start"),("Busy State Timeout is disabled.")); in file extension.js . After that line add: this._settings.set_boolean('time-out-always', true);

I'm going to try

it's works

nls1729 commented 5 years ago

I am working on adding the option to mute the sound when the busy state is active. I also will remove the message Timeout Once Found at Session - Start Busy State Timeout is disabled. I think the message is not necessary. Thanks for reporting this issue.

nls1729 commented 5 years ago

@scan09

Version 31 of the extension is now available at: <https://extensions.gnome.org/extension/964/do-not-disturb-button/ >

The message has been removed. Thanks for reporting this issue.