Remarks on Fluxbox Menu

Post Reply
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Remarks on Fluxbox Menu

Post by Atip » 26. Aug 2017, 06:43

I have some remarks on the fluxbox menu.

--There is an entry [Workspaces] which is actually redundant since middle clicik of mouse gives that.

-- In Quit Fluxbox
-- Realy quit jumps immediately to login window. To my liking a bit too fast.
so I added [Logout] {wm-logout}

-- I removed the 2 entries (Start Blackbox) and (Start Windowmaker)
since I accidentally clicked on it and it then messed-up my fluxbox setting.

On the panel there appears a Networking icon with an x showing it is disabled.
What is good for? I can't makes anything out of it. If I open it to edit all settings are disabled.

Slint is a great box. I just love it. :D

DidierSpaier
Posts: 297
Joined: 20. Jun 2016, 20:15

Re: Remarks on Fluxbox Menu

Post by DidierSpaier » 26. Aug 2017, 17:50

Hello,
Atip wrote:--There is an entry [Workspaces] which is actually redundant since middle click of mouse gives that.
Indeed. This is intended to help users who could be not curious enough to try a middle-click ;)
Atip wrote:-- In Quit Fluxbox
-- Really quit jumps immediately to login window. To my liking a bit too fast.
so I added [Logout] {wm-logout}
Instead wm-logout can be called from the panel's menu on its left. But it won't hurt to add that to the context menu, so I will do it by default in Slint-14.2.1. Thanks for the suggestion.
Atip wrote: -- I removed the 2 entries (Start Blackbox) and (Start Windowmaker)
since I accidentally clicked on it and it then messed-up my fluxbox setting.
Actually, the effect is to change the window manager and only that and is intended for people who would want to do it directly, instead of doing a logout then a login in another window manager. However you *should* be able to go back to Fluxbox from e.g. Blackbox using the Start Fluxbox menu entry and that should restore your Fluxbox settings. Doesn't that work? And if not, what settings do you loose?
Atip wrote:On the panel there appears a Networking icon with an x showing it is disabled.
What is good for? I can't makes anything out of it. If I open it to edit all settings are disabled.
Not sure about this one. I will check then get back to you.

EDIT: this networking icon appears because the package network-manager-applet installs the file
/etc/xdg/autostart/nm-applet.desktop, that starts the applet. But as, I assume, you don't use NetworkManager for your network's configuration, the applet actually does nothing. Then, to get rid of it you can just remove the package network-manager-applet, but remember to re-install it it whenever you decide to use NetworkManager.

User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Remarks on Fluxbox Menu

Post by Atip » 27. Aug 2017, 06:37

DidierSpaier wrote:Hello,
Atip wrote: -- I removed the 2 entries (Start Blackbox) and (Start Windowmaker)
since I accidentally clicked on it and it then messed-up my fluxbox setting
.
Actually, the effect is to change the window manager and only that and is intended for people who would want to do it directly, instead of doing a logout then a login in another window manager. However you *should* be able to go back to Fluxbox from e.g. Blackbox using the Start Fluxbox menu entry and that should restore your Fluxbox settings. Doesn't that work? And if not, what settings do you loose?
The culprit is Windowmaker. I have the following entries in startup

Code: Select all

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

rclock -update 1 -g +1120+0 -bg blue -fg orange &
asmon -su &
/usr/local/wmCalClock/wmCalClock -24 -g -S &
gkrellm &
[  -x /usr/bin/xfce4-notes ] && xfce4-notes &
0launch -- http://www.kerofin.demon.co.uk/2005/interfaces/NetStat &
Returning from wmaker to fluxbox rclock and NetStat are halfway out of the screen and asmon and wmCalClock are sitting
in the upper left corner and cannot be moved.
No such prolem with blackbox.

This might just be my particular situation not applicable to others and for your information.

DidierSpaier
Posts: 297
Joined: 20. Jun 2016, 20:15

Re: Remarks on Fluxbox Menu

Post by DidierSpaier » 27. Aug 2017, 09:39

I do not observe the same behavior, maybe that's due to some other customization. Please post the full content of startup.

User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Remarks on Fluxbox Menu

Post by Atip » 28. Aug 2017, 03:30

DidierSpaier wrote:I do not observe the same behavior, maybe that's due to some other customization. Please post the full content of startup.

Code: Select all

#!/bin/sh
#
# fluxbox startup-script:

# Change your keymap:
xmodmap "~/.Xmodmap"

# Refresh the application menu, included in the root menu
if [ -x /usr/bin/xdgmenumaker ]; then
        /usr/bin/xdgmenumaker -f fluxbox -i > ~/.fluxbox/xdg_menu &
fi
# start lxpanel
export WINDOWMANAGER=fluxbox
if [ -x /usr/libexec/slint/lxpanel.sh ]; then
        /usr/libexec/slint/lxpanel.sh &
fi
# Start DBUS session bus:
if [ -z "unix:abstract=/tmp/dbus-l1xRbhDV7d,guid=78d678faabd727a138b6aa2d599cf0b0" ];
   eval DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-FPDBsFF0B2,guid=5146eea72152
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=3330;
fi

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

rclock -update 1 -g +1120+0 -bg blue -fg orange &
asmon -su &
/usr/local/wmCalClock/wmCalClock -24 -g -S &
gkrellm &
[  -x /usr/bin/xfce4-notes ] && xfce4-notes &
0launch -- http://www.kerofin.demon.co.uk/2005/interfaces/NetStat &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
# We first remotely restart fluxbox so that the root menu includes the
# application menu from the first start.
# For this to work ~/.fluxbox/init includes this resource setting:
# session.screen0.allowRemoteActions: true
# Ref.: man fluxbox-remote and man startfluxbox.
fluxbox-remote restart
sleep 1

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log ~/.fluxbox/log
Coming from wmaker and clicking on Quit Fluxbox > Restart will still not restore settings in fluxbox.
Only a full logout does.

Post Reply