Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the time displayed on the laptop compared to your local time?
If the computer uses the battery to maintain the hardware clock or if antix expects its time to be UTC and it is actually local time this will result with it being wrong.
root@biker:/home/harry# ls -l /etc/localtime
-rw-r--r-- 1 root root 3559 Oct 13 21:52 /etc/localtime
root@biker:/home/harry# exit
exit
harry@biker:~
$ inxi
CPU~Dual core Intel Core i5 M 520 (-HT-MCP-) speed/max~1333/2400 MHz Kernel~4.8.1-antix.1-686-smp-pae i686 Up~24 min Mem~300.1/8021.7MB HDD~60.0GB(47.9% used) Procs~180 Client~Shell inxi~2.3.0
However. My time is 13:15 locally, not 21:52, and what is displayed in my Icewm task bar clock and conky display.
One can set the display time using
Code:
# dpkg-reconfigure tzdata
Current default time zone: 'America/Chicago'
Local time is now: Tue Nov 1 13:17:46 CDT 2016.
Universal Time is now: Tue Nov 1 18:17:46 UTC 2016.
I set mine for Chicago even though I live on the Mexican border in Texas.
sorry for the delay
its a lenovo b50-80/i3-5010u
i set the date with
sudo date --set="7 nov 2016 21:10:00"
now its fine
as i said ive taken the battery out, dont know if it has a bios battery, or if the main battery is responsible for the clock
set it to local time maybe help as the coms battery should keep the time in BIOS intact
mine I set like this
Code:
userx@voided1.what~>> cat /etc/rc.conf
# /etc/rc.conf - system configuration for void
# Set the host name.
#
# NOTE: it's preferred to declare the hostname in /etc/hostname instead:
# - echo myhost > /etc/hostname
#
#HOSTNAME="void-live"
# Set RTC to UTC or localtime.
#HARDWARECLOCK="UTC"
HARDWARECLOCK="localtime"
# Set timezone, availables timezones at /usr/share/zoneinfo.
TIMEZONE=America/Chicago
the command line
Code:
sudo date +%T -s "03:30pm"
sudo hwclock -w
adding the actual time . looks like you know how to do both date and time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.