experchange > ubuntu

au76666 (11-27-18, 12:10 PM)
I am running Ubuntu 16.04 here at work, and when I ask
a script to use okular, get a long series of complaints,
starting with

(okular:5517): Gtk-WARNING **: Unable to locate theme engine in
module_path: "hcengine",
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
....

and more. It all works though, I do see the pdf I want to see.

What is this due to, what is deprecated, and what can I do about it?
Paul (11-27-18, 04:26 PM)
au76666 wrote:
[..]
> ...
> and more. It all works though, I do see the pdf I want to see.
> What is this due to, what is deprecated, and what can I do about it?


Usage of accessibility theme. hc = High Contrast.

sudo apt install gtk-engines

"This package contains the "engines" that hide behind the themes for
GTK+ and GNOME applications. They redefine the way GTK+ widgets are
drawn. The package includes the following engines:
* Clearlooks, the default GNOME theme, based on Bluecurve;
* Crux, formerly known as the Eazel engine;
* High contrast, which is used by some accessibility themes; <====
* Industrial, the famous engine from Novell (formerly Ximian);
* LighthouseBlue, another engine based on Bluecurve;
* Metal, which gives a metallic look;
* Mist, a flat and high performance engine;
* Redmond95, which provides a look similar to that of Windows;
* ThinIce."

In Appearance, if I change to Theme=HighContrast, I get

"(kdeinit4: kded4 [kdeinit]:5102): Gtk-WARNING **:
Unable to locate theme engine in module_path: "hcengine",
"

And then it's possible the "gtk-engines" would solve that.

I didn't test this. The High Contrast theme is a little too bright
for my tastes :-) I switched it back.

Paul
au76666 (11-28-18, 03:16 PM)
On Tue, 27 Nov 2018 09:26:48 -0500, Paul wrote:

> au76666 wrote:
> Usage of accessibility theme. hc = High Contrast.
> sudo apt install gtk-engines


Thank you, will do that.

But, if that leads to what you describe,
[...}

> I didn't test this. The High Contrast theme is a little too bright for
> my tastes :-) I switched it back.


If I too am unhappy at the result, how do I switch it back, without
getting all those warn‌ings? Or must I remove gtk-engines again?
Paul (11-28-18, 04:12 PM)
au76666 wrote:
> On Tue, 27 Nov 2018 09:26:48 -0500, Paul wrote:
> Thank you, will do that.
> But, if that leads to what you describe,
> [...}
> If I too am unhappy at the result, how do I switch it back, without
> getting all those warn‌ings? Or must I remove gtk-engines again?


When you switch back to the default theme of Ambience,
the hcengine (High Contrast) is no longer used, and
just... sits there. There's no need to remove it.

Installing gtk-engines, makes you "ready for anything"
in a sense. But if you don't need a theme engine, they
just sit there wasting disk space. Not a problem.

And for some reason, when I attempted to modify the
Okular preferences, I got slightly different stuff
dumped into the console. (You know, when you start
okular manually.) I wasn't seeing quite as many
gtk messages. The screen still isn't clean though.

Paul
db (12-01-18, 02:46 PM)
On Tue, 27 Nov 2018 09:26:48 -0500, Paul wrote:

[..]
> I didn't test this. The High Contrast theme is a little too bright for
> my tastes :-) I switched it back.
> Paul


Tried that:

~> sudo apt install gtk-engines
[sudo] password for db:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gtk-engines

What now? I remember there is another way to find
stuff than "install", but can't remember what to type
in.
Wildman (12-01-18, 05:59 PM)
On Sat, 01 Dec 2018 12:46:17 +0000, db wrote:

[..]
> What now? I remember there is another way to find
> stuff than "install", but can't remember what to type
> in.


Try gtk2-engines.
Jonathan N. Little (12-01-18, 06:09 PM)
Wildman wrote:
> On Sat, 01 Dec 2018 12:46:17 +0000, db wrote:
> Try gtk2-engines.


For future reference:

apt-cache search gtk | grep engines
gtk2-engines-murrine - cairo-based gtk+-2.0 theme engine
gtk2-engines - theme engines for GTK+ 2.x
gtk2-engines-aurora - Aurora gtk+-2.0 theme engine
gtk2-engines-blueheart - Blueheart GTK+ 2.x Theme
gtk2-engines-cleanice - CleanIce themes for GTK+ 2.x
gtk2-engines-equinox - Equinox GTK+ theme engine
gtk2-engines-magicchicken - Magic Chicken themes for GTK+ 2.x
gtk2-engines-moblin - gtk2 engines for moblin
gtk2-engines-nodoka - Nodoka theme engine for GTK+ 2.x
gtk2-engines-oxygen - Oxygen widget theme for GTK+-based applications
gtk2-engines-pixbuf - pixbuf-based theme for GTK+ 2.x
gtk2-engines-qtcurve - QtCurve widget style for applications based on
GTK+ 2.x
gtk2-engines-sugar - Sugar Learning Platform - GTK+ 2.x theme engine
gtk2-engines-wonderland - Wonderland theme for GTK+-2.0
gtk2-engines-xfce - GTK+-2.0 theme engine for Xfce
gtk3-engines-breeze - GTK theme built to match KDE's Breeze
gtk3-engines-unico - Unico Gtk+ 3 theme engine
gtk3-engines-xfce - GTK+-3.0 theme engine for Xfce
Paul (12-01-18, 07:14 PM)
db wrote:
[..]
> What now? I remember there is another way to find
> stuff than "install", but can't remember what to type
> in.


Sorry for my lack of precision. According to the
website, gtk2-engines is in Main.



Paul
DLUNU (12-01-18, 07:22 PM)
"Jonathan N. Little" <lws4art> wrote in
news:ptubnj$igg$1:

[..]
> gtk3-engines-breeze - GTK theme built to match KDE's Breeze
> gtk3-engines-unico - Unico Gtk+ 3 theme engine
> gtk3-engines-xfce - GTK+-3.0 theme engine for Xfce


Wasn't "Oxygen" one of the ones which allowed one to make pixel level
border size adjustments?

I miss that and with a 4K display getting a grab at the corner or edge
of a window sucks with this current OOTB shtuff.
db (12-06-18, 01:47 PM)
On Sat, 01 Dec 2018 09:59:11 -0600, Wildman wrote:

> On Sat, 01 Dec 2018 12:46:17 +0000, db wrote:
> Try gtk2-engines.


Thanks, that did the trick.
Similar Threads