toggldesktop
toggldesktop copied to clipboard
Show timer in topbar under Linux
Proposing to add a timer instead of the generic Toggl icon to the topbar of Linux, f.i. on Ubuntu Gnome, like it's already implemented in OSX.
This need some investigation. I'm not sure this is easily doable. From the top of my head I can't name any applications on Linux that have text in their top bar/menubar icon.
It seems pretty straightforward to me. This Gnome extension has it implemented graphically and as a timer, as shown here.
Awesome! I'll check it out.
Maybe you could also combine this with a pomodoro timer.
Yeah! Please, this would be awesome, as the desktop application is very unuseful compared to Windows & Mac.
+1 for this. That will be very useful and a game changer
I think it can be done by using this guide and the show current time entry method in the API. I will try it when I have some time and share my thoughts.
Please, if someone has some time and coding abilities to try, please don't wait for me as I will be slow :)
Any update on this?
There are no concrete plans on what to do about this because we'd have to implement a full GNOME (or Plasma, or Mate, or...) extension to do this. There are also other use cases for DE extensions that we could implement in the future... The thing is, I'm not saying this cannot happen in the future BUT we're not planning to do this at this moment, sorry. I'll leave this issue open so we know there's demand for this feature.
If anyone looking for this feature in Gnome 3, I've been using https://github.com/p-e-w/argos with a one-liner script to report on the current task and the timer. It's not interactive, so you cannot click there to switch task etc ... but it does update every few seconds, even added some color codes per project.
I don't think we're implementing a GNOME shell extension any time soon but if anybody from the community wants to do so, I'm open to creating a simple DBus API for data retrieval. Feel free to ping me at [email protected] for working out a specification for the API.
Stumbled over this as I would also like to display the current task on Gnome,
@MartinBriza I think a DBus API would be great. Maybe for inspiration check https://github.com/gnome-pomodoro/gnome-pomodoro which send DBus notifications on start / pause / time elapsed etc. See below for an example captured with dbus-monitor, BTW inbetween is TogglDesktop which updates its tooltip every 500ms even when the timer is not running, even though that tooltip is not visible on Gnome (maybe it is on KDE).
signal time=1614379412.486838 sender=:1.36 -> destination=(null destination) serial=400 path=/org/gnome/Pomodoro; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.gnome.Pomodoro"
array [
dict entry(
string "State"
variant string "pomodoro"
)
dict entry(
string "Elapsed"
variant double 0
)
dict entry(
string "StateDuration"
variant double 1500
)
]
array [
]
signal time=1614379412.749477 sender=:1.4637 -> destination=(null destination) serial=2754 path=/StatusNotifierItem; interface=org.kde.StatusNotifierItem; member=NewToolTip
signal time=1614379413.244812 sender=:1.4637 -> destination=(null destination) serial=2755 path=/StatusNotifierItem; interface=org.kde.StatusNotifierItem; member=NewToolTip
signal time=1614379413.374838 sender=:1.36 -> destination=(null destination) serial=401 path=/org/gnome/Pomodoro; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.gnome.Pomodoro"
array [
dict entry(
string "Elapsed"
variant double 1.0788
)
]
array [
]
@daroczig is your script available anywhere?
@MartinBriza I'd very much like to work on it, however I tried sending an email and received a response saying that your email doesn't exist...
Yup, sadly I haven't been working for Toggl for over a year and as far as I know, there's no further development happening in the Linux app - or at least, that's what the project homepage implies.
Sad to hear it. Wish you success on your journey!