Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-04-03 16:41:10

penguin42
Member
From: Manchester, UK
Registered: 2015-04-03
Posts: 2
Website

Docs for 'Removable Drives and Media' command expansion

Hi,
  The docs at: http://docs.xfce.org/xfce/thunar/using- … _and_media could
do with explaining the % expansions for commands.  In particular looking at thunar-volman/tvm-run.c I found the %d and %m expansions that
give device file and mount point.

As an example, on the Cameras tab I now have
digikam --download-from %m

which works nicely.
(Hmm, does that need quoting to ensure that we don't hit an evil named camera like ;rm -rf /* ?)


Dave

Offline

#2 2015-04-03 17:39:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,932

Re: Docs for 'Removable Drives and Media' command expansion

The page is listed as "a work in progress" so more information may be forthcoming. However, you can always create a bug report against product www.xfce.org to bring it to the attention of the website maintainer.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-04-03 20:01:35

penguin42
Member
From: Manchester, UK
Registered: 2015-04-03
Posts: 2
Website

Re: Docs for 'Removable Drives and Media' command expansion

ToZ wrote:

The page is listed as "a work in progress" so more information may be forthcoming. However, you can always create a bug report against product www.xfce.org to bring it to the attention of the website maintainer.

Thanks; https://bugzilla.xfce.org/show_bug.cgi?id=11794

Offline

Board footer

Powered by FluxBB