LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-09-2023, 08:28 AM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,705

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897

In your first post the timezone was Europe/Rome
In your last post the timezone was Europe/Lisbon

What timezone do you want to use?
timedatectl set-timezone "Europe/Rome"
 
Old 12-09-2023, 08:38 AM   #17
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 688
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by maddy0 View Post
Hello, thanks for posting, these the results:
root@xxx:/home/tony# sudo setenv TZ Europe/Rome
sudo: setenv: command not found
root@xxx:/home/tony# export TZ="Europe/Rome"
root@xxxx:/home/tony# timedatectl | grep local
RTC in local TZ: no
root@Nxxx:/home/tony# timedatectl
Local time: Sat 2023-12-09 09:29:56 WET
Universal time: Sat 2023-12-09 09:29:56 UTC
RTC time: Sat 2023-12-09 09:29:56
Time zone: Europe/Lisbon (WET, +0000)
System clock synchronized: yes
NTP service: n/a
RTC in local TZ: no
I already tryed:
sudo dpkg-reconfigure tzdata ;(
I do not know what timedatectl is or does, the distro I use does not have it. I never needed it.

When setting TZ, you never need to change the actual hardware system clock. But as I mentioned, Linux Desktop Environments seems to require a M/S Windows date/time set action.

For example, in a terminal try this, you can see the date/time displayed is controlled by $TZ:

Code:
magnetar % locate timedatect
% setenv TZ Europe/Rome
% date
Sat Dec  9 15:16:54 CET 2023
% setenv TZ America/Los_Angeles
% date
Sat Dec  9 06:17:03 PST 2023
% setenv TZ America/New_York
% date
Sat Dec  9 09:17:18 EST 2023
Note, I do not use bash, but the above will work with bash. If it does not work, your distro does something odd with its TZ package.

If I set TZ to "Europe/Rome" in ~/.xsession (or ~/.xinitrc) and start fvwm, xclocks and all other clocks shows the Time as it exists in Rome. No need for a system clock change or timedatectl.

HTH a bit
 
Old 01-23-2024, 06:43 PM   #18
GregorySmith
LQ Newbie
 
Registered: Jan 2024
Posts: 1

Rep: Reputation: 0
pay for papers

As a student, managing deadlines and social commitments can be overwhelming. Paying for papers became a game-changer, enabling me to delegate writing tasks effortlessly. Their services encompass writing, editing, and rewriting, assuring originality and affordability. With a user-friendly order process, I discovered solace in their outcome-oriented approach. Now, unwinding while experts manage my papers is a stress-free reality.
 
Old 01-24-2024, 10:30 AM   #19
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I use Xfce and if I right-click on the time display, I get the option to set the time zone. In fact, I've never used it since PCLinuxOS has nice GUI tools for configuration. For Debian life is never that simple, but one of these should help:
https://www.linuxcapable.com/how-to-...-debian-linux/
https://www.debian.org/doc/manuals/d..._hardware_time
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with zone-info in time zone data section Chapter-6.9 Glibc-2.24 koustubh Linux From Scratch 2 07-08-2020 04:38 PM
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
Run script in EST time zone but server is in GMT zone jeesun Linux - Networking 1 04-04-2010 01:37 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration