Discussion:
error message on okular & screensaver
(too old to reply)
eho
2021-12-12 16:54:21 UTC
Permalink
Hello.

Using current 64 with xfce4, when I open a pdf with okular,
it opens flawlessly, but on the terminal I get the
message:

Icon theme "gnome" not found.
Icon theme "crystalsvg" not found.

Installed every theme* from SBo.

But now, since an upgrade,
when I open the pdf and close it, above message appears.
BUT when I inside okular start presentation mode (STRG+SHIFT+P),
this comes up (command line):

org.kde.okular.ui: Unable to inhibit screensaver
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
org.freedesktop.ScreenSaver was not provided by any .service files")

Killed xfce-screensaver, which didn't work anyway, same message.

xpdf triggers no error message, but it seems to have no presentation mode.
gv : no error message.

I guess I configured something badly.
But, above all, I'd like to understand.

What has okular to do with screensaver?
Why did this message come up after an upgrade
(sadly I don't remember which)?

cheers Erich
--
c·o·m·p·e·l·l·e·i·n·t·r·a·r·e·at·p·o·s·t·e·o·.·m·e
Aragorn
2021-12-12 17:27:19 UTC
Permalink
Post by eho
BUT when I inside okular start presentation mode (STRG+SHIFT+P),
org.kde.okular.ui: Unable to inhibit screensaver
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
org.freedesktop.ScreenSaver was not provided by any .service files")
[...]
What has okular to do with screensaver?
Okular is a KDE-native application. In its presentation mode, it will
prevent the KDE-specific screensaver (or screen locker) from kicking in.

It does this by communicating with the window manager by way of qdbus,
which is a qt-specific IPC bus that KDE software uses quite extensively.
But you're running XFCE, which is entirely GTK-based.
Post by eho
Why did this message come up after an upgrade
(sadly I don't remember which)?
Probably because of a change upstream, or perhaps because of a change in
packaging.
--
With respect,
= Aragorn =
Aragorn
2021-12-13 08:01:47 UTC
Permalink
Post by Aragorn
Okular is a KDE-native application. In its presentation mode, it
will prevent the KDE-specific screensaver (or screen locker) from
kicking in.
It does this by communicating with the window manager by way of
qdbus, which is a qt-specific IPC bus that KDE software uses quite
extensively. But you're running XFCE, which is entirely GTK-based.
Thanks. That explains it. I logged into a plasma wayland session,
and the error message did not show up.
Plasma is great. Wayland, not so much yet at this point. ;)
Thus it seems that starting a kde program like okular in xfce4
generates problems, or at least error messages?
Well, most of those error messages should rather be interpreted as
warnings. They don't stop the application from working.
So that, as long as I stick to xfce4, I should avoid using kde
programs like okular.
Not necessarily. But you do have to keep in mind that the application
only performs optimally when used in the environment that it was
designed for.
Well then, another problem came up. I tried to just log out from
xfce4- session by using the "log out" button, but the screen just
froze. Had to do that manually. Is this a xfce4 or slackware current
problem?
It might just be a glitch in Current. You have to liken it somewhat to
the Testing branches of other distributions. The software is
constantly evolving, so getting it to work flawlessly is a moving
target.
Post by Aragorn
Why did this message come up after an upgrade (sadly I don't
remember which)?
Probably because of a change upstream, or perhaps because of a
change in packaging.
This seems to mean that a kde program will not always run under other
desktop environments?
It will, but — see higher up — not optimally. A lot also depends on
whether the application ships with a distro-specific default
configuration or not — hence my reference to the packaging.
--
With respect,
= Aragorn =
eho
2021-12-15 08:07:26 UTC
Permalink
[...]
Post by Aragorn
Thanks. That explains it. I logged into a plasma wayland session, and
the error message did not show up.
Plasma is great. Wayland, not so much yet at this point. ;)
I thought Wayland is still under development, so it might improve=

[...]
Post by Aragorn
But you do have to keep in mind that the application
only performs optimally when used in the environment that it was
designed for.
Works for me.

[...]
Post by Aragorn
It might just be a glitch in Current. You have to liken it somewhat to
the Testing branches of other distributions. The software is constantly
evolving, so getting it to work flawlessly is a moving target.
Oh, I'm not complaining. There is no perfection under the heavens, and an
OS is not a religion after all... in fact, after upgrading current today I
saw that there is a slackware64-15.0 mirror additionally to slackware64-
current, and though I think I'll swich to 15.0 stable, considering the
remarkable stability of current up to now, I'll keep it installed. It has
become a habit to regularily look into the changelogs and upgrade... ;)

[...]

Thanks a lot!

Erich


--

c·o·m·p·e·l·l·e·i·n·t·r·a·r·e·at·p·o·s·t·e·o·.·m·e
eho
2021-12-16 18:54:00 UTC
Permalink
Post by eho
[...]
Post by Aragorn
It might just be a glitch in Current.
[...]
Post by eho
Oh, I'm not complaining. There is no perfection
[...]
The glitch is gone.
As you said, it's all under development.

Or it was me who as the first person after the creation
of the world fiddlediddled something wrong himself
and my name is BSIFOTO (acronym I invented myself,
meaning "bug sitting in front of the OS" ;-)

Cheers Erich

--

c·o·m·p·e·l·l·e·i·n·t·r·a·r·e·at·p·o·s·t·e·o·.·m·e
Ander
2021-12-14 23:14:46 UTC
Permalink
Post by eho
Hello.
Using current 64 with xfce4, when I open a pdf with okular,
it opens flawlessly, but on the terminal I get the
Icon theme "gnome" not found.
Icon theme "crystalsvg" not found.
Installed every theme* from SBo.
But now, since an upgrade,
when I open the pdf and close it, above message appears.
BUT when I inside okular start presentation mode (STRG+SHIFT+P),
org.kde.okular.ui: Unable to inhibit screensaver
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
org.freedesktop.ScreenSaver was not provided by any .service files")
Killed xfce-screensaver, which didn't work anyway, same message.
xpdf triggers no error message, but it seems to have no presentation mode.
gv : no error message.
I guess I configured something badly.
But, above all, I'd like to understand.
What has okular to do with screensaver?
Why did this message come up after an upgrade
(sadly I don't remember which)?
cheers Erich
Try installing oxygen-icons (packages, not SBo). It will fix most
icon issues outside KDE if you didn't install it fully.
On the screensaver, maybe xscreensaver and the xfce4-screensaver one clash
with each other. I'd remove xscreensaver with slackpkg.
Loading...