Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 79

Thread: The Post Your Desktop Thread

  1. #51
    Join Date
    Jul 2009
    Location
    Skopje, Macedonia.
    Beans
    140
    Distro
    Ubuntu Mate 15.10 Wily Werewolf

    Re: The Post Your Desktop Thread

    Nothing special.


  2. #52
    Join Date
    Mar 2008
    Location
    Memphis, TN
    Beans
    21
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: The Post Your Desktop Thread

    Kubuntu Karmic desktop with plasmacon and RSSNow plasmoids on my Eee 1000HA.
    Attached Images Attached Images

  3. #53
    Join Date
    Jul 2007
    Beans
    21

    Re: The Post Your Desktop Thread

    Exodus_ms, how did you set up conkyweather and get the output to work? I can't even seem to find an install that works.

  4. #54
    Join Date
    Sep 2009
    Location
    TN
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: The Post Your Desktop Thread

    @ bbqsauced


    ADD THE REPOSITORY

    Karmic
    Code:
    sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/...ky-karmic.list -O /etc/apt/sources.list.d/m-buck-conky-karmic.list
    Jaunty
    Code:
    sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/...ky-jaunty.list -O /etc/apt/sources.list.d/m-buck-conky-jaunty.list
    Intrepid
    Code:
    sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/...-intrepid.list -O /etc/apt/sources.list.d/m-buck-conky-intrepid.list
    ADD THE REPOSITORY PUBLIC KEY

    Code:
    wget -q http://www.kaivalagi.com/ubuntu/ppa/...-conky-key.gpg -O- | sudo apt-key add -
    UPDATE YOUR REPOSITORY LIST AND INSTALL CONKY FROM PPA

    Code:
    sudo apt-get update && sudo apt-get install conky
    DOWNLOAD .CONKYRC CONFIG FILE

    You can create your own, no need to download this one, but it is already configured for this set up.

    NOTE: The .conkyrc file above will be downloaded to your home directory.


    DOWNLOAD SCRIPTS

    The following command does this:

    * Changes to your home directory

    * Creates a 'scripts' directory in your home directory. ~/scripts/

    * Changes to 'scripts' directory

    * Downloads the scripts 'conkyscripts.zip'. (using wget to download the file)

    * Extracts the contents of 'conkyscripts' . This creates a folder in your home directory. ~/conkyscripts/

    * Copies the contents of ~/conkyscripts/ to ~/scripts/

    * Removes the downloaded zip file and the directory that was created when extracting.

    Code:
    cd && mkdir scripts && cd scripts && wget -c http://dl.getdropbox.com/u/83257/conkyscripts.zip && unzip conkyscripts.zip && rm conkyscripts.zip && mv conkyscripts/*.* ~/scripts/ && rm -rf conkyscripts
    You should now have the following in ~/scripts/

    conditions.sh
    gmail_parser.py
    hddmonit.sh
    pogodynka.sh

    NOTE: After downloading and extracting the scripts above, you will see a script called pogodynka.sh You will want to replace it with an English version found here http://pogodynka.fluxboxpl.org/pogod...a_0.4-2.tar.gz Afer you extract the compressed file it will create a folder called 'usr'. Look in there and go to /bin/pogodynka and replace the old file with this one.


    DOWNLOAD THE FONTS

    The following command does this:

    * Changes to your home directory

    * Downloads the fonts 'conkysfonts.zip' (using wget to download the file)

    * Extracts the contents of 'conkyfonts.zip'. This creates a folder in your home directory ~/conkyfonts/

    * Copies the contents of ~/conkyfonts/ to ~/.fonts/ (if you do not have a ~/.fonts/ then go ahead and make one)

    * Removes the downloaded zip file and the directory that was created when extracting.

    Code:
    cd && wget -c http://dl.getdropbox.com/u/83257/conkyfonts.zip && unzip conkyfonts.zip && cp ~/conkyfonts/*.* ~/.fonts/ && rm -rf ~/conkyfonts && rm conkyfonts.zip
    You should now have the following in ~/.fonts/

    openlogos.ttf
    PIZZADUDEBULLETS.ttf
    PIZZADUDESTARS.ttf
    Radiofb.ttf
    Radiofi.ttf
    Radiofbi.ttf
    Radiofc.ttf
    Radiof.ttf
    STYLBCC_.TTF
    wef_____.ttf


    SETUP

    Now you will need to configure your .conkyrc file to work with the various scripts you downloaded and extracted. The first script is the gmail_parser.py that will display your gmail in your conky setup.


    Gmail + Conky

    Open your .conkyrc config file

    Code:
    gedit ~/.conkyrc
    Find this line:

    Code:
    ${execpi 300 python ~/scripts/gmail_parser.py yourgmailusername yourgmailpassword 3}
    Edit yourgmailusername and yourgmailpassword with your username and password.

    NOTE: The password and username are NOT encrypted. If you do not plan to use gmail with this config, just delete the line above.


    Install python-feedparser

    Code:
    sudo apt-get install python-feedparser
    HDD temp and CPU temp + Conky

    Install hddtemp and lm-sensors

    Code:
    sudo apt-get install hddtemp lm-sensors
    NOTE: Once the installion of 'hddtemp' starts you will be asked a series of questions. If you are not sure about any of them, select 'Yes' or the default on each question.


    Weather + Conky

    This part will configure your conky setup to display the current weather conditions for your area. What you will do here is get the Location ID for your area and edit the pogodynka.sh with your Location ID.

    Go to this link http://weather.yahoo.com/

    Get the Location ID for your area by entering your city or zipcode in the box labled 'Enter city or zip code:'

    A weather page for your area will load. The URL will be similar to this: http://weather.yahoo.com/forecast/USTN0017.html Copy the location ID (for me it would be USTN0017)

    Now you will edit your pogodynka.sh. For the pogodynka.sh script to work, you need to put your Location ID into the script

    Code:
    gedit ~/scripts/pogodynka.sh
    Search for kod=USID0025

    Replace the ID with yours.

    NOTE: If you would rather use Celsius instead of Farenheit you will need to do the following:

    Find the line:

    Code:
    w3m -dump http://weather.yahoo.com/forecast/"$kod".html | grep -A21 "Current" | sed 's/DEG/°/g' > $plik
    Replace it with this:

    Code:
    w3m -dump http://weather.yahoo.com/forecast/"$kod"_c.html | grep -A21 "Current" | sed 's/DEG/°/g' > $plik
    Save pogodynka.sh

    Create a file called 'weather' in your home directory.

    Code:
    $cd && touch weather
    Go ahead and make the file executionable by using chmod 777 pogodynka.sh (Or right-click pogodynka.sh and select Properties -> Permissions -> Execute)


    Customize your .conkyrc

    The default .conkyrc monitors eth1 for the network. I had to change it to wlan0. You can change the following to match whatever interface you are using.

    Code:
    ${font PizzaDude Bullets:size=16}v${font} Up: ${upspeed wlan0} Kb/s
    ${font PizzaDude Bullets:size=16}r${font} Down: ${downspeed wlan0} Kb/s
    ${font PizzaDude Bullets:size=16}M${font} Upload: ${totalup wlan0}
    ${font PizzaDude Bullets:size=16}S${font} Download: ${totaldown wlan0}
    Add conky to Start Up Application (Will load after logging in)

    Create a script called conky_start.sh in your home directory

    Code:
    $cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.sh
    Copy and paste the following into the new file and save.

    Code:
    #!/bin/bash
    sleep 15 &&
    exec conky -d -c ~/.conkyrc &
    exit
    Go to System -> Preferences -> Start Up Applications

    Click Add and name it whatever you like.

    Add the command

    You can either browse and select ~/conky_start.sh or type it in.
    Last edited by exodus_ms; December 24th, 2009 at 07:38 AM. Reason: Made the note about gmail password not being encrypted bold red

  5. #55
    Join Date
    Sep 2009
    Location
    TN
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: The Post Your Desktop Thread

    sorry for the multiple reply o_O

  6. #56
    Join Date
    Dec 2009
    Beans
    4

    Re: The Post Your Desktop Thread

    jumping in at the end.
    Attached Images Attached Images

  7. #57
    Join Date
    Mar 2008
    Beans
    26
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: The Post Your Desktop Thread

    Quote Originally Posted by baytes View Post
    jumping in at the end.
    i like this a lot. what chat program are you using there?

  8. #58
    Join Date
    Dec 2009
    Beans
    4

    Re: The Post Your Desktop Thread

    its xchat for irc but if your refering to the right hand chat program its a screenlet for pidgin so when you load the screenlet and then login to pdigin it shows your buddy list with the mini avatar and their status.
    Last edited by baytes; December 13th, 2009 at 11:10 PM.

  9. #59
    Join Date
    Jul 2007
    Beans
    21

    Re: The Post Your Desktop Thread

    Thanks a TON for posting that tutorial exodus_ms. I really appreciate it.

    I had issues setting up the Weather portion of Conky though. It seems that yahoo weather no longer gives you the key in the url any more, so I'm not sure where to get that. You can still punch in the url with the keys, like you gave me, but they are changed upon serving the page to the client.

    Also, my pogodynka.sh script didn't have a kod field for the id. I even manually searched through the whole thing and couldn't find anything relevant to a key.

  10. #60
    Join Date
    Sep 2009
    Location
    TN
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: The Post Your Desktop Thread

    bbqsauced,

    Sorry about that. The "kod" is actually "code". Your using the English version of the script, so look for "code". For me it was on line 32.

    Code:
    31 ## Default location code
    32 CODE="PLXX0028"
    About the link used for grabbing your weather info. It appears yahoo has changed the format. This might be more trouble than what it is worth, but I believe I have found a way to make it work.

    Go to http://www.aspnetresources.com/tools/locid.aspx

    This site will resolve the location you enter and give you a location ID.

    When I type Knoxville, I get a list of possible locations. All of these locations are in the format we need. In this example USTN0268 is the ID for Knoxville.



    Now, if I use that ID with the link http://weather.yahoo.com/forecast/USTN0268.html it will still take me to the Knoxville page, but the URL changes to http://weather.yahoo.com/united-stat...ville-2433662/

    We need the "old" ID [for me USTN0268] not the new one Yahoo is using [knoxville-2433662]. The script is expecting the URL to be in a certain form, more specifically the ID needs to be in the format above. But since the URL still resolves to the same place, we can continue using the ID in the form the script is expecting. I hope that makes sense.

    Long story short. You need the ID for your location but using Yahoo to get that ID produces an ID that is not compatible with the script. You use the other site to generate an ID that is compatible. All there is left to do is look for "code" and plug the ID in.
    Last edited by exodus_ms; December 15th, 2009 at 08:55 AM.

Page 6 of 8 FirstFirst ... 45678 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •