You are not logged in.

#1 2012-05-03 17:21:02

euyuil
Member
From: Shanghai, China
Registered: 2012-05-03
Posts: 3
Website

[SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Something may be wrong in my Arch Linux. In my /etc/rc.conf, my hardware time was set to UTC and timezone was set to Asia/Shanghai, as below:

# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Shanghai"

But in my Date and Time settings dialog of Gnome 3, the region was set to Europe and the city was set to London. After I unlock and change it to my city, and then turn back to the same dialog, it was still Europe/London. It seems that Gnome 3 doesn't follow my settings in rc.conf. I don't know why.

My hwclock and date results are listed below:

# hwclock --show
Thu 03 May 2012 05:13:45 PM CST  -0.969929 seconds
# date
Fri May  4 01:13:53 CST 2012

By the way, Asia/Shanghai is in GMT+8.

Last edited by euyuil (2012-05-04 14:30:00)

Offline

#2 2012-05-03 17:34:21

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

gnome-settings-daemon until gnome 3.4 used rc.conf to read and save the timezone in gnome-control-center.
now this functionality was dropped in favor of using systemd date dbus api.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2012-05-03 17:50:23

euyuil
Member
From: Shanghai, China
Registered: 2012-05-03
Posts: 3
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

wonder wrote:

gnome-settings-daemon until gnome 3.4 used rc.conf to read and save the timezone in gnome-control-center.
now this functionality was dropped in favor of using systemd date dbus api.

Thanks for reply. But my problem is that, when I change things in `Date and Time' settings and then come back to the same dialog, the things remain unchanged. It seems that Gnome can't `save' my settings...

Offline

#4 2012-05-03 19:43:38

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

i just explained why it can't save the setting. you don't run systemd and you don't have that date dbus api.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2012-05-04 14:28:39

euyuil
Member
From: Shanghai, China
Registered: 2012-05-03
Posts: 3
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

wonder wrote:

i just explained why it can't save the setting. you don't run systemd and you don't have that date dbus api.

Thanks! I've googled something for systemd and solved the problem.

My solution was:

pacman -S systemd systemd-arch-units

And then modify /boot/grub/menu.lst and add init=/bin/systemd to the kernel parameters.

Next (maybe networkmanager should be reinstalled):

systemctl enable gdm.service
systemctl enable NetworkManager.service

And then it was just fine.

Offline

#6 2012-05-05 13:59:13

olorian
Member
Registered: 2011-12-16
Posts: 86

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Hi everybody.
I don't know whether it is connected with this issue [I haven't opened a new thread because of the risk of making a duplicate], but every time I log into gnome 3.4, my favourite keyboard layout preference is ignored, as gnome starts with an "en" layout, even though the settings window keeps showing the "it" layout on top of the list.
I followed the instructions of the previous posts - even though I find it unlogical that one has to switch to systemd to use gnome properly - but this behaviour wasn't fixed.

What am I doing wrong?

Offline

#7 2012-05-05 14:12:44

olorian
Member
Registered: 2011-12-16
Posts: 86

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Even worse, the system would randomly boot into gnome-fallback without any explanation, while glxinfo clearly tells me that rendering is on just as always.
Moreover, the first time it was using the it layout, then I logged out and in again and the en layout was pre-selected.
In one word, CHAOS.

What is going on?


EDIT: I confirm that the behaviour is totally random. Once it would start in fallback, once in regular gnome, and always with the en layout. The feeling is just as if the software wasn't giving a s* about the user. This time my user even disappeared from GDM's list, so I had to log in manually by choosing "Other...". I really hope they're going to release updates over updates, because this system is way more unstable than 3.2.0 itself.

Last edited by olorian (2012-05-05 14:27:52)

Offline

#8 2012-05-12 00:45:22

archagy
Member
From: Monterrey
Registered: 2012-05-12
Posts: 1

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

euyuil wrote:
wonder wrote:

i just explained why it can't save the setting. you don't run systemd and you don't have that date dbus api.

Thanks! I've googled something for systemd and solved the problem.

My solution was:

pacman -S systemd systemd-arch-units

And then modify /boot/grub/menu.lst and add init=/bin/systemd to the kernel parameters.

Next (maybe networkmanager should be reinstalled):

systemctl enable gdm.service
systemctl enable NetworkManager.service

And then it was just fine.


i have the same problem and i follow all the steps but not nothing happend i continue with london hour ...and i dont know why but i cant change nothing because i dont have permissions in gnome-control-center i have use to gksudo gnome-control-center and change but nothing happend...


