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

Thread: The first of plasma 5 weather widgets

  1. Back To Top    #1
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 4th 2018
    Local Time
    01:07 PM

    Post The first of plasma 5 weather widgets

    http://kde-apps.org/content/show.php...content=169572
    Description:
    Plasmoid for showing weather information from yr.no server.

    Features:
    - shows basic info (with font-like icons) in panel
    - shows meteogram in expanded plasmoid

    Future plans:
    - town/place picker
    - support for more then 1 places
    - more info in expanded plasmoid
    - support for vertical layout



  2. Back To Top    #2
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 4th 2018
    Local Time
    01:07 PM

    Post Second...

    http://kde-apps.org/content/show.php...content=164194
    Description:
    Yahoo! Weather Widget written in QML.

    Designed to be reliable and fast.

    Requires Plasma Desktop 5 for new 5.x version. KDE >= 4.10 for old v0.5.1

  3. Back To Top    #3
    Fat dude on a fixie claydoh's Avatar
    Join Date
    Sep 2005
    Location
    Somewhere NOT Down Under yet :(
    Posts
    6,469
    Threads
    209
    Local Date
    Jan 4th 2018
    Local Time
    05:07 AM
    Homepage: Go to claydoh's homepage
    To get the yahoo weather widget to work, I needed to install qml-module-qtquick-xmllistmodel, else the widget didn't work. Not sure if this is installed by default or not.

    snapshot11.png

  4. Back To Top    #4
    Junior Member
    Join Date
    Oct 2014
    Posts
    13
    Threads
    0
    Local Date
    Jan 4th 2018
    Local Time
    11:07 AM
    Quote Originally Posted by claydoh View Post
    To get the yahoo weather widget to work, I needed to install qml-module-qtquick-xmllistmodel, else the widget didn't work. Not sure if this is installed by default or not.
    no, just had to install it to work.


    nice widget btw.

  5. Back To Top    #5
    Veteran Member
    Join Date
    Jun 2011
    Posts
    287
    Threads
    28
    Local Date
    Jan 4th 2018
    Local Time
    07:07 AM
    Quote Originally Posted by deadite66 View Post
    no, just had to install it to work.


    nice widget btw.
    I had to install the package to get it to work. Thanks for the tip!

  6. Back To Top    #6
    Veteran Member
    Join Date
    Jun 2011
    Posts
    287
    Threads
    28
    Local Date
    Jan 4th 2018
    Local Time
    07:07 AM
    I would prefer this one, specially if it would be able to show temperature and image together on panel (not side by side). But, I can't test it, it says it's installed, but it's not even listed on widgets when I try to add it.

  7. Back To Top    #7
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 4th 2018
    Local Time
    01:07 PM

    Post command line

    But, I can't test it, it says it's installed, but it's not even listed on widgets when I try to add it.

    With the command line there should be meaningful information - error messages etc...


    Tools

    Code:
    :~$ plasmapkg2 --help
    Usage: plasmapkg2 [options]
    Plasma Package Manager
    
    Options:
      -v, --version             Displays version information.
      -h, --help                Displays this help.
      --hash <path>             Generate a SHA1 hash for the package at <path>
      -g, --global              For install or remove, operates on packages
                                installed for all users.
      -t, --type <type>         The type of package, e.g. theme, wallpaper,
                                plasmoid, dataengine, runner, layout-template, etc.
      -i, --install <path>      Install the package at <path>
      -s, --show <name>         Show information of package <name>
      -u, --upgrade <path>      Upgrade the package at <path>
      -l, --list                List installed packages
      --list-types              List all known package types that can be installed
      -r, --remove <name>       Remove the package named <name>
      -p, --packageroot <path>  Absolute path to the package root. If not supplied,
                                then the standard data directories for this KDE
                                session will be searched instead.
    Example

    Downloading: plasma-applet-weather-widget-master.zip

    Unpacking the zip file.



    Installing.

    cd to ../plasma-applet-weather-widget-master/



    Running:
    Code:
    plasmapkg2 -i org.kde.weatherWidget
    Output:
    Code:
    pluginname:  "org.kde.weatherWidget"
    Generated  "/home/oneline/.local/share/plasma/plasmoids//kpluginindex.json"  ( 9  plugins)
    -- Copying  "/home/oneline/.local/share/plasma/plasmoids/org.kde.weatherWidget/metadata.desktop" "/home/oneline/.local/share/kservices5/plasma-applet-org.kde.weatherWidget.desktop"
    Copying metadata went ok.
    Successfully installed /home/oneline/Weather/plasma-applet-weather-widget-master/org.kde.weatherWidget
    => Everything OK.

    Check:

    Code:
    :~$ plasmapkg2 --list | grep weather
    
    com.librehat.yahooweather
    org.kde.weatherWidget
    => OK

    Available ?



    => OK

    Working ?



    => OK

  8. Back To Top    #8
    Veteran Member
    Join Date
    Jun 2011
    Posts
    287
    Threads
    28
    Local Date
    Jan 4th 2018
    Local Time
    07:07 AM
    Thanks for your help! But I've got:
    Code:
    $  plasmapkg2 --list | grep weather
    No metadata file in the package, expected it at: "/home/george/.local/share/plasma/plasmoids/plasma-applet-weather-widget-master//metadata.desktop"
    No metadata file in the package, expected it at: "/home/george/.local/share/plasma/plasmoids/plasma-applet-weather-widget-master//metadata.desktop"
    Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "" instead of kservice_desktop_to_json() in your CMake code.
    kf5.kservice.sycoca: Trying to open ksycoca from "/home/george/.cache/ksycoca5"
    com.librehat.yahooweather
    org.kde.weatherWidget
    Despite the error messages it's working, but I can't choose vertical layout. And clicking the icon on panel gives me an empty box, no meteogram...
    Is this just to show weather conditions or also forecast (not meteogram), like the yahoo one?

  9. Back To Top    #9
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 4th 2018
    Local Time
    01:07 PM

    Post To make the helping a bit easier

    Please, tell what have you done ?
    Input/output ?

    Despite the error messages it's working, but I can't choose vertical layout.
    ??

    Is this just to show weather conditions or also forecast (not meteogram), like the yahoo one?
    ??

    The meteogram is 48 hour forecast.

  10. Back To Top    #10
    Veteran Member
    Join Date
    Jun 2011
    Posts
    287
    Threads
    28
    Local Date
    Jan 4th 2018
    Local Time
    07:07 AM
    LOL.
    1) Following the steps, l've Just run the commands you've posted at folder that I wanted the plasmoid to be (~/.local/share/plasma/plasmoids).
    2) I can't choose vertical layout on panel (I suppose this, on panel, makes the temperature to be placed above the icon).
    3) Meteogram just shows 48hs forecast, I was asking for five days or so of forecast.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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