forked from blackjackshellac/kitchenTimer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_timer_persistence.sh
More file actions
executable file
·30 lines (28 loc) · 1.18 KB
/
Copy pathtest_timer_persistence.sh
File metadata and controls
executable file
·30 lines (28 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Test script to verify timer persistence functionality
# This script helps test if timers continue running after system restart
echo "Timer Persistence Test Script"
echo "============================="
echo ""
echo "This script helps you test if the timer persistence fix is working."
echo ""
echo "Instructions:"
echo "1. Start a timer (e.g., 5 minutes) using the extension"
echo "2. Wait a minute or two"
echo "3. Run: gnome-extensions disable taskTimer@CryptoD"
echo "4. Run: gnome-extensions enable taskTimer@CryptoD"
echo "5. Check if the timer continues from where it left off"
echo ""
echo "Alternative test (simulates system restart):"
echo "1. Start a timer"
echo "2. Log out and log back in"
echo "3. Check if the timer continues"
echo ""
echo "To check timer state manually:"
echo "- Settings file: ~/.local/share/taskTimer@CryptoD/timers.json"
echo "- Running timers: gsettings get org.gnome.shell.extensions.kitchen-timer-blackjackshellac running"
echo ""
echo "If the fix works, you should see:"
echo "- Timer continues counting down from where it left off"
echo "- Proper notifications if timer expired during downtime"
echo "- Session inhibitor working (prevents idle/suspend)"