Bug 394851 - Configure Web Shortcut Error
Summary: Configure Web Shortcut Error
Status: RESOLVED UNMAINTAINED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.26.1
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-30 08:54 UTC by Onur
Modified: 2018-06-01 08:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Photo of Configure Web Shortcut (3.67 MB, image/jpeg)
2018-05-30 10:50 UTC, Onur
Details
Appeared window after running "kcmshell5 webshortcuts" command on terminal (59.41 KB, image/png)
2018-05-31 21:01 UTC, Onur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Onur 2018-05-30 08:54:17 UTC
I want to use "Web Shortcut" in Okular by selecting a word, clicking right button of mouse and choosing desired website to search the word in the internet. However, my chosen websites are not in that shortcut and I want to add these into that shortcut. There is a option "Configure Web Shortcut" but nothing happens if I click it although it opens a setting window for the web shortcut normally (as I know). What should I do about that?

It might help but I installed a "Backends" option in Okular to read epub file via Okular before I begin to use it.
Comment 1 Kai Uwe Broulik 2018-05-30 09:27:20 UTC
I think it only lists those marked as "Preferred"
Comment 2 Onur 2018-05-30 10:50:46 UTC
Created attachment 112964 [details]
Photo of Configure Web Shortcut
Comment 3 Onur 2018-05-30 10:52:17 UTC
Really I dont understand what you mean. I attached a photo above about my problem. There I click "Configure Web Shortcut" but nothing happens as I said before. For solution, I dont know other option or menu also in Okular.
Comment 4 Kai Uwe Broulik 2018-05-30 10:56:48 UTC
oh, I see. Here clicking that button does open webshortcut settings.
Can you run kcmshell5 webshortcuts from console and see what it says?
Comment 5 Onur 2018-05-31 07:00:59 UTC
I run "kcmshell5" and "kcmshell5 webshortcuts" from console but I get "command not found". I searched and recognized that there is "kcmshell4". (By the way, I use Debian 9-Gnome Version 3.22.2). If I run "kcmshell4 webshortcuts", I get:

"kcmshell(7349)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "webshortcuts.desktop" not found
kcmshell(7349)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "kcm_webshortcuts.desktop" not found
kcmshell(7349)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "kcmwebshortcuts.desktop" not found
Could not find module 'webshortcuts'. See kcmshell4 --list for the full list of modules.
"
Comment 6 Christoph Feck 2018-05-31 19:35:02 UTC
Install kde-cli-tools, if kcmshell5 is not packaged separately.
Comment 7 Onur 2018-05-31 21:01:32 UTC
Created attachment 112991 [details]
Appeared window after running "kcmshell5 webshortcuts" command on terminal

I have installed "kde-cli-tools" and I can use kcmshell5 now. I have run "kcmshell5 webshortcuts" and I have obtained this message with a window in the attachment

(kcmshell5:2343): Gtk-WARNING **: Theme parsing error: gtk.css:2554:8: not a number

(kcmshell5:2343): Gtk-WARNING **: Theme parsing error: gtk.css:2554:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
org.kde.kurifilter-ikws: Keywords Engine: Loading config...
org.kde.kurifilter-ikws: Web Shortcuts Enabled:  true
org.kde.kurifilter-ikws: Default Shortcut:  "python"
org.kde.kurifilter-ikws: Keyword Delimiter:  :


Then, I have added a new website for web shortcuts in appeared window but I couldn't add it into Okular. Still, nothing happens after I have clicked "Configure Web Shortcuts" button in Okular.
Comment 8 Christoph Feck 2018-05-31 23:39:40 UTC
Ah wait. Your Okular is still the KDE4 version, so you indeed need to use kcmshell4. Given that it errors out on "kcmshell4 webshortcuts" means you do not have Konqueror 4.x installed. The webshortcuts kcm was part of konqueror, and was splitted into kio with the port to Frameworks 5.

Instead of installing the older Konqueror, I suggest to install a newer Okular instead. Any 1.x version should work, but more recent versions have additional fixes. Current released version is 1.3.
Comment 9 Kai Uwe Broulik 2018-06-01 08:02:11 UTC
Please try again with a 5.x based version. Closing.