[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#723718: x11-apps: /etc/mailcap entry for xmore



Package: x11-apps
Version: 7.7+1
Severity: wishlist
File: /usr/bin/xmore

This is an idea for an /etc/mailcap entry for xmore, so for example

    see foo.txt

can run xmore.

I get some joy from the lines of debian/mime below which dh_installmime
can copy to /usr/lib/mime/packages/x11-apps

For the priority levels perhaps there should be some coordination
between more, less, xmore and nview as to which is better or equal in
quality.  But this is a start and a user can make their own order.


# priority=6 here is below "less" at priority=8.
# Believe "less" in an xterm is more featureful than xmore.
#
# Want to be above Emacs priority=5 entries made by update-mime from
# /usr/share/applications/emacs24.desktop.  Believe xmore is easier
# for standalone use.
#
text/plain; xmore '%s'; test=test -n "$DISPLAY"; description=Plain Text; priority=6

# priority=0 here to act as a fallback if some text/foo type has nothing
# specific.
text/*; xmore '%s'; test=test -n "$DISPLAY"; description=Plain Text; priority=0


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-apps depends on:
ii  cpp          4:4.6.1-2
ii  libc6        2.17-92
ii  libpng12-0   1.2.49-4
ii  libsm6       2:1.2.1-2
ii  libx11-6     2:1.6.1-1
ii  libxaw7      2:1.0.11-1
ii  libxcursor1  1:1.1.14-1
ii  libxext6     2:1.3.2-1
ii  libxft2      2.3.1-1
ii  libxkbfile1  1:1.0.8-1
ii  libxmu6      2:1.1.1-1
ii  libxmuu1     2:1.1.1-1
ii  libxrender1  1:0.9.8-1
ii  libxt6       1:1.1.4-1

Versions of packages x11-apps recommends:
ii  xbitmaps  1.1.1-2

Versions of packages x11-apps suggests:
pn  mesa-utils  <none>

-- no debconf information

Reply to: