Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685620 - media-gfx/gimp-2.10.8-r1 under KDE Plasma cannot take screenshot - Erreur d’exécution « Capture d’écran » : GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/Screenshot'
Summary: media-gfx/gimp-2.10.8-r1 under KDE Plasma cannot take screenshot - Erreur d’e...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 13:23 UTC by Christophe PEREZ
Modified: 2019-05-18 14:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2019-05-11 13:23:09 UTC
With media-gfx/gimp-2.10.8-r1 and KDE, when you try to take a screen shot (whole screen or window) you get an error :
Erreur d’exécution « Capture d’écran » :
GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/Screenshot'

Works if started by :
$ dbus-launch gimp
Comment 1 Sebastian Pipping gentoo-dev 2019-05-12 16:47:02 UTC
Hi Christophe,

Does your KDE session have dbus-launch in the background like my XFCE?

  # for i in $(pgrep dbus-launch); do cat -v /proc/$i/cmdline | sed 's,\^@, ,g' ; echo ; done
  dbus-launch --autolaunch 07412002e4320e86fbacddd400000038 --binary-syntax --close-stderr 
  /usr/bin/dbus-launch --exit-with-session /etc/X11/Sessions/Xsession

I wonder if this issue is with Gimp or with KDE.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-05-12 18:11:12 UTC
Works for me, so probably not a KDE Plasma issue.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-05-16 09:20:24 UTC
Please also add some other information, such as output of 'emerge --info', version of KDE in use, how you start your session, is DBus running, etc.
Comment 4 Christophe PEREZ 2019-05-18 14:48:56 UTC
(In reply to Sebastian Pipping from comment #1)
> Hi Christophe,
> 
> Does your KDE session have dbus-launch in the background like my XFCE?
> 
>   # for i in $(pgrep dbus-launch); do cat -v /proc/$i/cmdline | sed 's,\^@,
> ,g' ; echo ; done
>   dbus-launch --autolaunch 07412002e4320e86fbacddd400000038 --binary-syntax
> --close-stderr 
>   /usr/bin/dbus-launch --exit-with-session /etc/X11/Sessions/Xsession
> 
> I wonder if this issue is with Gimp or with KDE.

# for i in $(pgrep dbus-launch); do cat -v /proc/$i/cmdline | sed 's,\^@, ,g' ; echo ; done
dbus-launch --autolaunch 3588e3496c0ac117c358979f5c1d9eb2 --binary-syntax --close-stderr 
/usr/bin/dbus-launch --exit-with-session /usr/bin/startkde 
dbus-launch --autolaunch 3588e3496c0ac117c358979f5c1d9eb2 --binary-syntax --close-stderr
Comment 5 Christophe PEREZ 2019-05-18 14:52:02 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> Please also add some other information, such as output of 'emerge --info',
> version of KDE in use, how you start your session, is DBus running, etc.

KDE stable version in portage
session started by sddm

$ ps axf | grep dbus | grep -v grep
 1904 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 2690 ?        S      0:00      \_ /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
 2523 ?        S      0:00 dbus-launch --autolaunch 3588e3496c0ac117c358979f5c1d9eb2 --binary-syntax --close-stderr
 2524 ?        Ss     0:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
 2712 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
 2713 ?        Ss     0:04 /usr/bin/dbus-daemon --syslog --fork --print-pid 6 --print-address 8 --session
 2816 ?        Sl     0:06 /usr/bin/gmenudbusmenuproxy
 3133 ?        S      0:02  \_ /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 3241 ?        Ss     0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 6 --print-address 8 --session
25827 pts/3    S      0:00 dbus-launch --autolaunch 3588e3496c0ac117c358979f5c1d9eb2 --binary-syntax --close-stderr
25828 ?        Ss     0:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
31887 ?        Ss     0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 6 --print-address 8 --session

$ emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.3.0, glibc-2.28-r6, 4.20.17-gentoo x86_64)
=================================================================
System uname: Linux-4.20.17-gentoo-x86_64-Intel-R-_Core-TM-_i5-8600K_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:    32781420 total,  22478408 free
KiB Swap:   33560756 total,  33560756 free
Timestamp of repository gentoo: Sat, 18 May 2019 12:00:01 +0000
Head commit of repository gentoo: c50d076c3f70bd9efd5b6308ec1963d6507e881c
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
ccache version 3.6 [enabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://novazur.fr/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

novazur
    location: /var/lib/layman/novazur
    masters: gentoo
    priority: 50

robert7k
    location: /var/lib/layman/robert7k
    masters: gentoo
    priority: 50

Installed sets: @dev-android, @kde, @net_gkrellm
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.lug.udel.edu/pub/gentoo/"
LANG="fr_FR.iso885915@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl activities aim alsa amd64 audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac gdbm gif glamor gphoto2 gtk iconv imagemagick imlib jabber java jpeg kde kipi kwallet lcms ldap libnotify libsamplerate libtirpc lm_sensors mad matroska mng mp3 mp4 mpeg multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pango pcre pdf phonon plasma png policykit portaudio qml qt5 readline scanner sdl seccomp sndfile sox speex spell ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xpm xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" L10N="fr fr_FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS