Ubuntu Unity Integration?

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
PBSi
Posts: 3
Joined: Thu Jun 14, 2012 5:43 pm

Ubuntu Unity Integration?

Post by PBSi » Thu Jun 14, 2012 6:00 pm

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

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Ubuntu Unity Integration?

Post by shaosean » Fri Jun 15, 2012 6:49 am

Take a look at Tk_SetClass

PBSi
Posts: 3
Joined: Thu Jun 14, 2012 5:43 pm

Re: Ubuntu Unity Integration?

Post by PBSi » Fri Jun 15, 2012 11:31 am

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

PBSi
Posts: 3
Joined: Thu Jun 14, 2012 5:43 pm

Re: Ubuntu Unity Integration?

Post by PBSi » Sun Jun 17, 2012 9:57 pm

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

Post Reply