You are not logged in.

#1 2013-05-05 17:04:53

szboardstretcher
Member
From: detroit, michigan
Registered: 2012-09-23
Posts: 15
Website

how do i use udisksvm and traydvm

Using newest version of Arch with newest Openbox and Tint2.

Ive installed udisksvm, which in turn installs traydvm. This package is supposed to keep watch on attached usb devices and give me a trayicon that says something was plugged in. My problem is that there is 0 documentation on how to set it up and use it.

udisksvm help gives this:

udisksvm --help
usage: udisksvm [-h] [-v] [-n] [-d]

A GUI UDisks wrapper

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

traydvm help gives this:

/usr/bin/traydvm --help
usage: traydvm [-h] object_path

A systray utility for udisksvm

positional arguments:
  object_path  the object to use

optional arguments:
  -h, --help   show this help message and exit

running udisksvm gives this:

udisksvm -d
--------------------------------------------------
Found  /usr/bin/traydvm
--------------------------------------------------
Automounting for non optical devices enabled
--------------------------------------------------
optical drive = /org/freedesktop/UDisks2/drives/HL_DT_ST_DVDRAM_GSA_4084N_5AA85B82763A
--------------------------------------------------

running traydvm gives this:

/usr/bin/traydvm
usage: traydvm [-h] object_path
traydvm: error: the following arguments are required: object_path

I would like to use this program. But the help isn't helping. There is no documentation to be found. And the debug output is cryptic at best.

Has anyone got this installed and working willing to share their step by step? Thanks.


“If they can get you asking the wrong questions, they don't have to worry about answers.”
― Thomas Pynchon, Gravity's Rainbow

Offline

#2 2013-05-05 18:43:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: how do i use udisksvm and traydvm

Not a Community Contribution, moving to Newbie Corner...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-05-05 21:15:54

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: how do i use udisksvm and traydvm

There are explanations in '/usr/share/udisksvm/README':

For example, in Openbox and Tint2 with systray enabled, only add this line in
$HOME/.config/openbox/autostart to launch udisksvm without any output:

        udisksvm >/dev/null &

The script udisksvm runs in background, and traydvm is not meant to be run directly, it is called by udisksvm.

Using systemd-logind.service, the session must be active for the script to have the right permissions.
And a dbus session is also needed.
See also https://bbs.archlinux.org/viewtopic.php?id=112397&p=3 post #53

How do you start openbox?

Offline

#4 2013-05-07 00:14:01

szboardstretcher
Member
From: detroit, michigan
Registered: 2012-09-23
Posts: 15
Website

Re: how do i use udisksvm and traydvm

Thank you for the reply. It was very informative. I appreciate the help.


“If they can get you asking the wrong questions, they don't have to worry about answers.”
― Thomas Pynchon, Gravity's Rainbow

Offline

Board footer

Powered by FluxBB