Page 1 of 1

Ubuntu Unity Integration?

Posted: Thu Jun 14, 2012 6:00 pm
by PBSi
Hi Folks,

I am relatively new to LiveCode (played around with it a bit over the years but now want to build a real app for Ubuntu Linux).

I have version 5.5 installed on Ubuntu Linux 12.04 64-Bit and while it works I have found that I needed to create a custom .desktop file so that it would group all of the IDE windows into a single icon on the Unity launcher. I needed to group the windows based on the window class (i.e. Revolution). This all works fine and makes the IDE work as I would expect. However, my problem is that if I build an application and run it by double clicking on it its windows are now grouped into the LiveCode icon in the Unity launcher because all of the applications windows have the class name set to Revolution.

Are there any plans to provide integration with Ubuntu Unity?

If not, does anyone know how to make an application, when compiled, group all of its windows together into its launcher icon in Unity?

Sincerely, Brian Maher

Re: Ubuntu Unity Integration?

Posted: Fri Jun 15, 2012 6:49 am
by shaosean
Take a look at Tk_SetClass

Re: Ubuntu Unity Integration?

Posted: Fri Jun 15, 2012 11:31 am
by PBSi
Hi Shaosean,

Thanks for that but it doesn't look like it will really help with the integration because it is part of the TK language/interpreter (unless I am missing something obvious).

Brian

Re: Ubuntu Unity Integration?

Posted: Sun Jun 17, 2012 9:57 pm
by PBSi
Hi Folks,

More research seemed to indicate that I could use the xdotool utility to get the main window of my application by name then change the classname of the window. I can get the window id using "xdotool search --name window_title_goes_here" but setting the class name using the returned value throws an error.

Sigh.

Brian