The key issue her is how irexec is started. When you add the irexex
entry, do you provide the --daemon/-d option? If so, try without it.

If  the --daemon option isn't active, this is likely a gnome bug.
program started from ~/.config/autostart  is certainly a session issue.

If you are still interested in this please provide some feeedback.
Otherwise, without further input, let's close this bug.

** Changed in: lirc (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/624172

Title:
  Multiple copies of irexec started at login

Status in lirc package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: lirc

  I use irexec to generate multimedia keystrokes from my Apple remote.
  Hence, I created a Startup Applications entry for irexec. Sometimes
  when I log in, multiple copies of irexec are run. It seems that this
  could be because irexec is not always killed when I log out: for
  example, in my current session, one of the copies of irexec has a PID
  just a little greater than my gnome-session, whereas the other has a
  lower PID, which seems to be similar to PIDs of other processes
  created when I first logged in after rebooting, e.g. mpd.

  I don't know whether this bug is properly considered to be in lirc or
  in some program related to GNOME session management, but as I cannot
  tell it seemed logical to start here (with the specific program that
  is causing problems), especially as I have not noticed this behaviour
  with any other program.

  I suppose there are multiple questions to answer:

  1. Should irexec be killed (or die) when I log out? It seems that some
  programs started in my session, like mpd, persist when I log out.

  2. When I log in, should irexec realise that it is already running and
  not start a second instance?

  If either 1 or 2 were happening, then I would not have a problem...

  Sorry if this is a bit vague, and let me know what other information I
  can provide to help track down the bug.

  (In case you're wondering, the reason this bug is a problem is because
  when there are multiple copies of irexec running, each IR control
  keypress is acted on once per copy of irexec, so when I press
  "play/pause", nothing seems to happen, because the music is first
  paused, then immediately unpaused, for example.)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: lirc 0.8.6-0ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic i686
  Architecture: i386
  Date: Wed Aug 25 18:59:59 2010
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_GB.UTF-8
  SourcePackage: lirc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/624172/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to