Results 1 to 7 of 7

Thread: How to set variety wallpaper changer with KDE

  1. #1
    Join Date
    May 2018
    Location
    Québec city
    Posts
    41

    Cool How to set variety wallpaper changer with KDE

    Hi,

    I like the variety wallpaper changer and it doesn't work with default kde config. It just gives an error message saying that it won't work if gadgets are locked (and doesn't work anyway even if they are not locked). It used to work on Solus linux, so I cheated and stealed their solution.

    The correction is rather simple. Just add the qdbus command to make the wallpaper change possible with the actual script;

    Here are the details :
    1 - the script to change wallpaper is at : $HOME/.config/variety/scripts/set_wallpaper and the only reason it doesn't work is because the qdbus executable doesn't have the correct name.

    With KDE you already have the package libqt5-qdbus installed and the following executable /usr/bin/qdbus-qt5 in place.
    But in other OSes it seems it is called qdbus instead of qdbus-qt5.

    As root create the following link to an alternate name : # ln -s /usr/bin/qdbus-qt5 /usr/bin/qdbus
    And start variety or, if it is already started, right click on the icon and select "next" to switch to a new image now and it should work.

    And voilà you have a functional "variety" now.

    Now it would be great to correct it directly in the OpenSUSE libqt5-qdbus package.

    Regards,
    Bernard

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,712
    Blog Entries
    15

    Default Re: How to set variety wallpaper changer with KDE

    Hi
    Variety packager/maintainer here, I don't use Plasma, but AFAIK, the variety script takes care of this (assuming your running variety 0.8.3)?

    Code:
            if command -v qdbus-qt5 &>/dev/null; then
                qdbus_command=qdbus-qt5
            else
                qdbus_command=qdbus
            fi
    I would suggest an upstream bug report if it's not working....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    May 2018
    Location
    Québec city
    Posts
    41

    Default Re: How to set variety wallpaper changer with KDE

    bt@linux-0rk5:~> rpm -q variety
    variety-0.8.3-2.2.noarch


    I don't have this part of code you show in my version here. I installed variety some time ago but wasn't able to use it.
    Is the $HOME/.config/variety/scripts/* scripts would be updated if this code was changed afterwhile ?


  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,712
    Blog Entries
    15

    Default Re: How to set variety wallpaper changer with KDE

    Quote Originally Posted by PerfMonk View Post
    bt@linux-0rk5:~> rpm -q variety
    variety-0.8.3-2.2.noarch


    Hi
    Then I would report upstream... I see;
    Code:
    command -v qdbus-qt5
    
    /usr/bin/qdbus-qt5
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,712
    Blog Entries
    15

    Default Re: How to set variety wallpaper changer with KDE

    Hi
    No you would need to update anything in your $HOME directory;

    Code:
    cp /usr/share/variety/scripts/* ~/.config/variety/scripts/
    In the meantime also updated variety, will take a few days or so to filter through....

    Ref: https://build.opensuse.org/request/show/856258
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    May 2018
    Location
    Québec city
    Posts
    41

    Default Re: How to set variety wallpaper changer with KDE

    That was the problem. I Had installed variety 0.7.1-1.5 in july 2019 and didn't know I had to update those scripts.

    So eveything is ok with variety. It is only me ignorant about thoses scripts!
    May be a message to the users or to the admin would be a good thing when these scripts are upgraded would be welcome.

    Sorry for the noise.

    Bernard





  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,712
    Blog Entries
    15

    Default Re: How to set variety wallpaper changer with KDE

    Quote Originally Posted by PerfMonk View Post
    That was the problem. I Had installed variety 0.7.1-1.5 in july 2019 and didn't know I had to update those scripts.

    So eveything is ok with variety. It is only me ignorant about thoses scripts!
    May be a message to the users or to the admin would be a good thing when these scripts are upgraded would be welcome.

    Sorry for the noise.

    Bernard




    Hi
    Not at all, hopefully users will come across your post and be able to sort the issue out if they strike it
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

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