Giter Site home page Giter Site logo

Comments (9)

jzazo avatar jzazo commented on August 11, 2024 1

Hey, you are totally right. Appending fixed it, no more conflicts, both nbopen and variety work well together when doing that. Thanks!

PD: just to clarify, when pre-pending in .bashrc there is no conflict at all, both variety and anaconda environments work well. The problem came when I prepended in .profile.

from variety.

jlu5 avatar jlu5 commented on August 11, 2024

Hi,

Some tips to help diagnose this further:

  1. In what way does Variety stop working after installing Anaconda? Does it fail to start completely or break on something specific like downloading images or updating wallpapers? If it fails to start, try running variety from a terminal and paste any traceback / error messages that are shown there (i.e. in the terminal).

  2. Can you explain how exactly you installed Anaconda so that we have a method of reproducing this issue?

from variety.

jzazo avatar jzazo commented on August 11, 2024

Hi, thanks for the response.

  1. Variety loads and runs, but fails to change wallpapers. It does download new images (if I select "wallpaper selector" I see all new wallpapers, but selecting them change nothing. Nor does clicking "next" or "previous" in the appindicator. I attached a logfile in my first post with an error message that shows up when calling variety from terminal.
  2. I downloaded the 64bit version of Anaconda 3.6 and run the script from a terminal. I installed to /opt/anaconda3 and then let the script modify my ~/.bashrc profile, which now includes the following line: export PATH="/opt/anaconda3/bin:$PATH".

from variety.

jzazo avatar jzazo commented on August 11, 2024

Hey, I figured something out. You pointed me to the right direction.
I did something else when installing Anaconda, which was to export the python profile not only in ~/.bashrc but also in ~/.profile. The reason for doing that is because I am using nbopen package to make jupyter notebooks clickable, and it requires such line in the profile. If I comment that line, variety is again able to change wallpapers.

What do you think could be interfering that makes variety not able to change wallpapers when the profile has such a line?

from variety.

jlu5 avatar jlu5 commented on August 11, 2024

I don't see any errors in the log you provided - maybe Anaconda ships some binary with a conflicting name to something set_wallpaper uses? What does ls /opt/anaconda3/bin give?

from variety.

jzazo avatar jzazo commented on August 11, 2024

I attach this file with the output: ls.log
There is gsettings. Maybe that is a conflict.

from variety.

jlu5 avatar jlu5 commented on August 11, 2024

Yeah, the way they override gsettings and qdbus might cause issues.

If you need Anaconda for a specific app, it may be better to override it per application with a wrapper script instead of changing the PATH globally, e.g. a shell script that runs env PATH="/opt/anaconda3/bin:$PATH" nbopen "$@"

from variety.

jzazo avatar jzazo commented on August 11, 2024

OK, thank you. I will explore this option.

from variety.

cgoldberg avatar cgoldberg commented on August 11, 2024

export PATH="/opt/anaconda3/bin:$PATH"

you should probably append to PATH rather than prepend... that might fix things. You could be shadowing existing commands if you prepend.

from variety.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.