Package Details: whippet 2.0.2-1

Package Base: whippet
Description: Opens files and URLs with applications associated by name or mimetype; an xdg-open replacement for control freaks. Applications and associations may be customized using an SQLite database.
Upstream URL: http://mcfadzean.org.uk/appstogo/linux.html#whippet
Category: system
Licenses: custom:MPL2
Submitter: ninian
Maintainer: ninian
Last Packager: ninian
Votes: 2
First Submitted: 2015-03-15 22:59
Last Updated: 2015-06-04 09:33

Dependencies (9)

Required by (0)

Sources

Latest Comments

Comment by ninian

2015-06-29 16:11

Please see AUR4 for updated version 2.2.0-1 package

Comment by ninian

2015-06-16 23:26

Moved to AUR4 where all new versions will be found.

Comment by ninian

2015-06-03 22:37

@assaf758: Glad that the new version works for you.
Re your query: Use (for example) sqlitebrowser to look at the data in the tables 'types', 'assoc' and 'apps' supplied with the sample database /usr/share/doc/whippet/whippet_example.sqlite. You will see that for the types 'image' and 'text', there are two associations for each defined in the 'assoc' table. These associations have been weighted ('wt' field) so that the default (most preferred) applications - Viewnior and Mousepad - come first when using the -a or -A options. See the 'rem' fields in the tables for some comments on this. (Note that types can also be weighted - see the 'textroot' type, for example.) It would be best to play around with a writable copy of the sample database first, customizing it gradually to your own preferences.

Alternatively, you can ignore Whippet's databased associations and applications and just use the standard mimetype associations to find the relevant apps. Whippet follows the latest freedesktop.org standards to determine these and the default applications. See -m and -M options. (Of course there is no weighting of apps in this case, apart from the identification of the default application.)

Comment by assaf758

2015-06-03 21:09

Cool - works very nice!
I'm considering to use whippet with ranger (replacing its 'rifle' util..)
Does whippet allows for multiple apps to support the same type? And if it does - how can we set priority (if several of those apps exist in the system..)?

Comment by ninian

2015-06-03 20:30

v2.0.1: Now treats file:// urls in same way as xdg-open does, treating them as local files and resolving any %xx strings in the file paths to characters.
@assaf758: Thanks for the suggestion and I hope this version meets your needs.

Comment by assaf758

2015-06-03 19:31

@ninian: Yes, that's what I meant.

Comment by ninian

2015-06-03 14:58

@assaf78: Thanks for your comment, but I'm unsure as to where this might cause Whippet to fail to process a url. It should work with encoded %xx characters in an url as it is. Can you be more specific and/or give me examples of what you would like to do, please?
Edit: do you mean that Whippet should automatically strip the prefix file:// from file:// urls and convert embedded %xx characters in the same way that xdg-open does? That is, to convert (say):
url 'file:///home/user/file%20space.txt' to '/home/user/file space.txt'?

Comment by assaf758

2015-06-03 11:44

it seems like there is lack of support for url-encoding (%20 etc)

Comment by ninian

2015-06-01 22:08

v2.0.0: Significant modifications, new options and database format changed.

Comment by ninian

2015-04-07 22:07

v1.7.5: Database format changed - text field 'icon' added to table 'apps'.

Comment by ninian

2015-03-15 23:16

Rebranded as Whippet - see https://aur.archlinux.org/packages/whippet

Comment by ninian

2015-03-15 23:02

Rebrand of Ease, functioning the same and at the same version.

Comment by ninian

2015-01-27 23:58

v1.5.0: The database format has changed - see /usr/share/doc/ease/CHANGELOG.

Comment by ninian

2015-01-05 16:01

v1.2.2: Licensing changed to Mozilla Public License 2.0 from GPLv3.

Comment by ninian

2014-12-23 18:30

Note for v1.2.0: Database format has changed: new boolean column nop added to apps table; and meaning of boolean column hid changed.