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

]

  • 418teapot@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 months ago

    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@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      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@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        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 ...