Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: adesklets -> verse of the day on Desktop!

  1. #1
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Lightbulb adesklets -> verse of the day on Desktop!

    Hey, for anyone interested. I was playing around with adesklets today, and modified and existing one called news feed to display Bible verses on your desktop from an RSS feed. It is the King James Version, modifying it to display others is rather simple, you will have to visit the website and plug a different rss feed into the config.txt. No guarantees as I'm not a programmer. Works great on my computer. Attached is a screen shot so you can see it in action . If you want the tarball you can get it here. Enjoy! If I could figure out how to manipulate it enough to use the .sword text from GnomeSword, or Bible time, I would, but I don't know that much about what I'm doing. Oh, I renamed it goodnewsfeed instead of the newsfeed it was called. Enjoy.


    Shane
    Attached Images Attached Images
    Last edited by shane2peru; April 6th, 2007 at 10:48 PM. Reason: needed to add screenshot!

  2. #2
    Join Date
    Apr 2005
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: adesklets -> verse of the day on Desktop!

    Good job Shane.

  3. #3
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Post Re: adesklets -> verse of the day on Desktop!

    Here is a little How to:

    Ok here are some simple instructions for installing and using the goodnewsfeed desklet. After you download it and save it in /home/username you are going to want to extract it. Either open your favorite file manager, and right click on the file named goodnewsfeed.... .tar and select extract here. Or, if you prefer the terminal you can type:
    Code:
    tar -xvf goodnewsfeed(tab)
    Where you see (tab) hit the tab key and it will finish that file name for you.

    Ok, once it is extracted, you will want to keep it in a place where you won't delete it. That is the reason I keep all mine in a folder called .desklets. If you want to make that folder you can type in the terminal:
    Code:
    mkdir .desklets
    - Note you should be in your home directory for this.

    Next lets move this newly extracted folder to the newly created folder. In the terminal we are going to put:
    Code:
    mv goodnewsfeed(tab) ~/.desklets/
    don't forget about the tab key trick.

    (This step can be skipped it is configuration, or done later.)
    Now if you want to configure your desklet with another translation it can be done. You are going to need to search for another Verse of the Day rss feed with the translation you want, I would do this in advance. This is really just an RSS feed desklet, and we are using Bible verses. In the terminal we are going to type:
    Code:
    cd ~/.desklets/goodnewsfeed(tab)
    Next we are going type/paste into a terminal:
    Code:
    gedit config.txt
    scroll down to the part where you see this text: 'url': 'http://mybiblescripture.com/rss/bible.php?fmt=daily&trans=KJV'} You are going to have to Search for your own Bible verse of the Day rss feed. Probably if you just search you will find one. Next look for the rss feed button on the web page you found, right click on that link and select copy link location now we are going to plug that link into this line that we have found. We are only going to replace between the ' apostrophes ' without overwriting them. You can modify the other settings as you want, they have to do with size, font color etc. Now we are going to Save and close the geditor.

    Now to get adesklets working in GNOME we are going to open the file manager (click on Places - Home) and that will get us where we need to be. Now click on view - show hidden Now look for the folder called .desklets double click it, then double click the folder goodnewsfeeder* look for the file named newsfeed.py double click in and select run. Ok, it is now running, what you can't see it? ?? ?? Where is it? It isn't running - Where did it go? Ok, you can't see it yet, but yes it is running.

    Again in the terminal we are going to type
    Code:
    adesklets --nautilus
    Ahhhh, now you can see it!! It should pop up on the screen. Be patient as it may take a second to get the verse.

    Ok, now you want this to pop up everytime you start your wonderfull Ubuntu CE, ok, here we go. In you panel select System - Prefrences - Sessions. Click on the Startup Programs tab. Now click on add and paste this into the window that pops up.
    Code:
    adesklets -d 25 --nautilus
    The 'd' will delay it from starting for 25 seconds, this is to ensure that it starts up, without the delay, it doesn't start. You can modify the time if you like to another number other than 25 it is in seconds.

    That is it, you have a verse of the day on the screen!

    Enjoy!

    Shane
    Last edited by shane2peru; April 6th, 2007 at 10:55 PM.

  4. #4
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: adesklets -> verse of the day on Desktop!

    Quote Originally Posted by ubuntu27 View Post
    Good job Shane.
    Thanks!
    Shane

  5. #5
    Join Date
    Jul 2005
    Location
    FL, USA
    Beans
    Hidden!
    Distro
    Xubuntu 7.04 Feisty Fawn

    Re: adesklets -> verse of the day on Desktop!

    It really looks very nice on the desktop! I like that even better than the Bible verse toolbar in Firefox.
    "Help stop software piracy...use Linux. and FOSS!"
    What's better than whining on the forums? Making a difference!

  6. #6
    Join Date
    Mar 2007
    Location
    Japan
    Beans
    66
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: adesklets -> verse of the day on Desktop!

    Howdy!

    Im still fairly new to linux and i followed your desklet how to get the goodnewsfeed working and it doesnt want to work for me. I was able to successfully load two other adesklets but not two others I downloaded (goodnews being one of them). I am running Xgl on my system. Would that make a difference? Is there any other info that I need to give you? Thanks!

    GregW

  7. #7
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: adesklets -> verse of the day on Desktop!

    Quote Originally Posted by aggiemarine07 View Post
    Howdy!

    Im still fairly new to linux and i followed your desklet how to get the goodnewsfeed working and it doesnt want to work for me. I was able to successfully load two other adesklets but not two others I downloaded (goodnews being one of them). I am running Xgl on my system. Would that make a difference? Is there any other info that I need to give you? Thanks!

    GregW
    Greg,

    Welcome to the communtiy and Linux! I'm not sure about Xgl. What other adesklets did you add? I'm currently not on my Linux computer, and won't be for about a week. My computer with linux has been in for repairs for 1 month, and my new computer will not be put together till Friday, all I have access to is Windows computers. If you give me a little more information about what you did to install it (what steps you ran through) and if you get any errors, and what adesklets you have installed that may help my pin point the problem. I hope I can be of help without a Linux computer, we will have to test my memory .

    Shane

  8. #8
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: adesklets -> verse of the day on Desktop!

    Quote Originally Posted by aggiemarine07 View Post
    Howdy!

    Im still fairly new to linux and i followed your desklet how to get the goodnewsfeed working and it doesnt want to work for me. I was able to successfully load two other adesklets but not two others I downloaded (goodnews being one of them). I am running Xgl on my system. Would that make a difference? Is there any other info that I need to give you? Thanks!

    GregW
    Greg,

    Ok, I got my computer and had to re-setup my adesklets thing. It was good for me to review the process again. Here is what I need you to do. If you followed my guide to install the goodnewsfeed, then I need you to open the terminal Applications --> Accesories --> Terminal Now
    Code:
    cd to the directory where you have goodnewsfeed
    Then type
    Code:
    ls
    this will show you the contents of that directory. There should be a file called newsfeed.py Next in the terminal type:
    Code:
    python newsfeed.py
    when it asks if you want to register or test it just test it. Copy and paste any errors you get from that. If your screen flickers and the the terminal doesn't give you a return prompt then that part does work. Just close everything and let me know and we will go from there.

    Shane

  9. #9
    Join Date
    Sep 2006
    Location
    Chicago
    Beans
    39
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: adesklets -> verse of the day on Desktop!

    Just to share. I am running Mint Linux (ubuntu based) and this did not work immediately for me either.

    My solution was to add the package python feedparser. Apparently it was not included in the distro, but all works fine after that addition.

    Hope it helps someone. Thanks for a nice little desklet.

  10. #10
    Join Date
    Oct 2005
    Location
    Peru, South America
    Beans
    1,486
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: adesklets -> verse of the day on Desktop!

    Quote Originally Posted by glenn69 View Post
    Just to share. I am running Mint Linux (ubuntu based) and this did not work immediately for me either.

    My solution was to add the package python feedparser. Apparently it was not included in the distro, but all works fine after that addition.

    Hope it helps someone. Thanks for a nice little desklet.
    Yeah, That is what I was shooting for. It originally was included, but apparently they have updated it and the new one needs to be added to it. Glad you figured that out glenn! Glad to hear you like it too!

    Ok, the link has been updated and you shouldn't have this problem any longer. Everything should work great.

    Shane
    Last edited by shane2peru; April 6th, 2007 at 10:52 PM.

Page 1 of 2 12 LastLast

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
  •