With Linux there many different options for window themes, based upon what distro you or your users are running. But using Livecode this is easy info to get and can be used to alter the window theme layout like the following Picture below alters the toolbar and window menu in unity theme of an Livecode built app.
To query this data is simple for Livecode use the Environment Variable $XDG_CURRENT_DESKTOP.
Use like such
function getLixTheme
return $XDG_CURRENT_DESKTOP
end getLixTheme
For the above if its unity I alter the window layout as show, else I alter nothing, and remove the unity toolbar and White in window menu.