How to fix graphical issues with Skype, Gdk-WARNING?

Got this problem with 2 simultaneous PyCharms running. So closing them is not a reasonable solution for me. Using raus81's advice edited skype dash link:

sudo gedit /usr/share/applications/skype.desktop

change

Exec=skype %U

to

Exec=env "QT_X11_NO_MITSHM=1" skype %U

It's a QT related problem, I fixed running skype with QT_X11_NO_MITSHM=1

Start from shell:

QT_X11_NO_MITSHM=1 skype

As AJefferiss suggested I executed a command:

ipcs -mp

I found a "pid" of last process and executed:

ps aux | grep "pid"

It was PyCharm, I was running 2 instances of this IDE. After I disabled one of them, Skype issue was resolved.