Package: xbindkeys
Version: 1.7.1-1
Severity: wishlist

I installed the xbindkeys package to control the volume keys on my
laptop.  Once installed however, I realised that every user must now set
up their account to run xbindkeys when they log in.

It would be nice if the xbindkeys package could (if configured)
automatically run every time a (any user) user logs in to X.

I have attached a file to do this (/etc/X11/Xsession.d/55xbinkeys),
briefly it says:
  If xbindkeys is configured for this user ($HOME/.xbindkeysrc file
  exists) OR if xbindkeys is configured for this system
  (/etc/xbindkeysrc exists) then run xbindkeys


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xbindkeys depends on:
ii  guile-1.6-libs            1.6.7-1.1      Main Guile libraries
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libx11-6                  6.8.2.dfsg.1-7 X Window System protocol client li
ii  xlibs                     6.8.2.dfsg.1-7 X Window System client libraries m

xbindkeys recommends no packages.

-- no debconf information
# This file is sourced by Xsession(5), not executed.

PROG="/usr/bin/xbindkeys"


if [ -x $PROG ]; then
  for FILE in "$HOME/.xbindkeysrc" "/etc/xbindkeysrc"; do
    if [ "$CONF" = "" ]; then
      if [ -f $FILE ]; then
        CONF=$FILE
      fi
    fi
  done

  # Run $PROG - if it has been configured
  if [ "$CONF" != "" ]; then
    $PROG -f $CONF
  fi
fi

# vim:set ai et sts=2 sw=2 tw=80:

Reply via email to