← Back to team overview

desktop-packages team mailing list archive

[Bug 777644] Re: keyboard shortcuts for email and browser pass spurious arguments to the applications

 

no. no changes to proffered applications. not even the keys where
changed it all comes out from a clean install of ubuntu natty from
scratch (while I keep the home folder I always move all files and
folders starting with . and never restore gnome ones)

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

Title:
  keyboard shortcuts for email and browser pass spurious arguments to
  the applications

Status in “gnome-settings-daemon” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gnome-settings-daemon

  It seems since natty (maverick doesn't suffer this issue) when using
  the keyboard shortcuts functionality of gnome to open them the
  applications are called but with spurious arguments. In my case for
  firefox it's sent a big number with no meaning (always the same too),
  for evolution it's sent an %U. This thing makes both misbehave:
  firefox opens a weird page with this number (http://number/) and
  evolution never opens the windows if it's not already open. As a
  temporary solution I've worked around this by putting a wrapper script
  which removes these "arguments":

  #/bin/sh
  #for args
  #do
  #echo $args >> /tmp/out
  #done

  if [ "$1" = "%U" ]; then
  /usr/bin/evolution2
  else
  /usr/bin/evolution2 $@
  fi

  and

  #!/bin/sh

  set -e

  if [ "$1" = "3788462439" ]; then
  firefox
  exit
  fi

  # Firefox launcher containing a Profile migration helper for

  on top of the firefox init script already there.
  Obviously this isn't a correct solution. So why the keyboard shortcut launcher is sending arguments at all? it should allow to configure them or not set them at all. This is a clean natty install with just firefox config folder copied from the previous install and evolution restored by using the backup functionality but i don't think this matters as the problem is these arguments which have no meaning to be there and shouldn't be there at all (so not firefox 373.... or evolution %U but just firefox and evolution!)

  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty

    Installato: 2.32.1-0ubuntu13.1
    Candidato:  2.32.1-0ubuntu13.1
    Tabella versione:
   *** 2.32.1-0ubuntu13.1 0
          500 http://it.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
          100 /var/lib/dpkg/status

  this is updated anyway with all last versions from ubuntu natty
  official repo (none from proposed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/777644/+subscriptions