State of Okular in Ubuntu 17.10?
With Ubuntu 17.10, Okular (installed through the Ubuntu repositories, i. e. apt install okular
) seems to work a lot worse than in previous versions. This is both on Wayland and on the X session. Here is a screenshot:
For example: As you can see, only the item “Contents” in the left sidebar has an icon. The other ones (“Thumbnails”, “Reviews”, “Bookmarks”) should have icons as well (see e. g. this screenshot).
Moreover, when I open Okular from the Terminal, I get a bunch of output:
inotify_add_watch("/home/user/.config/ibus/bus/9f77c45ee0ec4b6a89aaaa7669ff56c1-unix-0") failed: "No space left on device"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
The messages about the icon theme might be related to the missing icons. The first line apparently means that the limit of inotify watches has been reached – why is that happening?
Lastly, the UI theme looks nothing like other applications in Ubuntu (I guess this is a problem with Qt applications in general?) – look at the scroll bars, for example. I suppose this has to do with the move back to GNOME? It used to be much better in Ubuntu versions before 17.10.
Is there any way to fix/work around these issues?
As another data point, there is the question “Okular instances do not group under single icon in desktop dock on Ubuntu 17.10”, but that already has a solution in the link.
17.10 icons kde qt okular
|
show 2 more comments
With Ubuntu 17.10, Okular (installed through the Ubuntu repositories, i. e. apt install okular
) seems to work a lot worse than in previous versions. This is both on Wayland and on the X session. Here is a screenshot:
For example: As you can see, only the item “Contents” in the left sidebar has an icon. The other ones (“Thumbnails”, “Reviews”, “Bookmarks”) should have icons as well (see e. g. this screenshot).
Moreover, when I open Okular from the Terminal, I get a bunch of output:
inotify_add_watch("/home/user/.config/ibus/bus/9f77c45ee0ec4b6a89aaaa7669ff56c1-unix-0") failed: "No space left on device"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
The messages about the icon theme might be related to the missing icons. The first line apparently means that the limit of inotify watches has been reached – why is that happening?
Lastly, the UI theme looks nothing like other applications in Ubuntu (I guess this is a problem with Qt applications in general?) – look at the scroll bars, for example. I suppose this has to do with the move back to GNOME? It used to be much better in Ubuntu versions before 17.10.
Is there any way to fix/work around these issues?
As another data point, there is the question “Okular instances do not group under single icon in desktop dock on Ubuntu 17.10”, but that already has a solution in the link.
17.10 icons kde qt okular
1
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packagesoxygen-icon-theme
andoxygen5-icon-theme
, with no effect.
– Socob
Jan 25 '18 at 0:33
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
You can try to play withqtconfig-qt4
.
– N0rbert
Jan 25 '18 at 9:52
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02
|
show 2 more comments
With Ubuntu 17.10, Okular (installed through the Ubuntu repositories, i. e. apt install okular
) seems to work a lot worse than in previous versions. This is both on Wayland and on the X session. Here is a screenshot:
For example: As you can see, only the item “Contents” in the left sidebar has an icon. The other ones (“Thumbnails”, “Reviews”, “Bookmarks”) should have icons as well (see e. g. this screenshot).
Moreover, when I open Okular from the Terminal, I get a bunch of output:
inotify_add_watch("/home/user/.config/ibus/bus/9f77c45ee0ec4b6a89aaaa7669ff56c1-unix-0") failed: "No space left on device"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
The messages about the icon theme might be related to the missing icons. The first line apparently means that the limit of inotify watches has been reached – why is that happening?
Lastly, the UI theme looks nothing like other applications in Ubuntu (I guess this is a problem with Qt applications in general?) – look at the scroll bars, for example. I suppose this has to do with the move back to GNOME? It used to be much better in Ubuntu versions before 17.10.
Is there any way to fix/work around these issues?
As another data point, there is the question “Okular instances do not group under single icon in desktop dock on Ubuntu 17.10”, but that already has a solution in the link.
17.10 icons kde qt okular
With Ubuntu 17.10, Okular (installed through the Ubuntu repositories, i. e. apt install okular
) seems to work a lot worse than in previous versions. This is both on Wayland and on the X session. Here is a screenshot:
For example: As you can see, only the item “Contents” in the left sidebar has an icon. The other ones (“Thumbnails”, “Reviews”, “Bookmarks”) should have icons as well (see e. g. this screenshot).
Moreover, when I open Okular from the Terminal, I get a bunch of output:
inotify_add_watch("/home/user/.config/ibus/bus/9f77c45ee0ec4b6a89aaaa7669ff56c1-unix-0") failed: "No space left on device"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
The messages about the icon theme might be related to the missing icons. The first line apparently means that the limit of inotify watches has been reached – why is that happening?
Lastly, the UI theme looks nothing like other applications in Ubuntu (I guess this is a problem with Qt applications in general?) – look at the scroll bars, for example. I suppose this has to do with the move back to GNOME? It used to be much better in Ubuntu versions before 17.10.
Is there any way to fix/work around these issues?
As another data point, there is the question “Okular instances do not group under single icon in desktop dock on Ubuntu 17.10”, but that already has a solution in the link.
17.10 icons kde qt okular
17.10 icons kde qt okular
edited Jan 26 '18 at 9:24
Socob
asked Jan 24 '18 at 23:42
SocobSocob
273312
273312
1
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packagesoxygen-icon-theme
andoxygen5-icon-theme
, with no effect.
– Socob
Jan 25 '18 at 0:33
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
You can try to play withqtconfig-qt4
.
– N0rbert
Jan 25 '18 at 9:52
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02
|
show 2 more comments
1
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packagesoxygen-icon-theme
andoxygen5-icon-theme
, with no effect.
– Socob
Jan 25 '18 at 0:33
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
You can try to play withqtconfig-qt4
.
– N0rbert
Jan 25 '18 at 9:52
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02
1
1
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packages
oxygen-icon-theme
and oxygen5-icon-theme
, with no effect.– Socob
Jan 25 '18 at 0:33
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packages
oxygen-icon-theme
and oxygen5-icon-theme
, with no effect.– Socob
Jan 25 '18 at 0:33
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
You can try to play with
qtconfig-qt4
.– N0rbert
Jan 25 '18 at 9:52
You can try to play with
qtconfig-qt4
.– N0rbert
Jan 25 '18 at 9:52
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02
|
show 2 more comments
3 Answers
3
active
oldest
votes
My current status:
Missing icons: I found a solution to this in a comment on Launchpad bug #1698656 (“navigation panel icons missing on standard install of 17.04”):
As a workaround, what worked for me was:
$ sudo apt install systemsettings kde-config-gtk-style kde-config-gtk-style-preview oxygen-icon-theme
systemsettings for the app systemsettings5;
kde-config-gtk-style enables the Appearance module in systemsettings5;
kde-config-gtk-style-preview allows previewing the themes without restarting the GTK applications;
oxygen-icon-theme is an alternative theme to use in KDE applications.
Then, run systemsettings5, click on Application Style, select Oxygen
as a Fallback theme, click on Apply.
I used “Breeze” instead of “Oxygen” as a fallback theme, though (because I like it more).
Error messages on the terminal: Still unsolved, although the issue of running out of inotify watches seems to have disappeared?
Inconsistent UI theme (e. g. scroll bars): Still unsolved.
add a comment |
Using a fresh install of Ubuntu 17.10, I also tried installing using sudo apt install okular
and received the same issue as you have reported.
However, it does appear to work if it is installed as a snap.
Remove the currently installed okular:
sudo apt remove okular
Install as a snap:
sudo snap install okular
Trying to run okular from the terminal then gives the following:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands: snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug
kde-frameworks-5:kde-frameworks-5-slot
Connect okular to the kde frameworks snap:
sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
Running okular then gives the following:
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
add a comment |
Install qt5ct:
sudo apt install qt5ct
Run:
qt5ct --platformtheme qt5ct
and set the icon-theme to breeze. (You may do other modifications as you wish)
Set the appropriate evironment variable:
sudo nano /etc/environment
and add this line:
QT_QPA_PLATFORMTHEME="qt5ct"
Reboot.
If this doesn't work continue with the following:
Then copy the okular .desktop file to your home folder:
cp /usr/share/applications/org.kde.okular.desktop ~/.local/share/applications
Modify the copied .desktop file by changing the line:
Exec=okular %U
to
Exec=okular --platformtheme qt5ct %U
Open the ~/.local/share/applications
folder in Files and run Okular. It will ask you to trust the application the first time.
Done.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f999551%2fstate-of-okular-in-ubuntu-17-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
My current status:
Missing icons: I found a solution to this in a comment on Launchpad bug #1698656 (“navigation panel icons missing on standard install of 17.04”):
As a workaround, what worked for me was:
$ sudo apt install systemsettings kde-config-gtk-style kde-config-gtk-style-preview oxygen-icon-theme
systemsettings for the app systemsettings5;
kde-config-gtk-style enables the Appearance module in systemsettings5;
kde-config-gtk-style-preview allows previewing the themes without restarting the GTK applications;
oxygen-icon-theme is an alternative theme to use in KDE applications.
Then, run systemsettings5, click on Application Style, select Oxygen
as a Fallback theme, click on Apply.
I used “Breeze” instead of “Oxygen” as a fallback theme, though (because I like it more).
Error messages on the terminal: Still unsolved, although the issue of running out of inotify watches seems to have disappeared?
Inconsistent UI theme (e. g. scroll bars): Still unsolved.
add a comment |
My current status:
Missing icons: I found a solution to this in a comment on Launchpad bug #1698656 (“navigation panel icons missing on standard install of 17.04”):
As a workaround, what worked for me was:
$ sudo apt install systemsettings kde-config-gtk-style kde-config-gtk-style-preview oxygen-icon-theme
systemsettings for the app systemsettings5;
kde-config-gtk-style enables the Appearance module in systemsettings5;
kde-config-gtk-style-preview allows previewing the themes without restarting the GTK applications;
oxygen-icon-theme is an alternative theme to use in KDE applications.
Then, run systemsettings5, click on Application Style, select Oxygen
as a Fallback theme, click on Apply.
I used “Breeze” instead of “Oxygen” as a fallback theme, though (because I like it more).
Error messages on the terminal: Still unsolved, although the issue of running out of inotify watches seems to have disappeared?
Inconsistent UI theme (e. g. scroll bars): Still unsolved.
add a comment |
My current status:
Missing icons: I found a solution to this in a comment on Launchpad bug #1698656 (“navigation panel icons missing on standard install of 17.04”):
As a workaround, what worked for me was:
$ sudo apt install systemsettings kde-config-gtk-style kde-config-gtk-style-preview oxygen-icon-theme
systemsettings for the app systemsettings5;
kde-config-gtk-style enables the Appearance module in systemsettings5;
kde-config-gtk-style-preview allows previewing the themes without restarting the GTK applications;
oxygen-icon-theme is an alternative theme to use in KDE applications.
Then, run systemsettings5, click on Application Style, select Oxygen
as a Fallback theme, click on Apply.
I used “Breeze” instead of “Oxygen” as a fallback theme, though (because I like it more).
Error messages on the terminal: Still unsolved, although the issue of running out of inotify watches seems to have disappeared?
Inconsistent UI theme (e. g. scroll bars): Still unsolved.
My current status:
Missing icons: I found a solution to this in a comment on Launchpad bug #1698656 (“navigation panel icons missing on standard install of 17.04”):
As a workaround, what worked for me was:
$ sudo apt install systemsettings kde-config-gtk-style kde-config-gtk-style-preview oxygen-icon-theme
systemsettings for the app systemsettings5;
kde-config-gtk-style enables the Appearance module in systemsettings5;
kde-config-gtk-style-preview allows previewing the themes without restarting the GTK applications;
oxygen-icon-theme is an alternative theme to use in KDE applications.
Then, run systemsettings5, click on Application Style, select Oxygen
as a Fallback theme, click on Apply.
I used “Breeze” instead of “Oxygen” as a fallback theme, though (because I like it more).
Error messages on the terminal: Still unsolved, although the issue of running out of inotify watches seems to have disappeared?
Inconsistent UI theme (e. g. scroll bars): Still unsolved.
answered Feb 12 '18 at 10:27
SocobSocob
273312
273312
add a comment |
add a comment |
Using a fresh install of Ubuntu 17.10, I also tried installing using sudo apt install okular
and received the same issue as you have reported.
However, it does appear to work if it is installed as a snap.
Remove the currently installed okular:
sudo apt remove okular
Install as a snap:
sudo snap install okular
Trying to run okular from the terminal then gives the following:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands: snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug
kde-frameworks-5:kde-frameworks-5-slot
Connect okular to the kde frameworks snap:
sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
Running okular then gives the following:
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
add a comment |
Using a fresh install of Ubuntu 17.10, I also tried installing using sudo apt install okular
and received the same issue as you have reported.
However, it does appear to work if it is installed as a snap.
Remove the currently installed okular:
sudo apt remove okular
Install as a snap:
sudo snap install okular
Trying to run okular from the terminal then gives the following:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands: snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug
kde-frameworks-5:kde-frameworks-5-slot
Connect okular to the kde frameworks snap:
sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
Running okular then gives the following:
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
add a comment |
Using a fresh install of Ubuntu 17.10, I also tried installing using sudo apt install okular
and received the same issue as you have reported.
However, it does appear to work if it is installed as a snap.
Remove the currently installed okular:
sudo apt remove okular
Install as a snap:
sudo snap install okular
Trying to run okular from the terminal then gives the following:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands: snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug
kde-frameworks-5:kde-frameworks-5-slot
Connect okular to the kde frameworks snap:
sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
Running okular then gives the following:
Using a fresh install of Ubuntu 17.10, I also tried installing using sudo apt install okular
and received the same issue as you have reported.
However, it does appear to work if it is installed as a snap.
Remove the currently installed okular:
sudo apt remove okular
Install as a snap:
sudo snap install okular
Trying to run okular from the terminal then gives the following:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands: snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug
kde-frameworks-5:kde-frameworks-5-slot
Connect okular to the kde frameworks snap:
sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
Running okular then gives the following:
answered Jan 26 '18 at 17:35
gsxrukgsxruk
955138
955138
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
add a comment |
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
1
1
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Thanks, but the current version of the Okular snap has a host of other problems, like being unable to access files outside the user’s home directory or any printers. Also, there were still some icons missing in “Settings → Configure Okular”.
– Socob
Feb 12 '18 at 10:19
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
Yeah, promising and pretty, but snap's Okular just crashed when I tried to save an annotated PDF
– rdrey
May 24 '18 at 20:25
add a comment |
Install qt5ct:
sudo apt install qt5ct
Run:
qt5ct --platformtheme qt5ct
and set the icon-theme to breeze. (You may do other modifications as you wish)
Set the appropriate evironment variable:
sudo nano /etc/environment
and add this line:
QT_QPA_PLATFORMTHEME="qt5ct"
Reboot.
If this doesn't work continue with the following:
Then copy the okular .desktop file to your home folder:
cp /usr/share/applications/org.kde.okular.desktop ~/.local/share/applications
Modify the copied .desktop file by changing the line:
Exec=okular %U
to
Exec=okular --platformtheme qt5ct %U
Open the ~/.local/share/applications
folder in Files and run Okular. It will ask you to trust the application the first time.
Done.
add a comment |
Install qt5ct:
sudo apt install qt5ct
Run:
qt5ct --platformtheme qt5ct
and set the icon-theme to breeze. (You may do other modifications as you wish)
Set the appropriate evironment variable:
sudo nano /etc/environment
and add this line:
QT_QPA_PLATFORMTHEME="qt5ct"
Reboot.
If this doesn't work continue with the following:
Then copy the okular .desktop file to your home folder:
cp /usr/share/applications/org.kde.okular.desktop ~/.local/share/applications
Modify the copied .desktop file by changing the line:
Exec=okular %U
to
Exec=okular --platformtheme qt5ct %U
Open the ~/.local/share/applications
folder in Files and run Okular. It will ask you to trust the application the first time.
Done.
add a comment |
Install qt5ct:
sudo apt install qt5ct
Run:
qt5ct --platformtheme qt5ct
and set the icon-theme to breeze. (You may do other modifications as you wish)
Set the appropriate evironment variable:
sudo nano /etc/environment
and add this line:
QT_QPA_PLATFORMTHEME="qt5ct"
Reboot.
If this doesn't work continue with the following:
Then copy the okular .desktop file to your home folder:
cp /usr/share/applications/org.kde.okular.desktop ~/.local/share/applications
Modify the copied .desktop file by changing the line:
Exec=okular %U
to
Exec=okular --platformtheme qt5ct %U
Open the ~/.local/share/applications
folder in Files and run Okular. It will ask you to trust the application the first time.
Done.
Install qt5ct:
sudo apt install qt5ct
Run:
qt5ct --platformtheme qt5ct
and set the icon-theme to breeze. (You may do other modifications as you wish)
Set the appropriate evironment variable:
sudo nano /etc/environment
and add this line:
QT_QPA_PLATFORMTHEME="qt5ct"
Reboot.
If this doesn't work continue with the following:
Then copy the okular .desktop file to your home folder:
cp /usr/share/applications/org.kde.okular.desktop ~/.local/share/applications
Modify the copied .desktop file by changing the line:
Exec=okular %U
to
Exec=okular --platformtheme qt5ct %U
Open the ~/.local/share/applications
folder in Files and run Okular. It will ask you to trust the application the first time.
Done.
edited Mar 21 at 13:23
answered Mar 20 at 15:00
To DoTo Do
8,74195092
8,74195092
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f999551%2fstate-of-okular-in-ubuntu-17-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Okular, is neither gnome nor Qt. It is KDE and plasma. And I belive it requires the KDE oxygen theme.
– ravery
Jan 25 '18 at 0:07
@ravery Well, isn’t KDE built on Qt (just like GNOME is on GTK)? I’ve tried installing the packages
oxygen-icon-theme
andoxygen5-icon-theme
, with no effect.– Socob
Jan 25 '18 at 0:33
maybe it is Qt on plasma; but anyway, are you using Wayland (default) or Xorg. I don't think KDE plays well with Wayland yet.
– ravery
Jan 25 '18 at 0:42
You can try to play with
qtconfig-qt4
.– N0rbert
Jan 25 '18 at 9:52
Could you update the question to include the method you used to install it?
– gsxruk
Jan 25 '18 at 16:02