I'm using:
C++
Code::Blocks
glut
OpenGL
Linux
On the top of the screen, you have a title, and an icon. My icon is blank and the title is unknown. Any ideas on how to fix this?
View the attachment.
I'm using:
C++
Code::Blocks
glut
OpenGL
Linux
On the top of the screen, you have a title, and an icon. My icon is blank and the title is unknown. Any ideas on how to fix this?
View the attachment.
Have you tried setting a custom name and title in glut? http://www.opengl.org/resources/libraries/glut/spec3/node27.html
Have you tried setting a custom name and title in glut? http://www.opengl.org/resources/libraries/glut/spec3/node27.html
I have not. Thank you for the suggestion, I'll try it and update you on my problem
I tried the function. It changed the name of the OpenGL window, but not the name in the Activities bar above. Thanks for the suggestion :)
Sounds like setting it with GLUT is just setting the window title, not the application title. Is there a way to set an application title? Been a long time since I used GLUT.
Sounds like setting it with GLUT is just setting the window title, not the application title. Is there a way to set an application title? Been a long time since I used GLUT.
I'm not sure, I'll try to look into it more.
I sort of figured out the issue. I ran the application with an Ubuntu session, as opposed to a Gnome3 session. In Ubuntu, the title displays fine. In Gnome, it does not.
I've created .desktop files in Gnome, using the specifications required, but that yielded me with no results. I ended up having a nice looking launcher for the app, but the title displayed incorrectly.