Customizing the default clock accessory

Asked by Nicolas Berger

Hi

I want to customize the default clock accessory, say, in order to make it use another calendar than gregorian calendar. Where can I find the source code of the clock ? How can I change the program that is linked to the clock accessory in the "add to panel" menu ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Robert (ubuntu-10-rmn30) said :
#1

I believe you will find what you are looking for in the gnome-panel package. To install source and build utilities try the following:

#to install compiler etc
sudo apt-get install build-essential
#to fetch and unpack the source for gnome-panel
sudo apt-get source gnome-panel
# to install build depenencies for gnome-panel
sudo apt-get build-dep gnome-panel

Now source for the clock can be found in gnome-panel-x.x.x/applets/clock .

You may want to check out https://wiki.ubuntu.com/DeveloperResources for info on building packages.

Cheers,

Robert

Revision history for this message
Nicolas Berger (nikosh9) said :
#2

Thank you very much !

Nic

Revision history for this message
Nicolas Berger (nikosh9) said :
#3

Hi

How can I use my customized clock after I have modified the source code ?

Nic

Can you help with this problem?

Provide an answer of your own, or ask Nicolas Berger for more information if necessary.

To post a message you must log in.