Comments (6)
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.
Sorry, there were some minor mistakes in the initial message above. I edited it, so I think it should be correct now.
from udiskie.
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.
Sorry, my mistake. I removed pynotify along with udiskie
from udiskie.
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.
Nevermind again. There was an old udiskie process running. It works now thanks!
from udiskie.
Related Issues (20)
- Tell daemon to pause automounting HOT 1
- Tray menu shows invalid entry on first launch and icons are hard to see HOT 1
- Unmounting Btrfs partition: Error finding object for block device
- shell completions: need to escape spaces in labels HOT 2
- Not showing "internal HDD" HOT 1
- When use together with `tomb`, it cause problem because of the loop device password prompt. HOT 1
- make appimage or static binary file HOT 1
- Not authorized to mount on Linux Mint HOT 1
- Hide unpower (at least for optical devices) HOT 2
- Fedora package is wrong name on the installation manual HOT 1
- Why does the polkit rule grants permission to users in storage group? HOT 2
- Flat menu style not working HOT 2
- python messages about dbus.py and udisks2.py HOT 6
- Kobo Libra H2O e-reader does not get auto-mounted when connected via USB HOT 8
- Wrong location for bash completions. HOT 1
- Breaks in Python 3.12 due to dependency on distutils HOT 1
- notification_command should be renamed HOT 6
- ValueError: Namespace Gio not available on startup HOT 2
- The --terminal command-line option does nothing. HOT 1
- Run command after automount HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from udiskie.