View previous topic :: View next topic |
Author |
Message |
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Wed May 22, 2013 7:58 am Post subject: [solved]problem with matlab display |
|
|
Hi, I am running matlab 2012a on my laptop. It worked well before. But I don't know from when the display interface doesn't work. when I start matlab with display environment, all windows are gone (ex. commander ... including the menu bar). Actually, they are there, but the interface is grey. I can click the mouse and use the shortcut and it works but I can't see them. Matlab display environment is based on java. I don't know what I missed. I moved to awesome from xfce4, and removed nearly all packages of xfce4. Could anyone please tell me how to solve it? Thanks
Last edited by pd1986 on Wed May 22, 2013 2:00 pm; edited 1 time in total |
|
Back to top |
|
|
ExZombie Apprentice
Joined: 29 May 2004 Posts: 170
|
Posted: Wed May 22, 2013 8:21 am Post subject: |
|
|
Ah, yes, awesome . It's awesome, but some braindead programs just refuse to work well. Anyway, for matlab, there are two things you need. First is exporting LIBXCB_ALLOW_SLOPPY_LOCK=true. The other is a workaround for the fact that java requires a reparenting window manager, which awesome isn't. However, Sun used to have a non-reparenting window manager of its own, called Looking Glass I think. So if you change the name of your window manager to the appropriate string, java GUIs will work properly. You can use wmname to do that. I forget the details since I don't use awesome anymore, but now you have some keywords to google . |
|
Back to top |
|
|
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Wed May 22, 2013 8:25 am Post subject: |
|
|
ExZombie wrote: | Ah, yes, awesome . It's awesome, but some braindead programs just refuse to work well. Anyway, for matlab, there are two things you need. First is exporting LIBXCB_ALLOW_SLOPPY_LOCK=true. The other is a workaround for the fact that java requires a reparenting window manager, which awesome isn't. However, Sun used to have a non-reparenting window manager of its own, called Looking Glass I think. So if you change the name of your window manager to the appropriate string, java GUIs will work properly. You can use wmname to do that. I forget the details since I don't use awesome anymore, but now you have some keywords to google . |
So you mean it's not because that I missed some libruaries? If I run matlab under xfce again. it will be back? |
|
Back to top |
|
|
ExZombie Apprentice
Joined: 29 May 2004 Posts: 170
|
Posted: Wed May 22, 2013 1:13 pm Post subject: |
|
|
Yes, I believe so. But you don't need to go back to xfce, since it can be made to work in awesome. Simply do as I said above, and read this. |
|
Back to top |
|
|
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Wed May 22, 2013 1:59 pm Post subject: |
|
|
ExZombie wrote: | Yes, I believe so. But you don't need to go back to xfce, since it can be made to work in awesome. Simply do as I said above, and read this. |
Thanks a lot. solves the problem |
|
Back to top |
|
|
|
|
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
|
|