Setting up Fluxbox

init & anti-aliasing

vi ~/.fluxbox/init

session.screen0.antialias:      true
session.screen0.workspaces:     10

vi ~/.Xresources

Xft.antialias: true

~/.Xresources

menu

vi ~/.fluxbox/menu

[encoding] {UTF-8}
    [exec] (terminator) {terminator}
    [exec] (rxvt) {rxvt}
    [exec] (setxkbmap us) {setxkbmap us}
    [exec] (setxkbmap ru) {setxkbmap ru}
    [exec] (firefox) {firefox}
    [exec] (thunderbird) {thunderbird}
    [exec] (fbrun) {fbrun}

keys

#xmodmap
#xev

vi ~/.fluxbox/keys

# Tiling
Mod1 Left :MacroCmd {ResizeTo 50% 100%} {MoveTo 00 00 Left}
Mod1 Right :MacroCmd {ResizeTo 50% 100%} {MoveTo 00 00 Right}
Mod1 Up :MacroCmd {ResizeTo 100% 50%} {MoveTo 00 00 Up}
Mod1 Down :MacroCmd {ResizeTo 100% 50%} {MoveTo 00 00 Bottom}
Mod1 Return :ToggleCmd {Maximize} {Restore}

# open a terminal
Mod1 grave :Exec terminator

# current window commands
Mod1 q:Close
Mod1 k :Kill

# change to a specific workspace
Mod1 1 :Workspace 1
Mod1 2 :Workspace 2
Mod1 3 :Workspace 3
Mod1 4 :Workspace 4
Mod1 5 :Workspace 5
Mod1 6 :Workspace 6
Mod1 7 :Workspace 7
Mod1 8 :Workspace 8
Mod1 9 :Workspace 9
Mod1 0 :Workspace 10

# send the current window to a specific workspace
Mod4 1 :SendToWorkspace 1
Mod4 2 :SendToWorkspace 2
Mod4 3 :SendToWorkspace 3
Mod4 4 :SendToWorkspace 4
Mod4 5 :SendToWorkspace 5
Mod4 6 :SendToWorkspace 6
Mod4 7 :SendToWorkspace 7
Mod4 8 :SendToWorkspace 8
Mod4 9 :SendToWorkspace 9
Mod4 0 :SendToWorkspace 10

resources

Fluxbox http://bhepple.com/doku/doku.php?id=fluxbox

Native Window Snapping / Window Tiling with Fluxbox, Openbox, and xfwm4 (Xfce) https://abchk1234.wordpress.com/2015/02/01/native-window-snapping-window-tiling-with-fluxbox-openbox-and-xfwm4-xfce/

X resources https://wiki.archlinux.org/index.php/X_resources

switch keyboard layout http://fluxbox-wiki.org/Switch_Keyboard_layout.html


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun