Package Details: whippet 2.2.8-1

Git Clone URL: https://aur.archlinux.org/whippet.git (read-only)
Package Base: whippet
Description: A launcher and xdg-open replacement for control freaks, utilizing dmenu. Opens file and URL objects with applications associated by name and/or mimetype. Applications and associations may be customized using an SQLite database.
Upstream URL: http://appstogo.mcfadzean.org.uk/linux.html#whippet
Keywords: applications dmenu launcher xdg-open
Licenses: custom:MPL2
Submitter: ninian
Maintainer: ninian
Last Packager: ninian
Votes: 5
Popularity: 0.388966
First Submitted: 2015-03-15 22:59
Last Updated: 2016-06-04 22:33

Latest Comments

ninian commented on 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.)

assaf758 commented on 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..)?

ninian commented on 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.

assaf758 commented on 2015-06-03 19:31

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

ninian commented on 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'?

ninian commented on 2015-06-03 13:00

@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?

assaf758 commented on 2015-06-03 11:44

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

assaf758 commented on 2015-06-03 11:41

It seems like there is like of support for url-encoding (%20 etc)..

ninian commented on 2015-06-01 22:08

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

ninian commented on 2015-04-07 22:07

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

All comments