16
submitted 3 months ago* (last edited 3 months ago) by dwawlyn@lemmy.world to c/kde@lemmy.kde.social

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

]

you are viewing a single comment's thread
view the rest of the comments
[-] dwawlyn@lemmy.world 2 points 3 months ago* (last edited 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 1 points 3 months ago* (last edited 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 ...
[-] diazona@techhub.social 1 points 3 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.

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

KDE

5397 readers
139 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