Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31726 - Gnome clock gives cryptic error message
Summary: Gnome clock gives cryptic error message
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 32947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-21 22:32 UTC by M. Creidieki Crouch
Modified: 2003-11-07 08:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Creidieki Crouch 2003-10-21 22:32:03 UTC
I have emerge'd "gnome", but perhaps not some of the other utility packages that
go with it (I'm not really sure what they are). I have the "Clock" applet
running in the bottom right corner of my screen. When I right click on it and
click "Adjust Date & Time", it says "Failed to locate a program for configuring
the date and time. Perhaps none is installed?". This doesn't tell me the names
of any of the programs it was expecting to find, or give any help about what to
do. The help file says that "The system tool for setting the system date and
time starts. Use the tool to adjust the date and time.". 

Reproducible: Always
Steps to Reproduce:
1. Right-click on clock applet
2. Click "adjust date and time"
3. Optionally, click "Help" instead and go to "To Adjust the System Date And Time"

Actual Results:  
The messages received were unhelpful and cryptic.

Expected Results:  
The software presumably has a list of programs which might change the date and
time. It should list the names of these programs. Perhaps it could give a
complete list in the help file, and the error message could contain a link to
the help file. Alternatively, if the clock uses some other method of handling
this (for example, there's an environment variable
"CLOCK_HANDLING_PROGRAM=/bin/clock"), the help file could explain this method.

I am using gnome-2.4. The emerge --info follows:


Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-aa1)
=================================================================
System uname: 2.4.22-aa1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs -ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/root"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="kde perl x86 -oss apm -arts avi berkdb crypt cups encode esd foomaticdb
gdbm gif gpm gtk gtk2 imlib jpeg gnome libg++ libwww mad mikmod motif mpeg
ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype X xml2 xmms xv zlib dvd usb tetex cdr cjk
emacs mozilla sse"
Comment 1 foser (RETIRED) gentoo-dev 2003-10-22 02:09:59 UTC
you could probably look at the sources to find out what it wants to use.
Comment 2 Doug Weimer 2003-10-22 18:30:48 UTC
This can be controlled by a key in gconf. In the Configuration editor take
a look at /apps/panel/profiles/default/applet_n/prefs . applet_n refers to
one of the numbered applet folders, this will vary depending on what you
running. The key you are looking for is 'config_tool.' Unfortunately, this
key is unset by default and I can't find a default gnome tool that handles
time adjustment.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2003-11-06 21:21:19 UTC
Doug is right. You can customize the tool to adjust date/time on your system
via gconf keys. The applet itself tries to look for two different tools if
the gconf value is not available: redhat-config-date and time-admin. If everything
fails, the applet displays the `cryptic' message you mention.

But this is not a real issue; apparently, the software authors encourage
that each distro define whatever tool they want for this. Have a look at:
http://bugs.gnome.org/show_bug.cgi?id=123448

Now, I don't really think this is worth adding a new RDEPEND to gnome-panel,
and there isn't a suitable tool for this in the tree at the moment. However,
you could try installing gnome-system-tools, which comes with the `time-admin'
tool (although there's no ebuild for it yet --see bug #17766), and see how
it works for you.

Of course, any ideas regarding all this would be very welcome.

Thanks.
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-11-07 08:31:03 UTC
*** Bug 32947 has been marked as a duplicate of this bug. ***