!!!!!!!!!!!!!!!!!!!!!!!! ! larswm configuration ! !!!!!!!!!!!!!!!!!!!!!!!! ! Color scheme used with xsetroot -solid darkgray ! larswm.foreground: yellow larswm.background: blue ! Desktop names - first monitor ! larswm.0.0.dtname: [0---] larswm.0.1.dtname: [-1--] larswm.0.2.dtname: [--2-] larswm.0.3.dtname: [---3] ! Add a shortcut for starting a new terminal ! This emulates the old behaviour ! larswm.application.0: xterm larswm.application_key.0: Return larswm.application_mod.0: Shift+Control ! Add a shortcut for restarting larswm ! larswm.application.1: larsremote restart larswm.application_key.1: r larswm.application_mod.1: Shift+Control+Alt ! Add a shortcut for exiting larswm ! larswm.application.2: sleep 1 && larsremote exit ! sleep 1 because else password works bad in xdm larswm.application_key.2: q larswm.application_mod.2: Shift+Control+Alt ! Add a shortcut for redrawing the screen ! larswm.application.3: xrefresh larswm.application_key.3: l larswm.application_mod.3: Control+Alt ! Add a shortcut for Netscape ! larswm.application.6: netscape larswm.application_key.6: n larswm.application_mod.6: Shift+Control ! Add a shortcut for blackscreen ! !larswm.application.7: /home/phil/bin/blackscreen larswm.application.7: sleep 1 && xset s activate larswm.application_key.7: Meta_L larswm.application_mod.7: Alt+Control ! Add a shortcut for changing the background ! larswm.application.8: /home/phil/bin/background.tcl larswm.application_key.8: Meta_L larswm.application_mod.8: Shift+Control+Alt ! Other way to launch an xterm and netscape ! larswm.application.9: xterm larswm.application_key.9: Menu larswm.application.10: netscape larswm.application_key.10: Menu larswm.application_mod.10: Control ! Add some shortcut to connect to the Internet ! larswm.application.11: pon larswm.application_key.11: Meta_L larswm.application_mod.11: Alt larswm.application.12: poff larswm.application_key.12: Meta_L larswm.application_mod.12: Control larswm.application.13: pon free larswm.application_key.13: Meta_L larswm.application_mod.13: Shift+Control ! Connect + Get Mail larswm.application.14: xterm -e ~/bin/ponm & larswm.application_key.14: Return larswm.application_mod.14: Control+Alt ! Add shortcut to move mouse in the middle bottom of the screen ! larswm.application.15: movemouse -x 512 -y 780 larswm.application_key.15: Multi_key larswm.application.16: movemouse -x 512 -y 780 larswm.application_key.16: Meta_L ! Add shortcut to manipulate the CD audio ! ! play CD larswm.application.20: pcd play larswm.application_key.20: F9 larswm.application_mod.20: Shift+Control ! toggle CD pause larswm.application.21: pcd toggle larswm.application_key.21: F10 larswm.application_mod.21: Shift+Control ! stop CD larswm.application.22: pcd stop larswm.application_key.22: F11 larswm.application_mod.22: Shift+Control ! eject CD larswm.application.23: pcd eject larswm.application_key.23: F12 larswm.application_mod.23: Shift+Control ! These are the windows I want tiled ! larswm.dotileclass.0: XTerm~xterm larswm.dotileclass.1: Netscape~Navigator ! Assign all new Netscape windows to the WWW desktop ! larswm.dtclass.0: Netscape larswm.dtnum.0: 1 ! Use a wider left track on the WWW desktop ! larswm.?.?.left_track_width: 80 larswm.0.1.left_track_width: 95 ! Don't resize windows on the WWW desktop ! larswm.?.?.tile_resize: False ! Key bindings: (Modifiers: Shift, Lock, Control, Mod1 or Alt, Mod2, Mod3, Mod4 and Mod5) ! larswm.hide_key: less larswm.hide_mod: Control+Shift larswm.unhide_key: w larswm.unhide_mod: Control+Shift larswm.close_key: x larswm.close_mod: Control+Shift larswm.grow_horiz_key: Right larswm.grow_horiz_mod: Shift+Control+Alt larswm.shrink_horiz_key: Left larswm.shrink_horiz_mod: Shift+Control+Alt larswm.zoom_full_key: Up larswm.zoom_full_mod: Control+Shift+Alt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! Default configuration !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Version: larswm 7.0.13 by Lars Bernhardsson ! ! If you edit this, do not forget to uncomment any lines that you change. ! ! ! Status bar and window border colors: ! ! larswm.foreground: black ! larswm.background: white ! ! Status bar font: ! ! larswm.font: fixed ! ! Number of virtual desktops per physical screen: (1 - 16) ! ! larswm.desktops: 4 ! ! Virtual desktop names: ! ! larswm.?.0.dtname: Zero ! larswm.?.1.dtname: One ! larswm.?.2.dtname: Two ! larswm.?.3.dtname: Three ! ! Resize windows when tiling? (If not, move to and stack in right track) ! ! larswm.?.?.tile_resize: True ! ! Width of left track in percent: (5-95) ! ! larswm.?.?.left_track_width: 65 ! ! Don't retile on focus change? ! ! larswm.?.?.skip_focus: True ! ! When clicking to focus, also pass click on to client? ! ! larswm.?.?.clickthru: True ! ! Application commands for shortcuts: ! Add one line for each application. Must have different numbers between 0 and 63. ! ! larswm.application.0: command ! ! Application commands for mouse clicks: ! ! larswm.button1.application: command ! larswm.button2.application: command ! larswm.button3.application: command ! ! * In all the class lists, the Instance is optional * ! ! Tool applications: (Will NOT be tiled, will be tiled around and will be sticky) ! Add one line for each class. Must have different numbers between 0 and 63. ! ! larswm.toolclass.0: Class~Instance ! ! Floating applications: (Will always stay on top of other applications) ! Add one line for each class. Must have different numbers between 0 and 63. ! ! larswm.floatclass.0: Class~Instance ! ! Sticky applications: (Will be visible on all virtual desktops) ! Add one line for each class. Must have different numbers between 0 and 63. ! ! larswm.stickyclass.0: Class~Instance ! ! Applications to include in tiling: (Will be put in the tiled subdesktop) ! Add one line for each class. Must have different numbers between 0 and 63. ! ! larswm.dotileclass.0: Class~Instance ! ! Associate a window class with a desktop number: ! Must provide both class and desktop number. ! ! larswm.dtclass.0: Class~Instance ! larswm.dtnum.0: 0 ! ! Key bindings: (Modifiers: Shift, Lock, Control, Mod1 or Alt, Mod2, Mod3, Mod4 and Mod5) ! ! larswm.prev_screen_key: Prior ! larswm.prev_screen_mod: Shift+Control ! ! larswm.next_screen_key: Next ! larswm.next_screen_mod: Shift+Control ! ! larswm.prev_desktop_key: Left ! larswm.prev_desktop_mod: Shift+Control ! ! larswm.next_desktop_key: Right ! larswm.next_desktop_mod: Shift+Control ! ! larswm.prev_window_key: Up ! larswm.prev_window_mod: Shift+Control ! ! larswm.next_window_key: Down ! larswm.next_window_mod: Shift+Control ! ! larswm.move_northwest_key: KP_Home ! larswm.move_northwest_mod: Shift+Control ! ! larswm.move_north_key: KP_Up ! larswm.move_north_mod: Shift+Control ! ! larswm.move_northeast_key: KP_Prior ! larswm.move_northeast_mod: Shift+Control ! ! larswm.move_west_key: KP_Left ! larswm.move_west_mod: Shift+Control ! ! larswm.move_center_key: KP_Begin ! larswm.move_center_mod: Shift+Control ! ! larswm.move_east_key: KP_Right ! larswm.move_east_mod: Shift+Control ! ! larswm.move_southwest_key: KP_End ! larswm.move_southwest_mod: Shift+Control ! ! larswm.move_south_key: KP_Down ! larswm.move_south_mod: Shift+Control ! ! larswm.move_southeast_key: KP_Next ! larswm.move_southeast_mod: Shift+Control ! ! larswm.toggle_inc_key: KP_Insert ! larswm.toggle_inc_mod: Shift+Alt ! ! larswm.move_up_key: KP_Up ! larswm.move_up_mod: Shift+Alt ! ! larswm.move_down_key: KP_Down ! larswm.move_down_mod: Shift+Alt ! ! larswm.move_left_key: KP_Left ! larswm.move_left_mod: Shift+Alt ! ! larswm.move_right_key: KP_Right ! larswm.move_right_mod: Shift+Alt ! ! larswm.grow_vert_key: KP_Up ! larswm.grow_vert_mod: Shift+Control+Alt ! ! larswm.shrink_vert_key: KP_Down ! larswm.shrink_vert_mod: Shift+Control+Alt ! ! larswm.grow_horiz_key: KP_Right ! larswm.grow_horiz_mod: Shift+Control+Alt ! ! larswm.shrink_horiz_key: KP_Left ! larswm.shrink_horiz_mod: Shift+Control+Alt ! ! larswm.grow_both_key: KP_Home ! larswm.grow_both_mod: Shift+Control+Alt ! ! larswm.shrink_both_key: KP_End ! larswm.shrink_both_mod: Shift+Control+Alt ! ! larswm.zoom_vert_key: KP_Home ! larswm.zoom_vert_mod: Shift+Alt ! ! larswm.zoom_horiz_key: KP_End ! larswm.zoom_horiz_mod: Shift+Alt ! ! larswm.zoom_full_key: KP_Begin ! larswm.zoom_full_mod: Shift+Alt ! ! larswm.hide_key: z ! larswm.hide_mod: Control+Alt ! ! larswm.unhide_key: x ! larswm.unhide_mod: Control+Alt ! ! larswm.close_key: w ! larswm.close_mod: Control+Alt ! ! Desktop shortcuts: Defaults are provided for the first 12 desktops, F1-F12. ! If you have more than 12 desktops, you will have to add key bindings for them ! or just use prev/next desktop to get to where you want. ! ! larswm.goto_desktop_key.0: F1 ! larswm.goto_desktop_mod.0: Shift+Control ! ! Application shortcuts: ! Use this to add keyboard shortcuts for the larswm.application[] entries. ! ! larswm.application_key.0: KeySym ! larswm.application_mod.0: Modifier ! ! End of larswm configuration.