LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox 1.1.1 - Can't get a theme to work properly (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-1-1-1-cant-get-a-theme-to-work-properly-709988/)

hubabuba 03-08-2009 06:48 AM

Fluxbox 1.1.1 - Can't get a theme to work properly
 
Hi

I know this probably has been brought up several times, but I cannot find the reason why the theme I'm trying to use will not work properly on Slack 12.2, Fluxbox 1.1.1.

First of all, the theme background will not come up when Fluxbox starts.
Only using the command:

Quote:

fbsetbg ~/.fluxbox/styles/n3/pixmaps/vortex_bsd_013_technodream.jpg
... brings up the backgound, but only until Fluxbox is restarted again.

I have the .fluxbox/styles directory with the theme.cfg file. The file contans the following command:

Quote:

rootCommand: fbsetbg ~/.fluxbox/styles/n3/pixmaps/vortex_bsd_013_technodream.jpg
.. but does nothing

Secondly the rootmenu changes style, but not completely, i.e. it should be transparrent, but it is not and is too large.

bathory 03-08-2009 02:29 PM

For your 1st prob:
Once you have set the background image using:
Quote:

fbsetbg -f ~/.fluxbox/styles/n3/pixmaps/vortex_bsd_013_technodream.jpg
then you should put:
Code:

session.screen0.rootCommand:    fbsetbg -l
in ~/.fluxbox/init
About your 2nd problem, I think it's related to the first. See if anything is OK after setting the background in the ./fluxbox/init file.

dracolich 03-08-2009 05:48 PM

To make my theme's background work properly I did this:
1. leave session.screen0.rootCommand: blank
2. at the end of your theme config file include 2 lines:
background: center
background.pixmap: <path to file>

As for the transparency and menu size, look for session.screen0.toolbar.alpha and session.screen0.menu.alpha in ~/.fluxbox/init. The size is most likely caused by the font size. Mine is set in the theme file with menu.title.font: and menu.frame.font: and I use lucidasans-10 font

hubabuba 03-09-2009 09:23 AM

Thanks for help.

I will make the changes later today.

hubabuba 03-09-2009 04:19 PM

Great! Everything works now apart from the font size.

My theme.cfg file had the following lines:
Quote:

menu.title.font: -artwiz-snap-*-*-*-*-*-*-*-*-*
menu.frame.font: -artwiz-drift-*-*-*-*-*-*-*-*-*
I changed them to:
Quote:

menu.title.font: -artwiz-snap-10
menu.frame.font: -artwiz-drift-10
Font size hasn't changed.

Also, a question. Why did I have to change session.screen0.toolbar.alpha and session.screen0.menu.alpha in ~/.fluxbox/init to a lower setting (I set it to 110, as in the theme config file) to make the menus transparent, if theme.cfg file already had 110 setting? It seems to ignore theme.cfg file for some settings.

ramram29 03-26-2009 02:40 PM

I had trouble with fluxbox 1.1 on my Debian Testing install. I updated my sources list to Debian Stable, deinstalled fluxbox then installed it and it worked. Debian Stable installs the fluxbox 1.0 which works fine without the stupid fbsetbg error. Try fluxbox 1.0 and not 1.1 (which is the development version).


All times are GMT -5. The time now is 06:57 PM.