Page MenuHomePhabricator

Show desktop clock in local time; keep system in UTC
Open, NormalPublic

Description

Can we somehow patch the clock to show a local time zone while leaving system time time in UTC?

This most likely requires a Whonix Greeter first so that we can get the timezone from the user.

It might be possible to configure the clock in the kde task bar. Time zone in kde clock can be changed without root rights and without affecting /etc/localtime, thus the user can have it's clock show what she wants. It looks like this is either configured in /home/user/.kde/share/config/plasma-desktop-appletsrc and/or /home/user/.kde/share/config/ktimezonedrc.

Details

Impact
Normal

Event Timeline

JasonJAyalaP updated the task description. (Show Details)
JasonJAyalaP raised the priority of this task from to Normal.

Is there a way to automatically get the timezone from the host or virtualizer? That would be much better usability than asking the user to scroll through a list.

We also have to deal with letting the user change the local (displayed) time whenever (s)he wants. Messing with config files might not be a robust solution.

JasonJAyalaP added a comment.EditedJan 14 2015, 12:56 AM

This should be part of the "Whonix Workstation Control Panel". The user can change their time zone there, and the control panel does the background changes necessary to display that time zone in the current DE, but keep the system in UTC.

Is there a way to automatically get the timezone from the host or virtualizer?

No, it's better to leave it set to UTC. Not as long as we're not controlling the host (VBoxManage setextradata). Also this is better on a "if user wishes only" base.

That would be much better usability than asking the user to scroll through a list.

The most likely ones could be suggested after language selection that @troubadour is working on.

This should be part of the "Whonix Workstation Control Panel"

Or whonix-setup-wizard ?

Messing with config files might not be a robust solution.

Finding that out is the TODO of this ticket.

Patrick set Impact to Normal.Aug 12 2015, 10:16 PM
Patrick added a subscriber: HulaHoop.

I don't think we should encourage users to set time zones because it can give away their geo location both for an adversary in the VM and for timestamp leaks by applications in the WS.

Good point.

What about hiding the clock in the task bar then by default?

Patrick removed a project: kde.Nov 20 2018, 5:01 PM

I think hiding the clock is a bad idea as a user may want to manually run sdwdate to adjust it if it's out of whack before initiating internet traffic. (This is on non-Qubes versions lacking auto time adjust)