Giter VIP home page Giter VIP logo

Comments (6)

coldfix avatar coldfix commented on June 12, 2024

You can do it as follows:

  • Remove system installation (needs root):
sudo pacman -S udiskie # install udiskie with all dependencies
sudo pacman -R udiskie # remove udiskie but leave dependencies installed
sudo pip uninstall udiskie # if you had udiskie installed with pip
  • Install udiskie into a fresh virtualenv
# Make a new virtualenv in the folder 'test-env'. The option
# --system-site-packages means that python packages from the default python
# installation can be used (which is important for non-trivial dependencies
# such as pygobject):
virtualenv --system-site-packages test-env

# activate the virtualenv in your current shell
source test-env/bin/activate

# install udiksie in 'develop' mode, meaning that every change to the source
# code is visible immediately (when restarting udiskie):
python setup.py develop

# deactivate the virtualenv
deactivate
  • Use the udiskie virtualenv installation
source test-env/bin/activate
udiskie -vt
deactivate

Note, doing it this way, you will not be able to use the custom gtk icons.

from udiskie.

coldfix avatar coldfix commented on June 12, 2024

Sorry, there were some minor mistakes in the initial message above. I edited it, so I think it should be correct now.

from udiskie.

alejandro-perez avatar alejandro-perez commented on June 12, 2024

I got this:

Traceback (most recent call last):
File "/tmp/udiskie/test-env/bin/udiskie", line 9, in
load_entry_point('udiskie==0.6.4', 'console_scripts', 'udiskie')()
File "/tmp/udiskie/udiskie/cli.py", line 165, in daemon
import pynotify as notify_service
ImportError: No module named pynotify

from udiskie.

alejandro-perez avatar alejandro-perez commented on June 12, 2024

Sorry, my mistake. I removed pynotify along with udiskie

from udiskie.

alejandro-perez avatar alejandro-perez commented on June 12, 2024

I have to have made something wrong. I still get my messages in Spanish. Even when I deleted everything from my previous installation. My guess: some dirty file somewhere.

from udiskie.

alejandro-perez avatar alejandro-perez commented on June 12, 2024

Nevermind again. There was an old udiskie process running. It works now thanks!

from udiskie.

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.