24 hr to 12 Format Change

Discussion in 'Linux' started by Guest, Nov 4, 2008.

  1. Guest

    Guest Guest

    Hello peoples.

    How does one change the time format from 24 to 12? Thanks.

    Dan
     
    Guest, Nov 4, 2008
    #1
  2. Guest

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Open a terminal and do:

    mousepad ~/.config/xfce4/panel/clock-1.rc

    The file should contain:

    Code:
    mode=1
    military=false
    ampm=true
    secs=false
    show_frame=false
    After making the adjustments, save the file and close mousepad. You'll probably need to restart the computer to see the changes.

    Cheers.
     
    rbil, Nov 4, 2008
    #2
  3. Guest

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Ooops! Made a mistake. clock-1.rc gets installed under your home directory everytime that Linpus boots up. Therefore you'll need to edit the one provided by the system to make the settings stick. In a terminal do:

    sudo mousepad /etc/xdg/xfce4/panel/clock-1.rc

    and make changes to it, as outlined above.

    Sorry about that if I've wasted some of your time.

    Cheers.
     
    rbil, Nov 4, 2008
    #3
  4. Guest

    Elllipsis

    Joined:
    Aug 28, 2008
    Messages:
    56
    Likes Received:
    0
    You could just double click on the clock and check mark "show AM/PM"...if you are up to date on your updates.

    One of the funny things I have found about Linux is that for many things (in modern distributions) there is a graphical way to do it but people usually suggest the "simpler" route of terminal commands.
     
    Elllipsis, Nov 4, 2008
    #4
  5. Guest

    Guest Guest

    Thanks.
     
    Guest, Nov 8, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.