<p dir="ltr">Many thanks for the info, Mathieu. AFAICT it appears Unity is the problem on this case.</p>
<div class="gmail_quote">On Dec 1, 2012 8:16 PM, "Mathieu Bouchard" <<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2012-11-30 à 10:22:00, Ivica Ico Bukvic a écrit :<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, here's the question that's been bugging me: is there a way to explicitly set the window class name in qt as is the case with tcl/tk (FWIW, I would be seriously surprised if one couldn't since I consider qt far superior to tcl/tk) and if so, would it be possible to add this to the future releases of qjackctl?<br>

</blockquote>
<br>
Search for "window class"<br>
<br>
find <a href="http://www.astro.princeton.edu/~rhl/Tcl-Tk_docs/tk/SetClass.3.html" target="_blank">http://www.astro.princeton.<u></u>edu/~rhl/Tcl-Tk_docs/tk/<u></u>SetClass.3.html</a><br>
<br>
See WM_CLASS.<br>
<br>
Search qt4 WM_CLASS.<br>
<br>
find <a href="http://lists.kde.org/?l=kde-core-devel&m=109120145218935&w=2" target="_blank">http://lists.kde.org/?l=kde-<u></u>core-devel&m=109120145218935&<u></u>w=2</a><br>
<br>
You can see that it's actually using the Xlib API instead :<br>
<br>
  XClassHint hint;<br>
  hint.res_class = const_cast< char* >( "Konsole" );<br>
  hint.res_name = const_cast< char* >( "konsole" );<br>
  XSetClassHint( qt_xdisplay(), w->winId(), &hint );<br>
<br>
I didn't try it.<br>
<br>
 ______________________________<u></u>______________________________<u></u>__________<br>
| Mathieu BOUCHARD ----- téléphone : <a href="tel:%2B1.514.383.3801" value="+15143833801" target="_blank">+1.514.383.3801</a> ----- Montréal, QC<br>_______________________________________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a><br>
<a href="http://disis.music.vt.edu/cgi-bin/mailman/listinfo/l2ork-dev" target="_blank">http://disis.music.vt.edu/cgi-bin/mailman/listinfo/l2ork-dev</a><br>
<br></blockquote></div>