sorry for my bad english i work on it

Offline

#9 2012-05-24 14:36:06

sandrob
Member
Registered: 2011-10-21
Posts: 16

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Is there anyway to fix this without switching to using systemd? Systemd still looks to be a work in progress.

Offline

#10 2012-05-24 16:26:07

marioraun
Member
Registered: 2012-05-24
Posts: 5

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Is this the only fix?

Offline

#11 2012-05-28 06:23:36

lilarcor
Member
Registered: 2011-07-23
Posts: 10

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

I found there is a side if I use this method. The array in modules in /etc/rc.conf will be no longer workable. Is there another way?

Offline

#12 2012-05-31 00:26:33

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

I don't have problems with my date/time, but it always defaults to en layout in Gnome 3.  I've tried systemd, and with the kernel options of init=/bin/systemd doesn't work probably because at the time the kernel was being upgraded and required adding the usr hook.  It complains that it cannot find /bin/systemd.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#13 2012-05-31 19:08:11

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

lilarcor wrote:

I found there is a side if I use this method. The array in modules in /etc/rc.conf will be no longer workable. Is there another way?

You probably have to use systemctl.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#14 2012-06-03 04:51:12

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

nomorewindows wrote:
lilarcor wrote:

I found there is a side if I use this method. The array in modules in /etc/rc.conf will be no longer workable. Is there another way?

You probably have to use systemctl.

pacman -S initscripts-systemd systemd-arch-units. make sure community is enabled.

Offline

#15 2012-06-06 18:00:34

marioraun
Member
Registered: 2012-05-24
Posts: 5

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

systemd it is

Last edited by marioraun (2012-06-17 09:58:48)

Offline

#16 2012-06-12 11:37:56

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

Is this method worth doing in anyones public opinion?  I'd really like to be able to have this functionality but to maintain an entirely new init system seems to me may not be valuable use of time.  I really don't mind doing it if other functionality in other areas (in Gnome or what not) will be implemented with it... down the road; or if does arch have plans to move to systemd?  Just curious.

Edit:  I noticed that setting an color profile also requires the use of systemd.

Last edited by Gen2ly (2012-06-12 12:06:39)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#17 2012-06-12 19:33:19

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

or if does arch have plans to move to systemd?  Just curious.

I'd really be interested to have the opinion of some of the core devs on this question.


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#18 2012-06-12 21:19:47

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

lardon wrote:

or if does arch have plans to move to systemd?  Just curious.

I'd really be interested to have the opinion of some of the core devs on this question.


i found this http://mailman.archlinux.org/pipermail/ … 22983.html

Offline

#19 2012-06-12 21:21:19

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

quasifilmie wrote:
lardon wrote:

or if does arch have plans to move to systemd?  Just curious.

I'd really be interested to have the opinion of some of the core devs on this question.


i found this http://mailman.archlinux.org/pipermail/ … 22983.html


Good find! Very interesting, thanks for posting.


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#20 2012-08-15 06:16:03

foobarrior
Member
Registered: 2012-03-11
Posts: 11

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

found this solution on russian archlinux:
# hwclock --set --date="YYYY-MM-DD hh:mm:ss"
# hwclock --hctosys

@ http://archlinux.org.ru/forum/viewtopic.php?f=31&t=9253

Offline

#21 2012-09-09 18:43:00

horgh
Member
Registered: 2009-11-27
Posts: 18

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

This is really bad. So I should use some experimental piece of software like systemd to get basic things (change time and date settings) done in Gnome3. Not good, not good at all. IF this is the case, then Arch should move to systemd and give some serious support for using it.

I've used to like Arch a lot before this, now I feel that I'm not liking it at all anymore.

Offline

#22 2012-09-30 04:31:17

rj.AMDphreak
Member
From: Rolla, MO
Registered: 2010-02-12
Posts: 20

Re: [SOLVED] In Gnome 3, Changes in Date and Time Settings Take no Effect

foobarrior wrote:

found this solution on russian archlinux:
# hwclock --set --date="YYYY-MM-DD hh:mm:ss"
# hwclock --hctosys

@ http://archlinux.org.ru/forum/viewtopic.php?f=31&t=9253

Well I did this, and it got the time to display correctly. I don't think it enables the NTP protocol option that I prefer.

Lastly, I've had both this and another problem with Systemd . Systemd doesn't seem to be working just yet, and it is already part of the Arch Beginner's instructions and the short instructions included on the Arch install disk. I am wondering who made this decision, and whether they know it is causing problems.

Offline

Board footer

Powered by FluxBB