LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxbox questions (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-questions-592131/)

pauledwards03 10-16-2007 12:34 AM

fluxbox questions
 
Hello, I am having a hard time finding any information on how to:

change the toolbar font size, window title font size, and menu font size in fluxbox. ( i have managed to change the toolbar clock and workspace name size, and the menu title font size with a ~/.fluxbox/overlay file

and

hide an application from the toolbar. i have a transparent eterm set to run top on my desktop and would like so it does not show "top" in my toolbar but continues to run. I think this has been done I have seen many screenshots that seem to suggest it is possible.

also, antialiasing is not on the configuration menu. i am using fluxbox 1.0rc3 with slackware 11

mdg 10-16-2007 05:56 AM

The font sizes can be changed in the theme.cfg file of the active theme. Look in ~/.fluxbox/styles/your-theme/theme.cfg and make a backup copy before tinkering.

Vincent_Vega 10-16-2007 11:39 AM

You can manually edit your ~/.fluxbox/styles/<theme_name> file. It's plain text so you can search for 'font' and pretty much find all of the available font settings for most themes. Once you get the hang of it, you can get more creative and edit some of the less detailed themes by adding in some lines...Just make backups!

pauledwards03 10-16-2007 12:13 PM

commented out all instances of *font in the file, and added

*Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-*

to the end, problem solved. but what about antialiasing and hiding apps from the toolbar?

mdg 10-16-2007 03:45 PM

If I understand correctly, you don't want the open apps to feature in the iconbar. If so, you need to edit your ~/.fluxbox/init file. Search for a line that looks like this:
Code:

session.screen0.toolbar.tools:        workspacename, prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
Edit out the "iconbar" (backup first) and restart fluxbox. This affects all desktops, ie you won't see any open apps in the toolbar.


I just realized that my antialias option has disappeared from the configure menu, so I'll have to get back to you on that.

Vincent_Vega 10-16-2007 08:02 PM

Do you want to keep ALL applications off the toolbar or just that one instance of Top? If you want the toolbar completely empty, you'll find that somewhere in the Fluxbox menu. But I don't know how to keep just one app off. Have you looked on the Fluxbox website? I think there's pretty decent documentation.

** Just noticed the post above - and I too have realized that the antialiasing option is gone. I think it's default in newer releases...that only makes sense. My fonts are good in the Fluxbox menus.

pauledwards03 10-16-2007 10:26 PM

just apps i dont want to show on the toolbar, in this screenshot it seems possible:

http://fluxbox.org/images/shots-dev/...ai_fluxbox.jpg

mdg 10-17-2007 05:32 AM

You can hide applications from the toolbar by editing your ~/.fluxbox/apps file. For example, if I wanted to hide Krusader, I would add "IconHidden" to the Krusader section:
Code:

[app] (krusader)
  [Workspace]        {2}
  [Position]        (UPPERLEFT)        {17 18}
  [IconHidden]        {yes}
  [Close]        {yes}
[end]

The catch is that fluxbox resets the file after you close it. It will only keep changes you make via the titlebar menu ("Remember" option).

So, as a workaround, edit the apps file, save it without closing the editor and type as root:
Code:

chmod 444 ~/.fluxbox/apps
Restart Fluxbox and check if you got the result you wanted. After that you can put the permissions back:
Code:

chmod 744 ~/.fluxbox/apps
I think you could also edit the file from command line without X running, but I didn't try that.

pauledwards03 10-17-2007 12:23 PM

thanks a lot mdg, that did it.


All times are GMT -5. The time now is 07:54 PM.