[SOLVED] How to change an icon on fluxbox toolbar?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I would like to change an icon on fluxbox toolbar.
Since there is no menu added to fluxbox toolbar by default, I added RootMenu to the toolbar by editing the init file in ~/.fluxbox folder:
I am subscribed to this thread to read any potential direct response to your question, as I have none. The arrow-icon does not appear to be affected by style-definitions, so I do not believe that you can replace it at all.
If no better advice arrives, maybe you should use a different toolbar instead? I run fluxbox with the FBPanel, but understand that the interest of a frugal desktop is not the possibility to bloat it up beyond recognition... FBPanel does not do that and it is quite easy to maintain, like any other of these utilities, admittedly...
It is called a slit. Not a tool bar. When I add something like redshift and select it to auto start (redshift-gtk <my location> &) . It shows up in the slit.
Quote:
Chapter 7. The Slit
One of the most frequently asked questions is "What is the slit?" In fact, when this document was written, I also copied it to the top of the FAQ to point to this section in order to stop it from being asked in #fluxbox ten times a day, and to end the myth that the Slit is another name for the Toolbar.
The slit is one of the many parts of Fluxbox that has been inherited from Blackbox. It is designed to hold WindowMaker Dockapps, (and anything that runs in that mode which is called 'withdrawn' or (less often) 'swallowed'). Such applications often have a -w option, but some are automatically in withdrawn mode.
Well, the first thing is to make sure that it's compiled into your copy of Fluxbox. It's generally safe to assume it is. As far as I know, all packages for different distributions ship with it. If you think you're better off without it, you can disable it at compile time. Note however, that an unused slit occupies no screen space and only very little memory, so it's usually only necessary to disable it if it interferes with some other software you use.
Other than that, You can run any 'dockable' application. (This is also known as running in 'withdrawn' mode). As an example, xmms ships with the wmxmms application. Simply run wmxmms &, and it will appear in the slit. As mentioned above, some applications (for example gkrellm) need the -w command line switch to appear in the Slit.
If no better advice arrives, maybe you should use a different toolbar instead? I run fluxbox with the FBPanel, but understand that the interest of a frugal desktop is not the possibility to bloat it up beyond recognition... FBPanel does not do that and it is quite easy to maintain, like any other of these utilities, admittedly...
All the above are fluxbox shots of mine over the years with different toolbars but still basically fluxbox. The slit is not a application launcher. It just shows apps launched on auto start after a login. At least that is my understanding on how the slit works. tint2, lxpanel, wbar, awn are launcher taskbars. In one of my shots. The gorilla biker. I am running spacefm desktop on top of fluxbox for the launchers. On the debian bike on white racing stripe backbround. I am using tint2 to hold application launchers aka a la faux gnome 3. You can autohide or stop the slit from auto starting. Which ever you prefer.
Saving certain changes also are done in the ~/.fluxbox/overlay file like for bold text in the clock and such.
Here are some cool styles for you guys that you can pick from
It is called a slit. Not a tool bar. When I add something like redshift and select it to auto start (redshift-gtk <my location> &) . It shows up in the slit.
All the above are fluxbox shots of mine over the years with different toolbars but still basically fluxbox. The slit is not a application launcher. It just shows apps launched on auto start after a login. At least that is my understanding on how the slit works. tint2, lxpanel, wbar, awn are launcher taskbars. In one of my shots. The gorilla biker. I am running spacefm desktop on top of fluxbox for the launchers. On the debian bike on white racing stripe backbround. I am using tint2 to hold application launchers aka a la faux gnome 3. You can autohide or stop the slit from auto starting. Which ever you prefer.
Saving certain changes also are done in the ~/.fluxbox/overlay file like for bold text in the clock and such.
Here are some cool styles for you guys that you can pick from
Thanks for all the tips and information but i take it that there is no possible way to change that icon on slit.
I am just a uneducated scooter tramp. But my understanding is that the slit has limitations and
Quote:
I added RootMenu to the toolbar
is not possible. If yiou want to add root menu. It will have to be a section in the menu under right mouse click.
I edit my menus all the time. I even run Icewm as a alternate Window manager to fluxbox with a quick launcher function menu bar in icewm's toolbar. On my 9 inch screens .
I do not know alot and am not a expert by any means. Maybe some one else can post
Quote:
rok. you are wrong. mistaken
Time will tell I guess. Usually to get ideas on what others do. I use a search term like this
Edit: Since I do not know what root menu actually is? Is there a config file in like ~/.config for root menu that has a line like
Code:
icon=?
The fix may be as simple as pointing that line to something.
I think there has been a misunderstanding here,
Clearly rokytnji you know more about fluxbox than me and i meant no offense, your tips were really helpful, i even found out about conky and stuff.
I followed this process to enable a tool called Rootmenu on the toolbar/slit by adding
Code:
Rootmenu
to the line
Code:
session.screen0.toolbar.tools:
in the init file in the
Code:
~/.fluxbox/
directory. Which appeared as that triangle same as
Code:
prevworkspace, nextworkspace
and by clicking the RootMenu tool i am able to open the fluxbox menu right from the toolbar/slit.
So i wanted to change the icon for that RootMenu tool on the toolbar/slit, that is it .
Last edited by shadykakashi; 04-01-2016 at 02:13 PM.
There are many solutions to this problem. You seem to have found several yourself. Another is to set your toolbar width to 99% and use the corner of the screen. Another is that you actually can make a "RootMenu" button in your toolbar, although it will look like an arrow button.
and as you can see. He ended up just like you did.
Might want to install this I guess. Looks like it will give you the fluxbox icon and work like a start menu in the slit. Kind of like a turning the slit into a tool bar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.