this post was submitted on 10 Jun 2024
41 points (95.6% liked)

Linux

48364 readers
791 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
41
submitted 5 months ago* (last edited 5 months ago) by governorkeagan@lemdro.id to c/linux@lemmy.ml
 

I know the title sounds a little strange but hear me out. The time tracking software I use for work doesn’t work on Wayland, unless I’m using Gnome as my DE. They have an extension that allows it to work in this case. Personally, I don’t enjoy Gnome on my desktop (I use it on my laptop). Is there a way for me to get the functionality that this extension provides on KDE so that I can use Wayland on my desktop as well?

Time tracking software:

Linux install script:

EDIT: I have included more files in the codeberg repo. I hope this helps.

all 11 comments
sorted by: hot top controversial new old
[–] boredsquirrel@slrpnk.net 13 points 5 months ago* (last edited 5 months ago) (2 children)

Looks useful. So this software detects how long you spend on what app?

This may be compositor dependent but just a guess. Thats a problem of Wayland (currently)

The port will be huge and just making the extension run not enough.

[–] governorkeagan@lemdro.id 3 points 5 months ago (2 children)

Pretty much. My company has it set to track the following:

  • Periodic screenshots
  • Mouse and keyboard activity
  • Apps used
  • URLs visited

All of this is combined to determine how active you were (as a percentage), you can then try and determine how much time was spent on productive vs non-productive work. However, we use it as a glorified timesheet.

[–] sun_is_ra@sh.itjust.works 6 points 5 months ago (1 children)

If the tracking software is open source what is stopping employees from changing source code to their advantage ?

[–] governorkeagan@lemdro.id 4 points 5 months ago

It’s not open source. I just added it to codeberg for easy sharing to ask this question

[–] boredsquirrel@slrpnk.net 3 points 5 months ago (1 children)

I dont think they actually take screenshots, do they? That would be awfully inefficient. You can get the window titles in better ways.

the URL stuff should use a browser extension to tell them that name.

If that app really takes screenshots and extracts URLs from them, it is pretty overcomplex. But that improves platform-independence a lot

[–] governorkeagan@lemdro.id 4 points 5 months ago (2 children)

It takes screenshots that get posted to a user dashboard for management to check if needed.

[–] pinchcramp@lemmy.dbzer0.com 12 points 5 months ago

I don't have anything useful to say but that sounds fixing dystopian.

[–] jcarax@beehaw.org 5 points 5 months ago

I hope you leave easter eggs

[–] samwwwblack@lemm.ee 6 points 5 months ago

The GNOME extension appears to get the currently focused window information (ie name, title, PID and executable name) and make this information available over DBUS for the client binary.

The client binary calls gnome-screenshot -f and I assume gives a path that the client binary then sends to Hubstaff servers.

A janky suggestion would be to create a Kwin Script that pulls the active window information, sends it (somehow) to a DBUS service that can provide it to the client binary and create a wrapper script around spectacle to pretend to be gnome-screenshot (eg spectacle -b -f $@)

I don't know if this would work fully though as the client binary strings seem to hint it checks the running version of GNOME Shell, and without an account I can't see if this is a hard requirement or a "Hey, this is broken, we'll try our best!" type thing.