You are not logged in.
Pages: 1
Hi
I've run into a problem while trying to run SCIM ( http://wiki.archlinux.org/index.php/Scim ) *after* i have started X and my wm.
This just won't work.
I used to have those lines in my .xinitrc
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d
Now if i run those lines in a terminal in X it won't work, as those variables are not exported to the X environment.
Is there anyway to do that? Or does anyone know howto start SCIM after wm?
Thanks in advance
Offline
You just need to start the applications from a shell where you have set the environment variables. You could also use gdb to set the variables in the currently running WM (or whatever program you use to launch them, like xbindkeys)
gdb_set_IM_vars.txt
call putenv("XMODIFIERS=@im=SCIM")
call putenv("GTK_IM_MODULE=scim")
call putenv("QT_IM_MODULE=scim")
detach
quit
gdb xbindkeys $(pgrep xbindkeys) --command=gdb_set_IM_vars.txt
Offline
Thanks for your advice!
At the moment I'm not using xbindkeys, I launch applications through awesome wm, but I think I'll be able to work out the rest to my satisfaction
Offline
Pages: 1