Package Details: udisksvm 2.6.3-1

Git Clone URL: https://aur.archlinux.org/udisksvm.git (read-only, click to copy)
Package Base: udisksvm
Description: GUI UDisks wrapper for removable media
Upstream URL: https://bbs.archlinux.org/viewtopic.php?id=112397
Licenses: GPL
Submitter: berbae
Maintainer: berbae
Last Packager: berbae
Votes: 27
Popularity: 0.000001
First Submitted: 2011-02-16 16:09 (UTC)
Last Updated: 2017-12-16 14:44 (UTC)

Latest Comments

berbae commented on 2017-12-16 14:46 (UTC)

  • 2.6.3-1 : remove GLib Mainloop in traydvm

berbae commented on 2016-04-14 21:43 (UTC)

* 2.6.2-1 : added GPLv2 license switch again to the Qt5 GUI toolkit through Python bindings PyQt5 updated the icon theme path

berbae commented on 2014-12-13 16:59 (UTC)

* 2.6.1-1 : switch to the Qt4 GUI toolkit through Python bindings PyQt4 because PyQt5 did not yet follow the Qt5 upgrade to 5.4.0 and so is broken presently

berbae commented on 2014-10-30 09:56 (UTC)

* 2.6.0-1 : traydvm now uses Qt5 GUI toolkit through Python bindings PyQt5 instead of Gtk3, where GtkStatusIcon is now deprecated the notification messages now use the message balloon feature of QWidgets.QSystemTrayIcon the dummy '-n, --noauto' command line option is removed the 'oxygen-icons' theme is used by default

berbae commented on 2013-12-18 13:46 (UTC)

2.5.0-1 : Re-enabling tooltip which is now dynamically generated and shows the state of the device as well as the mountpoint if appropriate.

berbae commented on 2013-11-18 15:38 (UTC)

2.4.2-1 : Added multi media card device management Small improvements of drive treatment in traydvm

berbae commented on 2013-10-15 15:23 (UTC)

2.4.1-1 : Fix typo in popup menu 'Unmount' instead of 'Unount'

berbae commented on 2013-10-15 14:21 (UTC)

2.4.0-1 : Re-writing of the traydvm popup menu generation and associated actions Don't use deprecated features of Gtk+ 3.10: GtkActions, GtkUIManager and all stock items of Gnome The tooltip feature of the GtkStatusIcon tray icon is disabled because it prevents the popup menu from being shown correctly (probably a bug in Gtk 3.10); but the tooltip text can be seen as the popup menu title

berbae commented on 2013-10-08 14:19 (UTC)

2.3.3-1 : Dysfunction fixes following the Gtk3 upgrade from 3.8.4 to 3.10.0: Removed the tooltip feature of the system tray icon, Removed usage of the gnome stock icons in the popup menu. This is a provisional release before a re-writing of the popup menu generation and associated actions. But it should be functional at the moment.

berbae commented on 2013-09-27 14:54 (UTC)

2.3.2-1 : one bug correction Added test of 'HintSystem' property to prevent creation of icons of internal disks partitions if udisks2 is restarted when udisksvm is running. Added version option parameter to traydvm command

berbae commented on 2013-08-30 13:20 (UTC)

* 2.3.1-1 : Code modified to pass a PEP8 Python style guide compliance test. Don't show jobs objects added and removed. Use only string methods. Use get_block(), get_filesystem(), get_partition(), get_drive() instead of the get_interface('...') method. Use 'is not None' in tests. Change 'audiotracks' with 'numaudio' names. Use all uppercase constant names. Use 'except Exception:' in traydvm script. Change name of popup menu name from 'udisksvm' to 'traydvm'.

berbae commented on 2013-08-06 13:27 (UTC)

2.3.0 release: New feature: notifications of 'Mount' and 'UnMount' actions or of errors when executing actions this can be disabled by the '-s', '--silent' command line option Important change: automounting is disabled by default and enabled by the '-a', '--auto' command line option added the 'sync' mount option for 'ext2' file system better management of added objects small improvements of code

berbae commented on 2013-07-12 15:27 (UTC)

2.2.4 release: Replace the 'gi._glib.GError' exception with 'GLib.GError' Remove the 'ntfs-3g' file system type which is rejected by UDisks2

