Fluxbox: theme background and menu/toolbar transparency
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fluxbox: theme background and menu/toolbar transparency
I made a theme and I put a background on it. I changed the style to it but the menu and toolbar still show transparent to the previous theme. How can I get it to show transparency to the background?
Re: Fluxbox: theme background and menu/toolbar transparency
Quote:
Originally posted by jaakkop I made a theme and I put a background on it. I changed the style to it but the menu and toolbar still show transparent to the previous theme. How can I get it to show transparency to the background?
originally posted by jaakop
the menu and toolbar still show transparent to the previous theme. How can I get it to show transparency to the background?
Did you restart fluxbox? Go to the menu and down below somewhere should be an entry for restart. It won't close X it will just reload the theme and such. When I change backgrounds I find that I need to do that to adjust what is showing through the menus and toolbar....
Torsmo and aterm shows transparent but not the toolbar, menu and fbpager. This 'fbsetbg -i' showed me:
Code:
display sets the 'wrong' wallpaper. Transparency for fluxbox and apps like aterm and xchat won't work right with it. Consider installing feh, wmsetbg (from windowmaker) or Esetroot (from Eterm) and I'll use them instead.
OK. The problem is the program that loads the background image. I use esetroot which is a part of the Eterm package. The way it is invoked in a style is:
Originally posted by geomatt Can be .png as well....
Hey I just found out that you can get esetroot by itself without eterm if you want: here
-geomatt
Thx, geomatt. Only thing is that when I replaced the fbsetbg with esetroot and did 'Exit' and logged in again it showed the wallpaper I got in login screen. Then I replaced the esetroot with fbset and restarded the Fluxbox it showed me the wallpaper I got and the transparency I wanted. Now I'm worried, that do I have to do this every time or am I doing something wrong.
I'm not sure exactly what problem you are having, but I realize now that a good way to make sure the wallpaper you want gets transparency right from the start is to start Esetroot as early as possible. (Oh and it should be invoked as Esetroot -scale not esetroot -scale - with the capital E - I was testing it out and it took me a minute to figure that out :P)
It can be invoked:
1. by the /etc/X11/xinit/xinitrc file that starts the window manager
2. in the ~/.fluxbox/init file that intializes fluxbox
3. in the style file
I have found that the way to make sure I get transparency right from the start is by putting the Esetroot -scale /blah/blah/wallpaper.jpg command in xinitrc file just before the line /usr/bin/fluxbox which actually loads the window manager. If you do this make sure that the rootCommand: lines in the ~/.fluxbox/init and theme files don't have any commands in them otherwise they will be invoked after the window manager starts and you'll lose the initial background.
I'm not sure exactly what problem you are having, but I realize now that a good way to make sure the wallpaper you want gets transparency right from the start is to start Esetroot as early as possible. (Oh and it should be invoked as Esetroot -scale not esetroot -scale - with the capital E - I was testing it out and it took me a minute to figure that out :P)
It can be invoked:
1. by the /etc/X11/xinit/xinitrc file that starts the window manager
2. in the ~/.fluxbox/init file that intializes fluxbox
3. in the style file
I have found that the way to make sure I get transparency right from the start is by putting the Esetroot -scale /blah/blah/wallpaper.jpg command in xinitrc file just before the line /usr/bin/fluxbox which actually loads the window manager. If you do this make sure that the rootCommand: lines in the ~/.fluxbox/init and theme files don't have any commands in them otherwise they will be invoked after the window manager starts and you'll lose the initial background.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.