On Fri, 23 Feb 2018 13:53:03 +0100, Wolfgang Bauer
Am Freitag, 23. Februar 2018, 12:30:58 schrieb H.Merijn Brand:
On Mon, 05 Feb 2018 11:35:14 +0100, Wolfgang Bauer
wrote:
But, openSUSE's ibus package forces the GNOME integration if that's installed, by setting OOO_FORCE_DESKTOP=gnome on login.
not here (using a tcsh in Plasma5 on xterm)
Well, as I already pointed out, /etc/X11/xim.d/ibus contains this: # Force OOo to use gtk-immodule # Only libreoffice-gnome supports IM module # To fix cursor following problem (on_the_spot), do not use libreoffice-kde4 if [ -e /usr/lib64/libreoffice/program/libvclplug_gtklo.so ] || [ -e /usr/lib/libreoffice/program/libvclplug_gtklo.so ] || [ -e /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so ] || [ -e /usr/lib/libreoffice/program/libvclplug_gtk3lo.so ]; then export OOO_FORCE_DESKTOP=gnome else echo "libreoffice-gnome is not found. For better IBus support, please install libreoffice-gnome" fi
I don't know whether this would show up in your "tcsh in Plasma5 on xterm" too, or what you did to check that... ;-)
% env | grep -i ooo
Hmm, wouldn't uninstall libreoffice-gtk3 not also break KDE/Plasma integration?
No. Why would you think that?
The KDE/Plasma integration is provided by libreoffice-kde4. Of course you need to have *that* installed to use it though.
$ zypper se -i libreoffice S | Name | Summary | Type ---+-------------------------------------+-------------------------------------------------------------+------------ i+ | LibreOffice Base | Database manager part of the LibreOffice productivity suite | application i+ | LibreOffice Calc | Spreadsheet program of the LibreOffice productivity suite | application i+ | LibreOffice Draw | Graphics editor part of the LibreOffice productivity suite | application i+ | LibreOffice Impress | Presentation program of the LibreOffice productivity suite | application i+ | LibreOffice Writer | Word processor part of the LibreOffice productivity suite | application i+ | libreoffice | A Free Office Suite (Framework) | package i | libreoffice-base | LibreOffice Base | package i | libreoffice-base-drivers-mysql | MySQL Database Driver for LibreOffice | package i+ | libreoffice-base-drivers-postgresql | PostgreSQL Database Driver for LibreOffice | package i | libreoffice-branding-upstream | Original Branding for LibreOffice | package i | libreoffice-calc | LibreOffice Calc | package i+ | libreoffice-calc-extensions | LibreOffice Calc Extensions | package i | libreoffice-draw | LibreOffice Draw | package i | libreoffice-filters-optional | Additional Import and Export Filters for LibreOffice | package i | libreoffice-gnome | GNOME Extensions for LibreOffice | package i+ | libreoffice-gtk3 | Gtk3 interface for LibreOffice | package i+ | libreoffice-icon-themes | LibreOffice Icon Themes | package i | libreoffice-impress | LibreOffice Impress | package i | libreoffice-kde4 | kde4 interface for LibreOffice | package i | libreoffice-l10n-en | English Localization Files for LibreOffice | package i+ | libreoffice-l10n-nl | Dutch Localization Files for LibreOffice | package i | libreoffice-mailmerge | Mail Merge Functionality for LibreOffice | package i | libreoffice-math | LibreOffice Math | package i | libreoffice-pyuno | Python UNO Bridge for LibreOffice | package i | libreoffice-share-linker | Script to link/unlink files to libreoffice home | package i | libreoffice-writer | LibreOffice Writer and Web | package i+ | libreoffice-writer-extensions | LibreOffice Writer Extensions | package i+ | libreofficekit | A library providing access to LibreOffice functionality | package
libreoffice-gtk3 contains the GTK(3) integration obviously... "This package contains Gtk3 interface rendering option for LibreOffice."
My point was that the KDE integration is never used (automatically) even if it is installed, when both libreoffice-gnome/libreoffice-gtk3 (either of them) *and* ibus are installed as well.
$ zypper se -i ibus S | Name | Summary | Type ---+----------------------------+-------------------------------------------------------------------+-------- i+ | ibus | Intelligent Input Bus for Linux OS | package i+ | ibus-branding-openSUSE-KDE | openSUSE branding for KDE | package i+ | ibus-gtk | IBus im module for gtk2 | package i+ | ibus-gtk-32bit | IBus im module for gtk2 | package i+ | ibus-gtk3 | IBus im module for gtk3 | package i | ibus-lang | Translations for package ibus | package i+ | ibus-m17n | The M17N engine for IBus platform | package i+ | ibus-qt | Qt IBus library and Qt input method plugin | package i | libibus-1_0-5 | IBus libraries | package i+ | libibus-1_0-5-32bit | IBus libraries | package i+ | libusb-0_1-4 | libusb-1.0 Compatibility Library for libusb-0.1 | package i+ | libusb-1_0-0 | USB Library | package i+ | libusb-1_0-0-32bit | USB Library | package i+ | libusb-1_0-devel | USB Library | package i+ | libusb-compat-devel | libusb-1.0 Compatibility Layer for libusb-0.1 | package i+ | libusbmuxd4 | A client library to multiplex connections from and to iOS devices | package i | libustr-1_0-1 | String library, very low memory overhead, simple to import | package i+ | typelib-1_0-IBus-1_0 | IBus libraries -- Introspection bindings | package
The latter (ibus) basically "breaks" the automatic selection in that case, as it forces libreoffice to use the GNOME integration regardless of the desktop in use.
Personally I don't care at all about Gnome desktop (integration), but this looks like cross-dependency
I don't understand. What do you mean with "cross-dependency" here?
I interpreted gtk3 as highly connected to KDE and thus being required for KDE integration. My - probably wrong - idea was that removing libreoffice-gtk3 would break KDE integration and thus removing the Gnome integration would also break KDE integration. I am/was triggered to this subject, as I have by now quite a number of wrapper scripts and aliasses like % alias oo env SAL_USE_VCLPLUGIN=gen XMODIFIERS="" ooffice !* & % cat bin/irc #!/bin/sh export LANG=en_US.UTF-8 export LC_ALL=$LANG export QT_IM_MODULE=xim export GTK_IM_MODULE=xim export XMODIFIERS= exec hexchat $@ &
Wolfgang
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.27 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/