dustball commented on 2013-06-27 23:51 (UTC)

Automounting /dev/sdb1... Traceback (most recent call last): File "/usr/bin/udisksvm", line 174, in action_on_object mountpath = ifilesystem.call_mount_sync(vparam, None) File "/usr/lib/python3.3/site-packages/gi/types.py", line 113, in function return info.invoke(*args, **kwargs) gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.OptionNotPermitted: Requested filesystem type `ntfs-3g' is neither well-known nor in /proc/filesystems nor in /etc/filesystems During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/udisksvm", line 193, in handler_on_object_added action_on_object(object_added, None) File "/usr/bin/udisksvm", line 175, in action_on_object except gi._glib.GError: AttributeError: 'module' object has no attribute 'GError'

berbae commented on 2013-04-22 20:47 (UTC)

2.2.3 release: Don't use signal handler anymore to end processes But use the KeyboardInterrupt exception So <Ctrl-C> or SIGINT ends 'udisksvm' and 'traydvm'

berbae commented on 2013-01-12 10:37 (UTC)

2.2.2 release: Using python3 again Changed the call_sync method with call_mount_sync, call_unmount_sync and call_eject_sync of the udisks2 filesystem interface; they are easier and lighter to use.

berbae commented on 2012-10-18 13:04 (UTC)

2.2.1 release: Using python2 because the gobject introspection scheme is broken with new python 3.3.0 release

berbae commented on 2012-10-14 21:46 (UTC)

Changelog for 2.2: Added connection to 'interface-added' signal, to act on Filesystem interface addition to an already present object Added default values to 'iscontainer' and 'iscontained' variables when there is no Partition interface In traydvm, change in the detection of optical disk, using the Drive interface 'Optical' property

berbae commented on 2012-08-02 14:47 (UTC)

Changelog for 2.1.1: Bug fix when there is no CD/DVD drive at /dev/sr0

berbae commented on 2012-07-10 10:05 (UTC)

Changelog for 2.1: Improving/optimizing the code: Don't use the 'IdUsage' property anymore, the test of the filesystem interface is better Don't use the 'Number' property of the partition interface anymore but use the 'IsContainer' and 'IsContained' properties to, presently, limit the mounting on block devices to plain partitions Improve the 'handler_on_changed' function in the udiskvm script to act only if one tested property on optical disk has changed since last call to it Better identified messages from traydvm, when the debug option is used: they are prefixed with '-----traydvm----->' Simplification of the 'setup_sensitive' function to only look for a change in mountpoints The traydvm script ignores all changes made to partitions or file system types or label, while it is running; if such changes are made on a device, while traydvm is running on it, the device has first to be plugged out/in to re-launch traydvm on it

berbae commented on 2012-07-08 15:14 (UTC)

Porting to UDisks2 Use the gobject introspection approach for UDisks and Gtk

berbae commented on 2012-07-01 14:48 (UTC)

Added 'python-gobject' as dependency (I forgot it)

berbae commented on 2012-06-30 15:35 (UTC)

This version should be the final step before migrating to UDisks2. The 'traydevice' utility is replaced with 'traydvm', a simplified, re-written from scratch utility to show device icons in system tray, with a right-click menu. 'traydvm' is a python3 script which uses gobject-introspection for GIO, GLib and Gtk3. It has no configuration file and a predefined simple popup menu with only 'Mount', 'Unmount' and 'Eject' actions. Many improvements could be added to it in future releases. The two scripts 'udisksvm' and 'traydvm' are now written in the same more actual way, using more up to date tools.

berbae commented on 2012-06-24 19:34 (UTC)

As another step towards refreshing the script, I rewrote it in python 3. It still uses UDisks 1. I chose not to use python-dbus anymore but the UDisks DBus API with the GDBus part of the GIO module of GLib, via GObject-Introspection. It's a more up to date way to get Python code onto D-Bus (see http://dbus.freedesktop.org/doc/dbus-python/ the 'Problems and alternatives' part). To migrate to UDisks 2, the 'traydevice' utility has to be converted to this same way of using the D-Bus interface, and from pygtk to pygobject in python 3. Apart from that the changelog of this release is better shown with the 'udisksvm --help' output: usage: udisksvm [-h] [-v] [-n] [-d] [traydconf] A GUI UDisks wrapper positional arguments: traydconf configuration file for traydevice (default: /usr/share/udisksvm/udisksvm.xml) optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -n, --noauto do not automount -d, --debug show internal infos The '-n, --noauto' option should permit to use the script to only start traydevice, ie to show a systray icon, without interfering with a file manager automounting feature enabled. There is still much left to accomplish to go ahead with this script and accompanying traydevice utility.

berbae commented on 2012-06-16 15:33 (UTC)

@jum1960: I will soon migrate the script to udisks2. Presently I have not udisks2 running on my computer, so I cannot say for sure if there is a conflict; but I read that the two versions could be installed and ran concurently, though that could be not safe in every cases. But that issue should be resolved when I finished migrating to udisks2.

berbae commented on 2012-06-16 15:24 (UTC)

Changelog for 1.9 release : Added some errors management Added redirection to /dev/null at traydevice command lines

jim1960 commented on 2012-06-14 08:28 (UTC)

Does udisks conflict udisks2? https://bbs.archlinux.org/viewtopic.php?id=142985

berbae commented on 2012-06-05 15:13 (UTC)

@Cpunitd: You can launch udisksvm in a console without the redirection to /dev/null to see the output and the errors on the screen. (take care to have only one udisksvm running). Do that without anything else automounting devices. Post the result here or in the forum thread.

berbae commented on 2012-06-05 15:07 (UTC)

Changelog for 1.8 release : Rewriting of the script in Python2. It now uses the dbus interface to UDisks, instead of the 'udisks' command (but the 'udisks' command is still used by traydevice). All the dependencies are provided with the traydevice package installation. For now it has the same functionalities as before. See the forum thread for more explanations.

CPUnltd commented on 2012-05-27 20:23 (UTC)

Not sure how to troubleshoot this issue, but it's been a bother for close to a month now... it's officially to the point where I am unable to properly function with my computer anymore. At first, I would get icons when drives were connected, but they refused to mount (I would work around this by opening PCmanfm as root and clicking the drives so they mounted (doing so as non-root would give a permissions error). I was able to live with this... then, it got to the point where it traydevice doesn't always show a drive when it's connected. Then PCManfm now mounts (as root) drives that are accessible as root only. So I started mounting the partitions via the commandline. How do I figure out how to get this setup working the way it's supposed to (where I connect a device and it automounts on it's own)?

berbae commented on 2012-05-21 12:49 (UTC)

Added ntfs filesystem type for mounting with ntfs-3g driver. I could not test that because I have no ntfs formatted disk; tell me if there is problem.

berbae commented on 2012-05-13 16:05 (UTC)

Changelog for 1.6 release: Don't give eject choice for mounted optical disks (they must be unmounted before ejection is possible) Blank optical disks are now under traydevice control for ejection or mounting after burning an iso file (but the label will not be seen until ejection/insertion of the disk)

berbae commented on 2012-01-26 16:45 (UTC)

Changelog for 1.5 release: Rollback of the change to launch traydevice with exec Remove automount for optical disks The mounting/unmounting for them is still under traydevice control as is the ejection of unmounted optical disks The automounting for optical disks didn't work very well and may not be wanted in some cases. The ejection of optical disks works only for unmounted disks.

berbae commented on 2011-10-25 22:12 (UTC)

Changelog for 1.4 release: Missing '-c $TRAYCONF' in the pgrep test for optical disks (bug fix) Using (exec traydevice ...) & to launch traydevice Using 'udisks --eject' instead of '/usr/bin/eject' in udisksvm.xml (bug fix) The script should work better for optical disk now with new udev.

berbae commented on 2011-10-21 22:36 (UTC)

Changelog for 1.3 release: Don't use 'eval' anymore to populate the variables from 'udisks--show-infos' Should be more secured like that.

berbae commented on 2011-05-15 16:17 (UTC)

Changes in 1.2 release : New traydevice configuration file name: udisksvm.xml traydevice now uses the -c option for the configuration file tooltip is now the Label name if available and Uuid if no label is set There is no need now to copy traydevice configuration file to $HOME/.config

berbae commented on 2011-05-08 16:16 (UTC)

Changes in 1.1 release : default mount options changed to flush instead of sync for vfat file system and nodev added.