You are not logged in.

#1 2009-02-21 00:13:14

sokuban
Member
Registered: 2006-11-11
Posts: 412

Scim makes leafpad take a while to load, except when run from terminal

Leafpad normally loads up in an instant. But with scim running (More specifically with the required environment variables exported. Scim simply running without the environment variables does not cause the problem, but then scim does not work.), although it shows up immediately, the scrollbar, menubar etc are greyed out for a few seconds and the program cannot be used until it is fully loaded.

I'm sure this is specifically a leafpad problem, because there is no noticable lag in other programs. (Mousepad for example is fine.) However, the fact that it loads immediately when run from a terminal scares me. Why doesn't gmrun (and the fvwm menu) work just like a terminal? Is there a possible fix to this problem?

Offline

#2 2009-02-21 00:26:28

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Scim makes leafpad take a while to load, except when run from terminal

Can you run an strace on it?

strace gmrun, etc.

Offline

#3 2009-02-21 01:24:31

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: Scim makes leafpad take a while to load, except when run from terminal

I did that but the output is huge. 10685 lines. Too big for pastebin even:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 128 bytes) in /home/pastebin/lib/geshi/geshi.php on line 2729

Offline

#4 2009-02-21 01:42:07

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Scim makes leafpad take a while to load, except when run from terminal

I'm not having this problem as far as i can see, I use fvwm and scim already so installed leafpad to test and it starts instantly from fvwm's menu or terminal.
from gmrun leafpad starts instantly too so maybe i'm missing something.

what are you exporting?

Last edited by droog (2009-02-21 01:51:04)

Offline

#5 2009-02-21 02:12:58

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: Scim makes leafpad take a while to load, except when run from terminal

droog wrote:

I'm not having this problem as far as i can see, I use fvwm and scim already so installed leafpad to test and it starts instantly from fvwm's menu or terminal.
from gmrun leafpad starts instantly too so maybe i'm missing something.

what are you exporting?

Just the normal:

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

Offline

Board footer

Powered by FluxBB