Metacity is not developed or supported by X.org.  This question appears to be related to a UI issue with Metacity.  You'll want to file a bug report at <a href="https://bugzilla.gnome.org/">https://bugzilla.gnome.org/</a> or find a GNOME mailing list/form and ask the question there.<div>
<br><div class="gmail_quote">On Sun, Aug 1, 2010 at 9:38 PM, Huaxin Xu <span dir="ltr"><<a href="mailto:hxu@the3rdeye.com.au">hxu@the3rdeye.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Hi all,</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">I have a system set up this way: kernel 2.6.31.5-127.fc12,
no desktop environment (no gnome or kde), metacity 2.28.0-14.fc12.i686 (installed
by yum), and my own application (full-screen) which may generate some dialogs
when certain operations are performed.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">I could not change settings (such as num_workspaces,
action_right_click_titlebar) for matacity. </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">`gconftool-2 --type=int --set /schemas/apps/metacity/general/num_workspaces
1` reported no errors or warnings, in fact, nothing.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">`gconftool-2 --get /schemas/apps/metacity/general/num_workspaces`
would return the value I had set (in this case, 1).</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">However, right click on the titlebar of a modal dialog
would still show the menu item of “Move to Another Workspace” and “Workspace
2/3/4” on a menu one level down.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Similarly for action_right_click_titlebar</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">`gconftool-2 --type =string --set /schemas/apps/metacity/general/action_right_click_titlebar
none` reported nothing.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">`gconftool-2 --get /schemas/apps/metacity/general/action_right_click_titlebar`
would return the value I had set (“none”)</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">However, right click on the titlebar of a modal
dialog would still prompt a menu, as if no change has been made on action_right_click_titlebar.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">I could tell metacity was involved in the running of the application from the cursor - when metacity was started before the application started the cursor for the root window would be XC_left_ptr, otherwise it would be a black “X”.</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">However, as gnome (or any other desktop environment) was not running, I am not sure if gconftool-2 can enforce the settings on metacity.</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Another issue, which may be related is</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Changing the theme of metacity by </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">`gconftool-2 --type=string /schemas/apps/metacity/general/theme Nodoka`  (Nodoka is only used as an example, using any other theme would give the same result).</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">or changing a particular value of a theme by editing the XML file (/usr/share/themes/Nodoka/metacity-1/metacity-theme-1.xml)</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">would not make any difference whatsoever in appearance (e.g. titlebar’s width, height, padding height, etc)</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Any advice on how I can apply changes on metacity, or at least how to set num_workspaces = 0 and action_right_click_titlebar = none?</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Thanks very much!</span></font></pre>
<pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></pre><pre><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial">Huaxin</span></font></pre>


<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-AU" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

</div>

</div>


<br>_______________________________________________<br>
<a href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a>: X.Org support<br>
Archives: <a href="http://lists.freedesktop.org/archives/xorg" target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>
Info: <a href="http://lists.freedesktop.org/mailman/listinfo/xorg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a><br>
Your subscription address: <a href="mailto:jafeiner@gmail.com">jafeiner@gmail.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>- Joel<br>
</div>