I use:
/opt/google/chrome/google-chrome %U

i have no GC launchers, so:
mcv@beryl:~$ cat ~/.config/cairo-dock/current_theme/launchers/*chrome*
cat: /home/mcv/.config/cairo-dock/current_theme/launchers/*chrome*: No such 
file or directory

but after i did right-click->"make in a launcher" i got:
mcv@beryl:~$ cat ~/.config/cairo-dock/current_theme/launchers/*chrome*
#2.4.0~2

#[gtk-about]
[Desktop Entry]

#F[Icon]
frame_maininfo=

#d+ Name of the container it belongs to:
Container=_MainDock_

#v
sep_display=

#s Launcher's name :
Name=

#S+ Image's name or path :
Icon=

#s Command to launch on click :
#{Exemple : nautilus --no-desktop, gedit, etc. You can even enter a keyboard 
shortcut, for exemple <Alt>F1, <Ctrl>c,  <Ctrl>v, etc}
Exec=


#X[Extra parameters]
frame_extra=

#b Prevent this launcher from stealing appli from taskbar ?
#{If you choosed to mix launcher and applis, this option will deactivate this 
behaviour for this launcher only. It can be useful for instance for a launcher 
that launches a script in a terminal, but you don't want it to steal the 
Terminal's icon from the Taskbar.} 
prevent inhibate=false

#K Class of the program :
#{The only reason you may want to modify this parameter is if you made this 
launcher by hands. If you dropped it into the dock from the menu, it is nearly 
sure that you shouldn't touch it. It defines the class of the program, which is 
useful to link the appli with its launcher.}
StartupWMClass=

#b Run in a terminal ?
Terminal=false

#i-[0;16] Only show in this specific viewport
#{If '0' the launcher will be displayed on every viewport.}
ShowOnViewport=0

#f[0;100] Order you want for this launcher among the others:
Order=1

Icon Type=0
Type=Application
Origin=/home/mcv/.config/gnome-panel/launchers/google-chrome.desktop
group=0


Guess this might help also:

mcv@beryl:~$ cat /opt/google/chrome/google-chrome
#!/bin/bash
#
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="`readlink -f "$0"`"

HERE="`dirname "$CHROME_WRAPPER"`"

# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions when we know the system versions are very old. We
# detect whether the system xdg utilities are sufficiently new to be likely to
# work for us by looking for xdg-settings. If we find it, we leave $PATH alone,
# so that the system xdg utilities (including any distro patches) will be used.
if ! which xdg-settings &> /dev/null; then
  # Old xdg utilities. Prepend $HERE to $PATH to use ours instead.
  export PATH="$HERE:$PATH"
else
  # Use system xdg utilities. But first create mimeapps.list if it doesn't
  # exist; some systems have bugs in xdg-mime that make it fail without it.
  xdg_app_dir="${XDG_DATA_HOME:-$HOME/.local/share/applications}"
  mkdir -p "$xdg_app_dir"
  [ -f "$xdg_app_dir/mimeapps.list" ] || touch "$xdg_app_dir/mimeapps.list"
fi

# Always use our versions of ffmpeg libs.
# This also makes RPMs find the compatibly-named NSS3/NSPR symlinks.
if [[ -n "$LD_LIBRARY_PATH" ]]; then
  LD_LIBRARY_PATH="$HERE:$HERE/lib:$LD_LIBRARY_PATH"
else
  LD_LIBRARY_PATH="$HERE:$HERE/lib"
fi
export LD_LIBRARY_PATH

export CHROME_VERSION_EXTRA="stable"

# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME

exec -a "$0" "$HERE/chrome" "$@"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/883901

Title:
  Value "Launch new" for option "Action on middle-click on the related
  application" is not working for Google chrome icons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/883901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to