this post was submitted on 13 Aug 2024
16 points (100.0% liked)

KDE

5305 readers
82 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

My Okular settings are messed up (menus are broken, details probably not important to describe).

I tried purging the package and reinstalling,
tried clearing okular files from "~/.config",
got no relevant output opening from terminal,
saw nothing in man page bout getting more feedback...?

What do?

I couldn't find anything on the man page about, like, a flag to get it to tell you what files it's reading when it starts up or anything like that?
(
the only output I get when I open it from the commandline is:

Unable to open QuickAnnotatingTools XML definition
kf.xmlgui: Shortcut for action "mainToolBar" "Show Toolbar" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

)


[ btw, wasn't sure where to post this, so did three copies:

https://www.reddit.com/r/kde/comments/1erm5zc/my_okular_settings_are_messed_up_what_do_tried/

https://lemmy.world/post/18617509

https://discuss.kde.org/t/my-okular-settings-are-messed-up-tried-purging-the-package-tried-clearing-okular-files-from-config-no-relevant-output-opening-from-terminal-nothing-in-man-page-bout-getting-more-feedback/20012

]

top 6 comments
sorted by: hot top controversial new old
[–] 418teapot 5 points 3 months ago* (last edited 3 months ago) (1 children)

I would probably try running

strace okular | grep openat

to see all the files it's trying to read and see if any aren't managed by your package manager and move those.

But the latest reply by felixernst in the kde discuss also looks helpful.

[–] dwawlyn 2 points 3 months ago* (last edited 3 months ago) (1 children)

Oooh! Now that's a new idea! Thank you!

... uh, any tips on how to filter/process the output? There's like a bazillion lines going on about breeze-dark icons etc...

[–] 418teapot 1 points 3 months ago* (last edited 3 months ago) (1 children)

Oof yeah, some programs really love to touch a lot of stuff making strace kind of annoying to use. I usually end up chaining more grep -v pipes on the end as I find files I'm not interested in seeing e.g.

strace okular | grep openat | grep -v breeze-dark | grep -v icon

Might help to first save it to a file so you don't have to keep relaunching okular as you add more inverse greps

strace okular | tee some-file
^C
cat some-file | grep -v ...
[–] [email protected] 2 points 2 months ago

@418teapot @dwawlyn BTW strace has some built-in filtering, e.g. strace --trace=openat instead of grepping for openat. Might make it a little easier.

[–] eager_eagle 4 points 3 months ago (1 children)

on my system I also have

~/.local/share/okular

but idk if clearing it is useful

[–] dwawlyn 1 points 3 months ago

Thanks! But a few people already said that, and mv ~/.local/share/okular/ ~/.local/share/okular.bak didn't have any effect.