LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-30-2016, 11:56 AM   #1
shadykakashi
LQ Newbie
 
Registered: Mar 2016
Posts: 7

Rep: Reputation: Disabled
How to change an icon on fluxbox toolbar?


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:

Code:
session.screen0.toolbar.tools:  RootMenu, prevworkspace, workspacename, nextworkspace, clock, prevwindow, nextwindow, iconbar, systemtray
But the icon displayed on the toolbar is just a triangle for this RootMenu.
Here is a screenshot

I would like to change the default triangle icon to some other icon, is it possible to do so?
If not , then is there a workaround this problem?
 
Old 03-30-2016, 01:26 PM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by shadykakashi View Post
I would like to change an icon on fluxbox toolbar
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...
 
Old 03-30-2016, 05:54 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
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.
http://fluxbox.sourceforge.net/docbo...chap-slit.html

Quote:
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...
I do stuff like that also

http://i41.tinypic.com/2h30yly.jpg

http://i49.tinypic.com/w83tp3.jpg

http://i47.tinypic.com/24ctgkm.jpg

http://i39.tinypic.com/29llnbt.jpg

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

http://tenr.de/styles/allstyles.php

http://tenr.de/styles/

Last edited by rokytnji; 03-30-2016 at 05:56 PM.
 
1 members found this post helpful.
Old 03-31-2016, 01:56 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
My fluxbox with rox and FBPanel.
The style is my own. I used to call them by my nickname and numerate them (Ups1, Ups2...) but call this one Ups_green: http://pix.toile-libre.org/upload/or...1459407268.png
 
Old 04-01-2016, 06:21 AM   #5
shadykakashi
LQ Newbie
 
Registered: Mar 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
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.



http://fluxbox.sourceforge.net/docbo...chap-slit.html



I do stuff like that also

http://i41.tinypic.com/2h30yly.jpg

http://i49.tinypic.com/w83tp3.jpg

http://i47.tinypic.com/24ctgkm.jpg

http://i39.tinypic.com/29llnbt.jpg

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

http://tenr.de/styles/allstyles.php

http://tenr.de/styles/

Thanks for all the tips and information but i take it that there is no possible way to change that icon on slit.
 
Old 04-01-2016, 09:24 AM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
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.

Good luck with this. Happy trailz, rok

Last edited by rokytnji; 04-01-2016 at 09:33 AM.
 
Old 04-01-2016, 01:54 PM   #7
shadykakashi
LQ Newbie
 
Registered: Mar 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
I am just a uneducated scooter tramp
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.
 
Old 04-01-2016, 06:41 PM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Can you throw me a look see like this? But showing root menu in action. You have a lot more going on your (mine is line 37 in ~/.fluxbox/init)

Code:
session.screen0.toolbar.tools:	workspacename, prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
Mine on this laptop >full view, not just the slit.

http://i.imgur.com/wAbiNGk.jpg

Just KISS fluxbox on this laptop.
 
Old 04-01-2016, 06:48 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Following your link. I read

Quote:
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.

http://i.imgur.com/5nuev.png <scroll down to the slit to see what I mean>

Edit: forgot to include the link I read all of this.

https://sourceforge.net/p/fluxbox/feature-requests/304/

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.

https://sourceforge.net/projects/ftmenu/

https://a.fsdn.com/con/app/proj/ftme...hots/16387.jpg

Last edited by rokytnji; 04-01-2016 at 06:56 PM.
 
1 members found this post helpful.
Old 04-02-2016, 02:51 AM   #10
shadykakashi
LQ Newbie
 
Registered: Mar 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
I don't want to put the menu in the systray but i never even considered reducing the width of the slit, So i am settling with that solution for now.

I haven't modified the wallpaper to display a fluxbox icon for the menu but for now this is how my fluxbox looks like :

http://i.imgsafe.org/6dea792.png

I am running it on debian jessie and an old crappy 32 bit 1.6 GHz PC

Last edited by shadykakashi; 04-02-2016 at 09:13 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change my workspace from one two three four to icon view? Fluxbox bbmak Linux - Newbie 0 05-23-2009 12:42 PM
firefox toolbar icon? kud0s Linux - Software 6 07-27-2006 12:53 AM
how to create an icon in toolbar using TCL\TK shas_jmivec Programming 1 01-20-2006 08:44 AM
Fluxbox toolbar Kovacs Linux - Software 8 02-06-2004 09:41 PM
toolbar in fluxbox nakkaya Linux - Software 0 04-11-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration