[Pkg-dia-team] Bug#682891: [dia] under KDE with iceweasel as default browser, dia files are opened with iceweasel (from Dolphin)
Landry MINOZA
landry.minoza at gmail.com
Thu Jul 26 18:30:39 UTC 2012
Package: dia
Version: 0.97.2-8
Severity: important
--- Please enter the report below this line. ---
I'm using KDE 4.8.4 from unstable.
In KDE settings, iceweasel is set as my default browser.
When I try to open *.dia file from Dolphin, it launch's iceweasel with URL
file:///path/to/my/file.dia
Tried to customize with keditfiletype (keeping only dia as application and
remove all in "embeded" tab) does not change anything.
If I try to launch from term with xdg-open:
XDG_UTILS_DEBUG_LEVEL="3" sh -x /usr/bin/xdg-open /path/to/my/file.dia
+ check_common_commands /path/to/my/file.dia
+ [ 1 -gt 0 ]
+ parm=/path/to/my/file.dia
+ shift
+ [ 0 -gt 0 ]
+ [ -z 3 ]
+ [ 3 -lt 1 ]
+ xdg_redirect_output= >&2
+ [ x/path/to/my/file.dia != x ]
+ url=
+ [ 1 -gt 0 ]
+ parm=/path/to/my/file.dia
+ shift
+ [ -n ]
+ url=/path/to/my/file.dia
+ [ 0 -gt 0 ]
+ [ -z /path/to/my/file.dia ]
+ detectDE
+ unset GREP_OPTIONS
+ [ -n ]
+ [ x = x ]
+ [ xtrue = xtrue ]
+ DE=kde
+ [ xkde = x ]
+ [ xkde = x ]
+ [ xkde = xgnome ]
+ [ xkde = x ]
+ DEBUG 2 Selected DE kde
+ [ -z 3 ]
+ [ 3 -lt 2 ]
+ shift
+ echo Selected DE kde
Selected DE kde
+ [ x = x ]
+ BROWSER=www-browser:links2:elinks:links:lynx:w3m
+ [ -n :0 ]
+ BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-
browser:google-chrome:www-browser:links2:elinks:links:lynx:w3m
+ open_kde /path/to/my/file.dia
+ kde-open -v
+ kde-open /path/to/my/file.dia
+ [ 0 -eq 0 ]
+ exit_success
+ [ 0 -gt 0 ]
+ exit 0
As one can see in the debug, xdg-open uses kde-open.
I join the strace and ltrace in trace and trace2 from kde-open
--- System information. ---
Architecture: amd64
Kernel: Linux 3.4-trunk-amd64
Debian Release: wheezy/sid
500 unstable www.debian-multimedia.org
500 unstable http.debian.net
500 testing www.debian-multimedia.org
500 testing http.debian.net
500 stable www.debian-multimedia.org
500 stable security.debian.org
500 stable http.debian.net
500 stable dl.google.com
500 precise ppa.launchpad.net
500 hardy linux.dell.com
500 gutsy linux.dell.com
500 cross-distro linux.dell.com
101 experimental http.debian.net
--- Package information. ---
Depends (Version) | Installed
====================================-+-==============
libart-2.0-2 (>= 2.3.18) | 2.3.21-2
libatk1.0-0 (>= 1.12.4) | 2.4.0-2
libc6 (>= 2.7) | 2.13-35
libcairo2 (>= 1.2.4) | 1.12.2-2
libfontconfig1 (>= 2.8.0) | 2.9.0-6
libfreetype6 (>= 2.2.1) | 2.4.9-1
libgdk-pixbuf2.0-0 (>= 2.22.0) | 2.26.1-1
libglib2.0-0 (>= 2.24.0) | 2.32.3-1
libgtk2.0-0 (>= 2.12.0) | 2.24.10-1
libpango1.0-0 (>= 1.18.0) | 1.30.0-1
libpng12-0 (>= 1.2.13-4) | 1.2.49-2
libxml2 (>= 2.7.4) | 2.8.0+dfsg1-5
zlib1g (>= 1:1.1.4) | 1:1.2.7.dfsg-13
dia-common (= 0.97.2-8) | 0.97.2-8
dia-libs (= 0.97.2-8) | 0.97.2-8
Recommends (Version) | Installed
==========================-+-===========
gsfonts-x11 | 0.22
Package's Suggests field is empty.
--
En droit pénal français, un acte de piraterie est « le fait de s'emparer ou de
prendre le contrôle par violence ou menace de violence d'un aéronef, d'un
navire ou de tout autre moyen de transport à bord desquels des personnes ont
pris place, ainsi que d'une plate-forme fixe située sur le plateau continental
» (Article L.224-6).
Landry MINOZA
landry.minoza at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.zip
Type: application/zip
Size: 33340 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dia-team/attachments/20120726/93ace5f1/attachment-0002.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace2.zip
Type: application/zip
Size: 3219 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dia-team/attachments/20120726/93ace5f1/attachment-0003.zip>
More information about the Pkg-dia-team
mailing list