Author: andy
Date: 2005-12-10 08:32:02 -0700 (Sat, 10 Dec 2005)
New Revision: 5399

Modified:
   trunk/BOOK/x/wm/fluxbox.xml
Log:
Added some info about how to fix the Fluxbox themes


Modified: trunk/BOOK/x/wm/fluxbox.xml
===================================================================
--- trunk/BOOK/x/wm/fluxbox.xml 2005-12-10 10:49:37 UTC (rev 5398)
+++ trunk/BOOK/x/wm/fluxbox.xml 2005-12-10 15:32:02 UTC (rev 5399)
@@ -125,7 +125,7 @@
 
       <para>If <application>Fluxbox</application> is the only Window Manager
       you want to use, you can start it with an <filename>.xinitrc</filename>
-      file in your home folder. Be sure to backup your 
+      file in your home folder. Be sure to backup your
       current <filename>.xinitrc</filename> before proceeding.</para>
 
       <indexterm zone="fluxbox fluxbox-config">
@@ -134,9 +134,9 @@
 
 <screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
 
-      <para>Or alternatively, if you use a login manager like 
+      <para>Or alternatively, if you use a login manager like
       <xref linkend="gdm"/> or <application>kdm</application> and would
-      like to be able to choose <application>Fluxbox</application> at the 
login 
+      like to be able to choose <application>Fluxbox</application> at the login
       prompt, create a <filename>fluxbox.desktop</filename> file like 
this.</para>
 
       <para>As <systemitem class="username">root</systemitem>:</para>
@@ -174,6 +174,28 @@
       <para>Menu items are added by editing 
<filename>~/.fluxbox/menu</filename>.
       The syntax is explained on the <command>fluxbox</command> man 
page.</para>
 
+      <para>The themes installed in /usr/share/fluxbox/styles have not been 
fixed to
+      call <command>fbsetroot</command>, they still call it by it's old name, 
bsetroot.
+      If you want to change the desktop color with the theme then fix the 
styles (as
+      <systemitem class="username">root</systemitem>) with these 
commands</para>
+
+<screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
+      $(grep -lr bsetroot /usr/share/fluxbox/data/styles)</userinput></screen>
+
+      <para>However, if you set the desktop color with the themes it creates a 
problem
+      for setting a background image. Fluxbox loads the themes after the 
commands in
+      <filename>~/.fluxbox/startup</filename> have been run, which wipes out 
the pretty
+      picture it's just set as your desktop...DOH! The solution is to comment 
out
+      the <command>fbsetroot</command> command in the themes like this (again, 
as
+      <systemitem class="username">root</systemitem>).</para>
+
+<screen><userinput>sed -i '[EMAIL PROTECTED]@! &amp;@' \
+      $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
+
+      <para>You can still set any color you want as your desktop with an
+      <command>fbsetroot</command> command in 
<filename>~/.fluxbox/startup</filename>.
+      </para>
+
     </sect3>
 
   </sect2>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to