conflict between skype and scim

Asked by IkimashoZ

I have not been able to run skype since setting up the scim to be the default im for ubuntu. I have found a number of forum posts on this issue, the accepted solution to which seems to be to enter

XMODIFIERS=@im=none QT_IM_MODULE=xim skype

into the terminal. However, at least on my system, this allows skype to run as long as the terminal remains open. How do I make xim the IM module for Skype permanently?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
IkimashoZ
Solved:
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

Maybe you could add these lines in you .xinitrc file, so the variables are defined when your X session is openned (it'll only work for your session ... If you want a more global solution, just post back ;))

It's done by:
- gedit ~/.xinitrc
- copy-paste of the line you mentionned
- save
- CTRL-ALT-Backspace (this will close your session, so quit your current work before doing this)

Hope this helps !

Regards,
Benoît

Revision history for this message
IkimashoZ (ikimashoz) said :
#2

Benoît,

Unfortunately, your suggestion did not work for me. After CTRL-ALT-Backspacing, I still could not get Skype to load. The only noticible effect was that my desktop background disappeared. It was a very easy matter to restore the background, but I still do not have access to Skype.

I checked the .xinitrc file again, and the line is still there. Also, I can still get Skype up and running by typing the aforementioned line into the terminal, but of course, it disappears when the terminal does.

Any idea what the trouble might be?

- Matt

Revision history for this message
Benoit Malet (benoit-malet) said :
#3

Hello !

I didn't understand the problem correctly (thaught you altered some config in terminal and then launched skype) ... You can delete the line in .xinitrc ...

Is Skype available in the menu ? If so, you can edit the command behind the menu entry so that it matches the correct line you found ... (there should be a menu editing tool somewhere)

Hope this solves your problem !

Regards,
Benoît

Revision history for this message
Best IkimashoZ (ikimashoz) said :
#4

An individual replied to my question on another board, and their suggestion worked. I thought I'd post it here.

This solution just use bash file to call skype for you, and in that bash file you just add the above command. (with this solution, you can use start session to start skype for you as usual.)
1.) Rename /usr/bin/skype to /usr/bin/skypy0
$ sudo mv /usr/bin/skype /usr/bin/skype0
2.) Make new file call "skype" in /usr/bin
$ sudo gedit /usr/bin/skype

********************in the file***************************

#/bin/bash

export LANG=c
#Call to original skype file that you just rename
QT_IM_MODULE=xim skype0

*********************end file*****************************

3.) Change permission of "skype" to executable.
$ sudo chmod 755 /usr/bin/skype

Now you just start skype normally just like you do before.