topic title: Flubox task bar
Posts: 70
greyowl
Joined: 04 Jul 2017
#1
I am trying out the flubox desktop.  I have found that you need to right click on the desktop in order to get a menu.  I have not been able to figure out how to get the menu actually in the task bar.

With Ice and JWM, there is a menu in the left hand corner of the task bar.

Is it possible to set up flubox with a menu in the task bar?
Last edited by greyowl on 09 Oct 2017, 14:42, edited 1 time in total.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
[redacted]
solution is provided in reversedog's post, below
Last edited by skidoo on 08 Oct 2017, 16:48, edited 1 time in total.
Posts: 64
reverseDog
Joined: 13 Jul 2016
#3
greyowl wrote:With Ice and JWM, there is a menu in the right hand corner of the task bar.
You mean the LEFT hand corner?

Well, there is a way to add a menu to the toolbar of the pre-installed fluxbox version.

Open the file ~/.fluxbox/init in an editor, find the line that starts with"session.screen0.toolbar.tools:" (here line number 30) and add"RootMenu" at the desired position:

Code: Select all

session.screen0.toolbar.tools:    RootMenu, workspacename, prevworkspace, nextworkspace, iconbar, systemtray, clock
If you really prefer your menu in the RIGHT hand corner, append"RootMenu" to the end of the line.😉

You will find the menu represented by a simple triangle, though. I have no idea if it is possible to use a nicer icon instead.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
Thanks for finding that, reversedog!

The right-pointing triangle"icon" assignment is hardcoded (non-configurable)
 
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/fluxbox/fluxbox/blob/master/src/ToolFactory.cc#L153"
linktext was:"https://github.com/fluxbox/fluxbox/blob ... ry.cc#L153"
====================================
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
skidoo wrote: Thanks for finding that, reversedog!

The right-pointing triangle"icon" assignment is hardcoded (non-configurable)
 
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/fluxbox/fluxbox/blob/master/src/ToolFactory.cc#L153"
linktext was:"https://github.com/fluxbox/fluxbox/blob ... ry.cc#L153"
====================================
but oh so needed!  nice.
Posts: 70
greyowl
Joined: 04 Jul 2017
#6
Thanks so much for this solution.
Can you also add other things like File Manager, Terminal, and Desktop?  If so, do I just use those words.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
When you check the docs
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://fluxbox.sourceforge.net/docbook/en/fluxbox-docs.html"
linktext was:"http://fluxbox.sourceforge.net/docbook/ ... -docs.html"
====================================

and read the fluxbox manpage, you'll discover the fluxbox toolbar isn't wildy configurable, compared to other panels.

If you're into customization, you would be better served by installing package"fbpanel" or"tint2" and using one of those in place of, or in addition to, the stock fluxbox toolbar.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
One of my oldy fluxbox desktops with tint2 can be seen here


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://oi39.tinypic.com/29llnbt.jpg"
linktext was:"http://oi39.tinypic.com/29llnbt.jpg"
====================================


My beginning /.tint2rc contained this as a starting point


It auto hid when not in use. My slit in fluxbox was set to autohide on bootup. If I wanted to use it. I just moused over the right. It has been ages since I used this config though. I am more happy with KISS fluxbox now. Edit. I should say I ran this on AntiX 8.5. The desktop file names might have changed since then and need to be adjusted accordingly to show in the panel like mine.

Code: Select all

/etc/skel/.local/share/applications/TCM/Personal_Menu_Help_Video_1435257860.desktop
/etc/skel/.local/share/desktop-defaults/audio-player.desktop
/etc/skel/.local/share/desktop-defaults/editor.desktop
/etc/skel/.local/share/desktop-defaults/email.desktop
/etc/skel/.local/share/desktop-defaults/file-manager.desktop
/etc/skel/.local/share/desktop-defaults/image-viewer.desktop
/etc/skel/.local/share/desktop-defaults/terminal.desktop
/etc/skel/.local/share/desktop-defaults/video-player.desktop
/etc/skel/.local/share/desktop-defaults/web-browser.desktop
or get your list from for launchers from

Code: Select all

biker:~
$ cd /usr/share/applications
harry@biker:/usr/share/applications
$ ls
antix                    guvcview.desktop                 pybootchartgui.desktop
arandr.desktop           gweled.desktop                   python2.7.desktop
asunder.desktop          hardinfo.desktop                 python3.4.desktop
bleachbit.desktop        hexchat.desktop                  roxterm.desktop
bleachbit-root.desktop   hplj1020.desktop                 rxvt-unicode.desktop
blueman-manager.desktop  htop.desktop                     sayonara.desktop
calibre-gui.desktop      iceweasel.desktop                screensavers
ceni.desktop             leafpad.desktop                  seamonkey-mozillabinaries.desktop
claws-mail.desktop       libreoffice-calc.desktop         searchmonkey.desktop
clicompanion.desktop     libreoffice-draw.desktop         simple-scan.desktop
clipit.desktop           libreoffice-impress.desktop      smtube.desktop
comix.desktop            libreoffice-math.desktop         spacefm.desktop
dillo.desktop            libreoffice-startcenter.desktop  spacefm-find.desktop
display-im6.desktop      libreoffice-writer.desktop       spacefm-folder-handler.desktop
display-im6.q16.desktop  libreoffice-xsltfilter.desktop   streamtuner2.desktop
dosbox.desktop           links2.desktop                   system-config-printer.desktop
ebook-viewer.desktop     lrfviewer.desktop                Ted.desktop
feh.desktop              luckybackup.desktop              tint2conf.desktop
firefox-esr.desktop      luckybackup-gnome-su.desktop     transmission-gtk.desktop
galternatives.desktop    lxappearance.desktop             umts-panel.desktop
gcolor2.desktop          mc.desktop                       unetbootin.desktop
gdebi.desktop            mcomix.desktop                   vim.desktop
geany.desktop            mimeinfo.cache                   vlc.desktop
gftp.desktop             mirage.desktop                   wicd.desktop
gksu.desktop             mpv.desktop                      winff.desktop
gmtp.desktop             mtpaint.desktop                  wpa_gui.desktop
gnome-mplayer.desktop    mupdf.desktop                    xarchiver.desktop
gnome-ppp.desktop        ndisgtk.desktop                  xfburn.desktop
gparted.desktop          njam.desktop                     xgalaga.desktop
grsync.desktop           open-invaders.desktop            xgalaga-hyperspace.desktop
grub-customizer.desktop  org.gnome.FileRoller.desktop     xmahjongg.desktop
gtkam.desktop            palemoon.desktop                 xpdf.desktop
gufw.desktop             pavucontrol.desktop              xscreensaver-properties.desktop