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
]
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.
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…
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 ...
@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.
on my system I also have
~/.local/share/okular
but idk if clearing it is useful