Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
general weirdness (strange delay)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1523

PostPosted: Fri Dec 18, 2015 7:50 pm    Post subject: general weirdness (strange delay) Reply with quote

Running kde (4).

If I select okular from the menu, the window comes up immediately.

If I type "okular" in konsole, the window comes up immediately.

In both of the above cases, I can select open, and then choose any file, and it will open immediately.

However, if I type (from konsole) "okular any_file.pdf", it literally takes more than two minutes for the window to come up (this has not NORMALLY been the case - it is something to do with the condition of my machine right now, and I have no idea what). Any ideas what is going on? Thanks in advance.
Back to top
View user's profile Send private message
acmondor
n00b
n00b


Joined: 08 Aug 2014
Posts: 35
Location: Canadian Prairies

PostPosted: Sun Dec 20, 2015 2:47 pm    Post subject: Reply with quote

Whenever I encounter a problem like this I use strace to get more clues as to what might be going on.

Code:
$  strace okular any_file.pdf


There will be tons of output so its a good idea to redirect it to a file.

Code:
$  strace -tT okular any_file.pdf > strace-okular.log 2>&1


Or use tee if you want to see the output as its write to the log file.

Code:
$  strace -tT okular any_file.pdf | tee strace-okular.log 2>&1


Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum