Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Date on desktop? N900

    Reply
    Page 5 of 6 | Prev |   3     4   5   6   | Next
    raverpol | # 41 | 2010-03-09, 17:26 | Report

    Originally Posted by biggzy View Post
    They should work ok, did you copy n paste? If so make sure its on 1 line.
    that's strange but all fine now without any changing

    Edit | Forward | Quote | Quick Reply | Thanks

     
    benh_n900 | # 42 | 2010-03-09, 18:01 | Report

    Originally Posted by amorek13 View Post
    would there be a command that could pull time form world clock so it could display on desktop using the desktop widget?
    I did it like this:

    1. Create a script "worldtimes.sh" and put your places and preferred date formatting in it. For me this looks like:

    Code:
    #!/bin/sh
    echo "London : " `TZ=Europe/London date "+%a %H:%M"`
    echo "Perth  : " `TZ=Australia/Perth date "+%a %H:%M"`
    echo "NOLA   : " `TZ=America/Mexico_City date "+%a %H:%M"`
    2. make it executable (I did this by getting root access and chmod a+x worldtimes.sh) and save it somewhere (but not in /home/user/MyDocs)

    3. Use the desktop command execution widget to run that script

    You can change the date format as per http://www.cyberciti.biz/faq/linux-u...s-for-display/
    You can find all of the supported timezones by looking in /usr/share/zoneinfo/ (WARNING: inexperienced users, don't mess with these files, just look at them to work out names). I also found a list online at http://www.vmware.com/support/develo.../timezone.html, but it may not be exactly the same list, I am not sure.

    You could also do a single clock per widget with the command as
    Code:
    TZ=Europe/London date "+%a %H:%M"
    and then just add one new widget for each timezone.

    Ben

    PS If anyone knows a more appropriate timezone for New Orleans, please let me know - the TZ=CST style format doesn't seem to work and New Orleans isn't in /usr/share/zoneinfo/America.
    Also anyone know a better way to format/line the times up nicely in the display?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to benh_n900 For This Useful Post:
    cheve, nikolajhendel

     
    Schturman | # 43 | 2010-03-09, 22:22 | Report

    Maybe it's possible to show the date in this format: Wednesday 9 March 2010 ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Simply_Texan | # 44 | 2010-03-09, 22:40 | Report

    @Schturman

    date "+%A %e %B %Y"

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Simply_Texan For This Useful Post:
    Schturman

     
    Schturman | # 45 | 2010-03-09, 22:59 | Report

    Originally Posted by Simply_Texan View Post
    @Schturman

    date "+%A %e %B %Y"
    Thanks ! Looks nice

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Schturman For This Useful Post:
    cheve

     
    nikolajhendel | # 46 | 2010-03-10, 02:42 | Report

    Originally Posted by benh_n900 View Post
    I did it like this:

    1. Create a script "worldtimes.sh" and put your places and preferred date formatting in it. For me this looks like:

    Code:
    #!/bin/sh
    echo "London : " `TZ=Europe/London date "+%a %H:%M"`
    echo "Perth  : " `TZ=Australia/Perth date "+%a %H:%M"`
    echo "NOLA   : " `TZ=America/Mexico_City date "+%a %H:%M"`
    Thanks for this guide Ben. Worked perfectly (only had to dig around for the actual command to run when creating the command).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    iceman600 | # 47 | 2010-03-10, 18:38 | Report

    This might be a stupid question.... but i cant find the "%" key on the N900

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zero2007 | # 48 | 2010-03-10, 18:40 | Report

    You can the % key on the virtual keyboard

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to zero2007 For This Useful Post:
    iceman600

     
    benh_n900 | # 49 | 2010-03-11, 00:19 | Report

    You can get the extended symbol screen up by pressing the symbol key and ctrl together

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to benh_n900 For This Useful Post:
    biggzy

     
    Pakana | # 50 | 2010-08-14, 11:42 | Report

    I tweaked Custom Operator Name Widget:


    Now I have date on every desktop, and unused empty space on top of the desktop is in use.

    I created small script:
    Code:
    #!/bin/sh
    set $(date +%d\ %m\ %Y)
    gconftool -s /apps/connui-cellular/operator_name_online $1.\ $2.\ $3 --type=string
    and fcron to execute that at midnight.

    I could not find any other way to schedule script than fcron.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Pakana; 2010-08-14 at 11:50.
    The Following 3 Users Say Thank You to Pakana For This Useful Post:
    cheve, Patola, v13

     
    Page 5 of 6 | Prev |   3     4   5   6   | Next
vBulletin® Version 3.8.8
Normal Logout