I've been using Fluxbox on my netbook, and have been very pleased. That is, with everything but one feature. I would really like it if I could use Fluxbox with the added functionality that when I use Alt+Tab it will show me the windows I am switching between. (As it does in Windows/Mac/GNOME/KDE/Xfce/…). Is there some app I can install that would do that? Or is the only resort to use a different GUI?
Alt+Tab on Fluxbox
fluxboxkeyboard shortcutswindow-manager
Related Solutions
For some apps (e.g. file-roller
) this can be fixed by changing the StartupNotify
key value from true
to false
in their respective .desktop
files (e.g. /usr/share/applications/file-roller.desktop
).
The above doesn't work for all apps (e.g. nautilus
) so another way to fix the problem would be a custom shell extension; just to give you an idea, you could easily fix nautilus
behavior like this: edit /usr/share/gnome-shell/js/ui/windowAttentionHandler.js
and add these three lines of code:
if (app.get_id() == "nautilus.desktop")
Main.activateWindow(window);
return;
after the following line:
let app = this._tracker.get_window_app(window);
so you end up with something like this:
let app = this._tracker.get_window_app(window);
if (app.get_id() == "nautilus.desktop")
Main.activateWindow(window);
return;
let source = new Source(app, window);
Main.messageTray.add(source);
However, it's not worth writing your own extension unless you want to target only some specific applications. For a global change it looks like there is an extension:
that overrides the "notification system" (it works fine here on gnome 3.8
).
Keep in mind the two files (extension.js
and metadata.json
) have to be placed in:
~/.local/share/gnome-shell/extensions/justshowthewindow@ryanlerch.org
Activate the extension via tweak-tool and restart the shell (Alt+F2 then r then Enter).
I also struggle with knowing which window has focus (irrespective of how it got i).
I have switched on the glow feature of oxygen theme in KDE's plasma. I now have a different glow around active and inactive windows. I also set a matching title bar colour. Green for active, and red glow / gray title bar and border for inactive (but the borders are very thin).
It has made a big difference.
I also set meta+tab to lower window (and move focus to new top window). No animation, just simply the glow moves.
I then added an effect to move slide back windows: window move (temporarily out of the way) to let the other pass. This helps me keep track of where things have gone (a sub-conscious hint, linked to real world physics).
I chose KDE plasma for these features. (You can install it and probably start it (replacing cinnamon) without even logging out.)
Best Answer
Traditional Alt-Tab (not only keyboard shortcut, but GUI list) may be achieved by alttab. It works nicely in fluxbox.
Install
alttab
.Disable/comment built-in non-GUI Alt-Tab in
/etc/X11/fluxbox/keys
or~/.fluxbox/keys
:Edit
~/.fluxbox/startup
: