Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNOME clock change current location and time
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Spack971
n00b
n00b


Joined: 02 May 2004
Posts: 9
Location: Guadeloupe

PostPosted: Sun Feb 01, 2009 11:24 am    Post subject: GNOME clock change current location and time Reply with quote

Hi all,

I would like to know how can I change the system time as a normal user in GNOME? When I go in the GNOME clock settings, the button to set time is disabled.

Plus, the GNOME Clock applet allows to set various locations and then shows weather and time for these locations. But when I used to use openSUSE, I was able to change my current location and by the same time change my current timezone. Normally, there is a little 'home' icon that appears when you are over a location. You can then click on it to change the timezone.

So, how can I manage with time in GNOME?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sun Feb 01, 2009 5:01 pm    Post subject: Reply with quote

I think system time is something that requires root-level access, so even logged in as a normal user, I think you would be asked for a root password.

I would open a terminal, su, and use the date command. The date command works like this:

Code:

date


to see the current system date and time, and

Code:

date MMDDHHmmYYYY


to change it. You also, as root, want to change the clock opts to "yes" for the option to save the hardware clock to the current system time (edit /etc/conf.d/clock or /etc/conf.d/hwclock, depending on your system setup), otherwise the hardware clock will not change and it will all revert back to what it was on the next reboot.

The date string components above, FYI, are MM=month (with leading zero), DD (day, with leading zero), HH (hour), mm (minute), YYYY (year, all four digits).
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Spack971
n00b
n00b


Joined: 02 May 2004
Posts: 9
Location: Guadeloupe

PostPosted: Sun Feb 01, 2009 5:54 pm    Post subject: Reply with quote

audiodef wrote:
I think system time is something that requires root-level access, so even logged in as a normal user, I think you would be asked for a root password.


Yes I know that but on some Linux distribution, you can change the time within GNOME from the clock applet. After it prompted for the root password, you can change the time settings.

[edit] Here is what I mean: Clock Usage. But I can't adjust the time because the button is disabled :(
Back to top
View user's profile Send private message
fusero
n00b
n00b


Joined: 30 Nov 2008
Posts: 6

PostPosted: Sun Mar 29, 2009 5:36 pm    Post subject: Reply with quote

amazing.... i also can't do it.....

one more....


Spack971 wrote:
audiodef wrote:
I think system time is something that requires root-level access, so even logged in as a normal user, I think you would be asked for a root password.


Yes I know that but on some Linux distribution, you can change the time within GNOME from the clock applet. After it prompted for the root password, you can change the time settings.

[edit] Here is what I mean: Clock Usage. But I can't adjust the time because the button is disabled :(
Back to top
View user's profile Send private message
fiolj
n00b
n00b


Joined: 17 Mar 2008
Posts: 45
Location: Bariloche, Argentina

PostPosted: Mon Mar 30, 2009 8:02 pm    Post subject: Reply with quote

I think you have to install app-admin/system-config-date:
Code:
emerge -av system-config-date

that is currently masked (~x86). You could look into it to see why has it been masked.
Regards, Juan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum