Comments (6)
Hey,
thanks for your report. Can you start udiskie from a terminal like so:
udiskie -vt
and show me the output. Maybe there are hints as to why this doesn't work for you.
Best regards,
Thomas
from udiskie.
rodrigo@asgard:~$ udiskie -vt
DEBUG [2014-12-08 16:26:03,582] udiskie.config: Failed to read config file: [Errno 2] No such file or directory: '/home/rodrigo/.config/udiskie/config.yml'
DEBUG [2014-12-08 16:26:03,584] udiskie.config: Failed to read config file: [Errno 2] No such file or directory: '/home/rodrigo/.config/udiskie/config.json'
WARNING [2014-12-08 16:26:03,664] udiskie.cli: Failed to connect UDisks1 dbus service..
Falling back to UDisks2 [experimental].
DEBUG [2014-12-08 16:26:03,754] udiskie.config: IgnoreDevice(match={'is_block': False}, value=True) created
DEBUG [2014-12-08 16:26:03,754] udiskie.config: IgnoreDevice(match={'is_external': False}, value=True) created
DEBUG [2014-12-08 16:26:03,754] udiskie.config: IgnoreDevice(match={'is_ignored': True}, value=True) created
...
DEBUG [2014-12-08 16:26:03,786] udiskie.config: IgnoreDevice(match={'is_external': False}, value=True) used for ...
...
EDIT (by coldfix): added code guards and removed long list of ignored devices
from udiskie.
Hey. The output does not show any failures. Fortunately, I have an ubuntu 14.04 VM which allowed me to track the issue.
The problem seems to be a general issue which affects most applications on ubuntu. As far as I understand, canonical basically disabled the systray for all applications by default.
The suggestion in HOW TO ENABLE SYSTRAY APPS IN UBUNTU 14.04 OR 14.10 worked for me:
sudo add-apt-repository ppa:gurqn/systray-trusty
sudo apt-get update
sudo apt-get upgrade
# now restart
I don't know, if I can recommend the method, since it means adding non-standard repository to your package manager, which may in the extreme case endanger your system. Maybe you can also find something useful in this stackoverflow thread or somewhere else on the web.
Hope this helps.
Best regards,
Thomas
from udiskie.
Hi Thomas,
Thanks for your help. I have search about this problem before open this issue. The best solution for this case maybe support app indicators (unity/ubuntu) on diskie. Two years ago i have started a pet project similiar to udiskie (https://github.com/fenrrir/bdin). Recently ubuntu drops udisks(1) and migrate to udisks2 then my project breaks. Searching for python and udisks2 I found your project. Udiskie is awesome and much better that bdin. Now, i'm in doubt, port bdin to udisks2 or add support to appindicators in udiskie. Do you have interest?
Best regards,
Rodrigo Araújo
from udiskie.
Hey, in principle I have nothing against an appindicators backend for the udiskie status icon. But you'd have to maintain it, since I'm not using ubuntu.
It should be quite easy to modify the TrayIcon
(and AutoTray
) classes to optionally use the gi.repository.AppIndicator3.Indicator
(or a lightweight wrapper thereof) instead of gi.repository.Gtk.StatusIcon
.
That being said, I will probably rewrite some of that code soon:
- to clean up the messy tray icon code
- to make all UI and IO operations asynchronous, so that the UI does not block and there will be less race conditions
- GTK3 has deprecated icons in menu (much to my annoyment). Not sure yet, how I will handle this.
from udiskie.
Hey,
don't know if you are still interested but I finally decided to implement this feature. However, it has to be requested explicitly. In order to use appindicators, you have to start udiskie as
udiskie -t --appindicators
Since I won't be actively checking udiskie on ubuntu it is likely that this may break at some point. In case there are any problems, error reports are always welcome.
Thomas
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.