Changeset 5af003c5 for x/wm/fluxbox.xml


Ignore:
Timestamp:
12/10/2005 03:32:02 PM (18 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f27505a
Parents:
89abecc
Message:

Added some info about how to fix the Fluxbox themes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5399 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/wm/fluxbox.xml

    r89abecc r5af003c5  
    126126      <para>If <application>Fluxbox</application> is the only Window Manager
    127127      you want to use, you can start it with an <filename>.xinitrc</filename>
    128       file in your home folder. Be sure to backup your 
     128      file in your home folder. Be sure to backup your
    129129      current <filename>.xinitrc</filename> before proceeding.</para>
    130130
     
    135135<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
    136136
    137       <para>Or alternatively, if you use a login manager like 
     137      <para>Or alternatively, if you use a login manager like
    138138      <xref linkend="gdm"/> or <application>kdm</application> and would
    139       like to be able to choose <application>Fluxbox</application> at the login 
     139      like to be able to choose <application>Fluxbox</application> at the login
    140140      prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
    141141
     
    175175      The syntax is explained on the <command>fluxbox</command> man page.</para>
    176176
     177      <para>The themes installed in /usr/share/fluxbox/styles have not been fixed to
     178      call <command>fbsetroot</command>, they still call it by it's old name, bsetroot.
     179      If you want to change the desktop color with the theme then fix the styles (as
     180      <systemitem class="username">root</systemitem>) with these commands</para>
     181
     182<screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
     183      $(grep -lr bsetroot /usr/share/fluxbox/data/styles)</userinput></screen>
     184
     185      <para>However, if you set the desktop color with the themes it creates a problem
     186      for setting a background image. Fluxbox loads the themes after the commands in
     187      <filename>~/.fluxbox/startup</filename> have been run, which wipes out the pretty
     188      picture it's just set as your desktop...DOH! The solution is to comment out
     189      the <command>fbsetroot</command> command in the themes like this (again, as
     190      <systemitem class="username">root</systemitem>).</para>
     191
     192<screen><userinput>sed -i 's@^ro@! &amp;@' \
     193      $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
     194
     195      <para>You can still set any color you want as your desktop with an
     196      <command>fbsetroot</command> command in <filename>~/.fluxbox/startup</filename>.
     197      </para>
     198
    177199    </sect3>
    178200
Note: See TracChangeset for help on using the changeset viewer.