# HG changeset patch # User Rohit Joshi # Date 1241440051 0 # Node ID c140bc2c4598c1edce6ffb1843ec3d6fdac4d99e # Parent dc36fa4b342c5eed2c4def2bdd4bad914667d6b2 pekwm: add custom keys, start and improve menu diff -r dc36fa4b342c -r c140bc2c4598 pekwm/stuff/etc/pekwm/keys --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pekwm/stuff/etc/pekwm/keys Mon May 04 12:27:31 2009 +0000 @@ -0,0 +1,345 @@ +INCLUDE = "vars" + +Global { +# - - ----------------------------------------------- - - +# Simple bindings to most frequently used actions. +# +# Adding your own frequently used actions is easy - +# just copy it over from CHAINS and edit the keypress! + #################################### + # custom slitaz shortcuts + ################################### + + # Menus + KeyPress = "Mod4 R" { Actions = "ShowMenu Root" } + KeyPress = "Mod4 space" { Actions = "ShowMenu Root" } + + # Switch Desktop + KeyPress = "Mod4 1" { Actions = "GotoWorkspace 1" } + KeyPress = "Mod4 2" { Actions = "GotoWorkspace 2" } + KeyPress = "Mod4 3" { Actions = "GotoWorkspace 3" } + KeyPress = "Mod4 4" { Actions = "GotoWorkspace 4" } + + # Simple Window Management + KeyPress = "Mod4 M" { Actions = "Toggle Maximized True True" } + KeyPress = "Mod4 F" { Actions = "Toggle FullScreen" } + KeyPress = "Mod4 Return" { Actions = "MoveResize" } + KeyPress = "Mod4 Q" { Actions = "Close" } + KeyPress = "Mod4 S" { Actions = "Toggle Shaded" } + KeyPress = "Mod4 I" { Actions = "Toggle Iconified" } + + # Alt+Tab + KeyPress = "Mod1 Tab" { Actions = "NextFrameMRU EndRaise" } + KeyPress = "Mod1 Shift Tab" { Actions = "PrevFrameMRU EndRaise" } + + #Resize + KeyPress = "Mod4 Return" { Actions = "MoveResize" } + #KeyPress = "Mod4 F1" { Actions = "Resize" } + #KeyPress = "Mod4 F2" { Actions = "Resize" } + #KeyPress = "Mod4 F3" { Actions = "Resize" } + + # Pekwm control + KeyPress = "Ctrl Mod1 Home" { Actions = "Exec subox tazctrlbox" } + KeyPress = "Mod4 V" { Actions = "Exec xterm -e alsamixer" } + + # External Application Commands + KeyPress = "Mod4 E" { Actions = "Exec $TERM" } + KeyPress = "Mod4 D" { Actions = "ShowCmdDialog" } + KeyPress = "Mod4 H" { Actions = "Toggle HarbourHidden" } + + + + #################################### + # Pekwm Default + #################################### + # Moving in frames + KeyPress = "Mod1 Ctrl Tab" { Actions = "NextFrame EndRaise" } + KeyPress = "Mod1 Ctrl Shift Tab" { Actions = "PrevFrame EndRaise" } + KeyPress = "Mod4 Tab" { Actions = "ActivateClientRel 1" } + KeyPress = "Mod4 Shift Tab" { Actions = "ActivateClientRel -1" } + KeyPress = "Mod4 Ctrl Right" { Actions = "MoveClientRel 1" } + KeyPress = "Mod4 Ctrl Left" { Actions = "MoveClientRel -1" } + + + # Moving in workspaces + KeyPress = "Mod4 5" { Actions = "GotoWorkspace 5" } + KeyPress = "Mod4 6" { Actions = "GotoWorkspace 6" } + KeyPress = "Mod4 7" { Actions = "GotoWorkspace 7" } + KeyPress = "Mod4 8" { Actions = "GotoWorkspace 8" } + KeyPress = "Mod4 9" { Actions = "GotoWorkspace 9" } + + #KeyPress = "Ctrl Mod1 Left" { Actions = "GotoWorkspace Left" } + #KeyPress = "Ctrl Mod1 Right" { Actions = "GotoWorkspace Right" } + KeyPress = "Ctrl Mod1 Left" { Actions = "HideAllMenus; GotoWorkspace Left" } + KeyPress = "Ctrl Mod1 Right" { Actions = "HideAllMenus; GotoWorkspace Right" } + KeyPress = "Ctrl Mod1 Up" { Actions = "SendToWorkspace Next; GoToWorkspace Next" } + KeyPress = "Ctrl Mod1 Down" { Actions = "SendToWorkspace Prev; GoToWorkspace Prev" } + + KeyPress = "Mod4 F1" { Actions = "SendToWorkspace 1" } + KeyPress = "Mod4 F2" { Actions = "SendToWorkspace 2" } + KeyPress = "Mod4 F3" { Actions = "SendToWorkspace 3" } + KeyPress = "Mod4 F4" { Actions = "SendToWorkspace 4" } + KeyPress = "Mod4 F5" { Actions = "SendToWorkspace 5" } + KeyPress = "Mod4 F6" { Actions = "SendToWorkspace 6" } + KeyPress = "Mod4 F7" { Actions = "SendToWorkspace 7" } + KeyPress = "Mod4 F8" { Actions = "SendToWorkspace 8" } + KeyPress = "Mod4 F9" { Actions = "SendToWorkspace 9" } + + # More window management + KeyPress = "Mod4 G" { Actions = "Maxfill True True" } + + # Marking + KeyPress = "Mod4 Z" { Actions = "Toggle Marked" } + KeyPress = "Mod4 A" { Actions = "AttachMarked" } + # Tagging + KeyPress = "Mod4 T" { Actions = "Toggle Tagged False" } + # Menus + KeyPress = "Mod4 W" { Actions = "ShowMenu Window" } + KeyPress = "Mod4 L" { Actions = "ShowMenu Goto" } + KeyPress = "Mod4 C" { Actions = "ShowMenu GotoClient" } + KeyPress = "Mod4 Shift I" { Actions = "ShowMenu Icon" } + KeyPress = "Mod4 X" { Actions = "HideAllMenus" } + + +# - - ----------------------------------------------- - - +# CHAINS. These give you access to just about everything. + # Move to Corner + Chain = "Ctrl Mod1 C" { + KeyPress = "Q" { Actions = "MoveToEdge TopLeft" } + KeyPress = "Y" { Actions = "MoveToEdge TopCenterEdge" } + KeyPress = "W" { Actions = "MoveToEdge TopCenterEdge" } + KeyPress = "Shift Y" { Actions = "MoveToEdge TopEdge" } + KeyPress = "Shift W" { Actions = "MoveToEdge TopEdge" } + KeyPress = "P" { Actions = "MoveToEdge TopRight" } + KeyPress = "E" { Actions = "MoveToEdge TopRight" } + KeyPress = "A" { Actions = "MoveToEdge LeftCenterEdge" } + KeyPress = "Shift A" { Actions = "MoveToEdge LeftEdge" } + KeyPress = "L" { Actions = "MoveToEdge RightCenterEdge" } + KeyPress = "D" { Actions = "MoveToEdge RightCenterEdge" } + KeyPress = "Shift L" { Actions = "MoveToEdge RightEdge" } + KeyPress = "Shift D" { Actions = "MoveToEdge RightEdge" } + KeyPress = "Z" { Actions = "MoveToEdge BottomLeft" } + KeyPress = "B" { Actions = "MoveToEdge BottomCenterEdge" } + KeyPress = "X" { Actions = "MoveToEdge BottomCenterEdge" } + KeyPress = "Shift B" { Actions = "MoveToEdge BottomEdge" } + KeyPress = "Shift X" { Actions = "MoveToEdge BottomEdge" } + KeyPress = "M" { Actions = "MoveToEdge BottomRight" } + KeyPress = "C" { Actions = "MoveToEdge BottomRight" } + KeyPress = "H" { Actions = "MoveToEdge Center" } + KeyPress = "S" { Actions = "MoveToEdge Center" } + } + # Menus + Chain = "Ctrl Mod1 M" { + KeyPress = "R" { Actions = "ShowMenu Root" } + KeyPress = "W" { Actions = "ShowMenu Window" } + KeyPress = "I" { Actions = "ShowMenu Icon" } + KeyPress = "G" { Actions = "ShowMenu Goto" } + KeyPress = "C" { Actions = "ShowMenu GotoClient" } + KeyPress = "D" { Actions = "ShowMenu Decor" } + KeyPress = "A" { Actions = "ShowMenu AttachClientInFrame" } + KeyPress = "F" { Actions = "ShowMenu AttachFrameInFrame" } + Keypress = "Shift A" { Actions = "ShowMenu AttachClient" } + Keypress = "Shift F" { Actions = "ShowMenu AttachFrame" } + KeyPress = "X" { Actions = "HideAllMenus" } + } + # Grouping + Chain = "Ctrl Mod1 T" { + KeyPress = "T" { Actions = "Toggle Tagged False" } + KeyPress = "B" { Actions = "Toggle Tagged True" } + KeyPress = "C" { Actions = "Unset Tagged" } + KeyPress = "G" { Actions = "Toggle GlobalGrouping" } + KeyPress = "M" { Actions = "Toggle Marked" } + KeyPress = "A" { Actions = "AttachMarked" } + KeyPress = "D" { Actions = "Detach" } + Keypress = "P" { Actions = "AttachClientInNextFrame" } + KeyPress = "O" { Actions = "AttachClientInPrevFrame" } + Keypress = "I" { Actions = "AttachFrameInNextFrame" } + KeyPress = "U" { Actions = "AttachFrameInPrevFrame" } + } + # Decor Toggles + Chain = "Ctrl Mod1 D" { + KeyPress = "B" { Actions = "Toggle DecorBorder" } + KeyPress = "T" { Actions = "Toggle DecorTitlebar" } + KeyPress = "D" { Actions = "Toggle DecorBorder; Toggle DecorTitlebar" } + } + # Window Actions + Chain = "Ctrl Mod1 A" { + Chain = "G" { + KeyPress = "G" { Actions = "MaxFill True True" } + KeyPress = "V" { Actions = "MaxFill False True" } + KeyPress = "H" { Actions = "MaxFill True False" } + } + Chain = "M" { + KeyPress = "M" { Actions = "Toggle Maximized True True" } + KeyPress = "V" { Actions = "Toggle Maximized False True" } + KeyPress = "H" { Actions = "Toggle Maximized True False" } + } + Chain = "Q" { + KeyPress = "Q" { Actions = "Close" } + KeyPress = "F" { Actions = "CloseFrame" } + KeyPress = "K" { Actions = "Kill" } + } + KeyPress = "S" { Actions = "Toggle Shaded" } + KeyPress = "A" { Actions = "Toggle Sticky" } + KeyPress = "O" { Actions = "Toggle AlwaysOnTop" } + KeyPress = "B" { Actions = "Toggle AlwaysBelow" } + KeyPress = "I" { Actions = "Set Iconified" } + KeyPress = "R" { Actions = "Raise" } + KeyPress = "Shift R" { Actions = "Raise True" } + KeyPress = "L" { Actions = "Lower" } + KeyPress = "Shift L" { Actions = "Lower True" } + KeyPress = "X" { Actions = "ActivateOrRaise" } + KeyPress = "Return" { Actions = "MoveResize" } + KeyPress = "F" { Actions = "Toggle Fullscreen" } + KeyPress = "Left" { Actions = "GrowDirection Left" } + KeyPress = "Right" { Actions = "GrowDirection Right" } + KeyPress = "Up" { Actions = "GrowDirection Up" } + KeyPress = "Down" { Actions = "GrowDirection Down" } + } + # Moving in Frames + Chain = "Ctrl Mod1 F" { + KeyPress = "P" { Actions = "NextFrame AlwaysRaise" } + KeyPress = "O" { Actions = "PrevFrame AlwaysRaise" } + KeyPress = "Shift P" { Actions = "NextFrameMRU EndRaise" } + KeyPress = "Shift O" { Actions = "PrevFrameMRU EndRaise" } + KeyPress = "I" { Actions = "ActivateClientRel 1" } + KeyPress = "U" { Actions = "ActivateClientRel -1" } + KeyPress = "Shift I" { Actions = "MoveClientRel 1" } + KeyPress = "Shift U" { Actions = "MoveClientRel -1" } + KeyPress = "Up" { Actions = "FocusDirectional Up" } + KeyPress = "Down" { Actions = "FocusDirectional Down" } + KeyPress = "Left" { Actions = "FocusDirectional Left" } + Keypress = "Right" { Actions = "FocusDirectional Right" } + KeyPress = "1" { Actions = "ActivateClientNum 1" } + KeyPress = "2" { Actions = "ActivateClientNum 2" } + KeyPress = "3" { Actions = "ActivateClientNum 3" } + KeyPress = "4" { Actions = "ActivateClientNum 4" } + KeyPress = "5" { Actions = "ActivateClientNum 5" } + KeyPress = "6" { Actions = "ActivateClientNum 6" } + KeyPress = "7" { Actions = "ActivateClientNum 7" } + KeyPress = "8" { Actions = "ActivateClientNum 8" } + KeyPress = "9" { Actions = "ActivateClientNum 9" } + KeyPress = "0" { Actions = "ActivateClientNum 10" } + KeyPress = "C" { Actions = "ShowCmdDialog GotoClientID " } + } + # Workspaces + Chain = "Ctrl Mod1 W" { + KeyPress = "Right" { Actions = "GoToWorkspace Right" } + KeyPress = "Left" { Actions = "GoToWorkspace Left" } + KeyPress = "N" { Actions = "GoToWorkspace Next" } + KeyPress = "P" { Actions = "GoToWorkspace Prev" } + KeyPress = "1" { Actions = "GoToWorkspace 1" } + KeyPress = "2" { Actions = "GoToWorkspace 2" } + KeyPress = "3" { Actions = "GoToWorkspace 3" } + KeyPress = "4" { Actions = "GoToWorkspace 4" } + KeyPress = "5" { Actions = "GoToWorkspace 5" } + KeyPress = "6" { Actions = "GoToWorkspace 6" } + KeyPress = "7" { Actions = "GoToWorkspace 7" } + KeyPress = "8" { Actions = "GoToWorkspace 8" } + KeyPress = "9" { Actions = "GoToWorkspace 9" } + KeyPress = "Up" { Actions = "SendToWorkspace Next; GoToWorkspace Next" } + KeyPress = "Down" { Actions = "SendToWorkspace Prev; GoToWorkspace Prev" } + KeyPress = "F1" { Actions = "SendToWorkspace 1" } + KeyPress = "F2" { Actions = "SendToWorkspace 2" } + KeyPress = "F3" { Actions = "SendToWorkspace 3" } + KeyPress = "F4" { Actions = "SendToWorkspace 4" } + KeyPress = "F5" { Actions = "SendToWorkspace 5" } + KeyPress = "F6" { Actions = "SendToWorkspace 6" } + KeyPress = "F7" { Actions = "SendToWorkspace 7" } + KeyPress = "F8" { Actions = "SendToWorkspace 8" } + KeyPress = "F9" { Actions = "SendToWorkspace 9" } + + } + # External commands + Chain = "Ctrl Mod1 E" { + KeyPress = "E" { Actions = "Exec $TERM" } + KeyPress = "L" { Actions = "Exec xlock -mode blank &" } + KeyPress = "S" { Actions = "Exec scrot &" } + KeyPress = "C" { Actions = "ShowCmdDialog" } + } + # Wm actions + Chain = "Ctrl Mod1 P" { + KeyPress = "Delete" { Actions = "Reload" } + KeyPress = "Next" { Actions = "Restart" } + KeyPress = "End" { Actions = "Exit" } + KeyPress = "Prev" { Actions = "RestartOther twm" } + KeyPress = "D" { Actions = "ShowCmdDialog" } + KeyPress = "H" { Actions = "Toggle HarbourHidden" } + } + # Skipping + Chain = "Ctrl Mod1 S" { + Keypress = "M" { Actions = "Toggle Skip Menus" } + Keypress = "F" { Actions = "Toggle Skip FocusToggle" } + Keypress = "S" { Actions = "Toggle Skip Snap" } + } +} + +# Keys when MoveResize is active +MoveResize { + Keypress = "Left" { Actions = "ResizeHorizontal -10" } + Keypress = "Right" { Actions = "ResizeHorizontal 10" } + Keypress = "Up" { Actions = "ResizeVertical -10" } + Keypress = "Down" { Actions = "ResizeVertical 10" } + KeyPress = "Mod4 Left" { Actions = "MoveHorizontal -10" } + KeyPress = "Mod4 Right" { Actions = "MoveHorizontal 10" } + KeyPress = "Mod4 Up" { Actions = "MoveVertical -10" } + KeyPress = "Mod4 Down" { Actions = "MoveVertical 10" } + Keypress = "s" { Actions = "MoveSnap" } + Keypress = "Escape" { Actions = "Cancel" } + Keypress = "q" { Actions = "Cancel" } + Keypress = "Return" { Actions = "End" } + # Extra Pekwm default keys + Keypress = "Mod1 Left" { Actions = "ResizeHorizontal -10" } + Keypress = "Mod1 Right" { Actions = "ResizeHorizontal 10" } + Keypress = "Mod1 Up" { Actions = "ResizeVertical -10" } + Keypress = "Mod1 Down" { Actions = "ResizeVertical 10" } + Keypress = "Shift Mod4 Left" { Actions = "ResizeHorizontal -1" } + Keypress = "Shift Mod4 Right" { Actions = "ResizeHorizontal 1" } + Keypress = "Shift Mod4 Up" { Actions = "ResizeVertical -1" } + Keypress = "Shift Mod4 Down" { Actions = "ResizeVertical 1" } + Keypress = "Shift Mod1 Left" { Actions = "ResizeHorizontal -1" } + Keypress = "Shift Mod1 Right" { Actions = "ResizeHorizontal 1" } + Keypress = "Shift Mod1 Up" { Actions = "ResizeVertical -1" } + Keypress = "Shift Mod1 Down" { Actions = "ResizeVertical 1" } + Keypress = "Shift Left" { Actions = "MoveHorizontal -1" } + Keypress = "Shift Right" { Actions = "MoveHorizontal 1" } + Keypress = "Shift Up" { Actions = "MoveVertical -1" } + Keypress = "Shift Down" { Actions = "MoveVertical 1" } + +} + +# Keys for CmdDialog editing +InputDialog { + KeyPress = "Left" { Actions = "CursPrev" } + KeyPress = "Right" { Actions = "CursNext" } + KeyPress = "Ctrl A" { Actions = "CursBegin" } + KeyPress = "Ctrl E" { Actions = "CursEnd" } + KeyPress = "BackSpace" { Actions = "Erase;CompleteAbort" } + KeyPress = "Ctrl K" { Actions = "ClearFromCursor" } + KeyPress = "Ctrl C" { Actions = "Clear" } + KeyPress = "Return" { Actions = "Exec" } + KeyPress = "Escape" { Actions = "Close" } + KeyPress = "Up" { Actions = "HistPrev" } + KeyPress = "Down" { Actions = "HistNext" } + KeyPress = "Ctrl P" { Actions = "HistPrev" } + KeyPress = "Ctrl N" { Actions = "HistNext" } + KeyPress = "Ctrl B" { Actions = "CursPrev" } + KeyPress = "Ctrl F" { Actions = "CursNext" } + KeyPress = "Tab" { Actions = "Complete" } + KeyPress = "Any Any" { Actions = "Insert" } +} + +# Keys working in menus +Menu { + KeyPress = "Down" { Actions = "NextItem" } + KeyPress = "Up" { Actions = "PrevItem" } + KeyPress = "Ctrl N" { Actions = "NextItem" } + KeyPress = "Ctrl P" { Actions = "PrevItem" } + KeyPress = "Left" { Actions = "LeaveSubmenu" } + KeyPress = "Right" { Actions = "EnterSubmenu" } + KeyPress = "Return" { Actions = "Select" } + KeyPress = "space" { Actions = "Select" } + KeyPress = "Escape" { Actions = "Close" } + KeyPress = "Q" { Actions = "Close" } +} + diff -r dc36fa4b342c -r c140bc2c4598 pekwm/stuff/etc/pekwm/menu --- a/pekwm/stuff/etc/pekwm/menu Mon May 04 17:29:15 2009 +0000 +++ b/pekwm/stuff/etc/pekwm/menu Mon May 04 12:27:31 2009 +0000 @@ -8,16 +8,31 @@ Entry = "Terminal" { Icon = "$PIXMAPS/xterm.png"; Actions = "Exec $TERM &" } Entry = "Text Editor" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec leafpad &" } Entry = "Web Browser" { Icon = "$PIXMAPS/firefox.png"; Actions = "Exec firefox &" } + Entry = "File Manager" { Icon = "$PIXMAPS/pcmanfm.png"; Actions = "Exec pcmanfm &" } + Entry = "Image Viewer" { Icon = "$PIXMAPS/gpicview.png"; Actions = "Exec gpicview &" } + Entry = "Burn CD/DVD" { Icon = "$PIXMAPS/isomaster.png"; Actions = "Exec burnbox &" } + #Entry = "MPlayer" { Icon = "$PIXMAPS/mplayer.png"; Actions = "Exec gmplayer &" } } Submenu = "Web Applications" { Entry = "Wikipedia Encyclopedia" { Icon = "$PIXMAPS/wikipedia.png"; Actions = "Exec firefox http://www.wikipedia.org/ &" } + Entry = "Zoho Office" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec firefox http://www.zoho.com/ &" } + Entry = "Meebo Messenger" { Icon = "$PIXMAPS/lostirc.png"; Actions = "Exec firefox http://www.meebo.com/ &" } } Submenu = "All Applications" { Entry = "" { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm-freedesktop-menu.sh" } } Submenu = "Documentation" { Entry = "System documentation" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/slitaz/index.html &" } + Entry = "Tazlito Manual" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/tazlito/tazlito.html &" } + Entry = "Tazpkg Manual" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/tazpkg/tazpkg.html &" } + Entry = "Tazusb Manual" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/tazusb/tazusb.html &" } + Entry = "Tazwok Manual" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/tazwok/tazwok.html &" } } + Submenu = "Slitaz Live CD/USB" { + Entry = "Tazlito" { Icon = "$PIXMAPS/tazlito.png"; Actions = "Exec subox tazlitobox &" } + Entry = "Tazusb" { Icon = "$PIXMAPS/tazlito.png"; Actions = "Exec subox tazusbbox &" } + } + Entry = "Run.." { Actions = "ShowCmdDialog" } Separator {} @@ -39,12 +54,19 @@ Entry { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_themeset.sh /usr/share/pekwm/themes" } Entry { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_themeset.sh ~/.pekwm/themes" } } + Submenu = "Pekwm Configuration" { + Entry = "Change config" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec geany ~/.pekwm/config &" } + Entry = "Customize Menu" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec geany ~/.pekwm/menu &" } + Entry = "Keyboard Shortcuts" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec geany ~/.pekwm/keys &" } + Entry = "Mouse Actions" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec geany ~/.pekwm/mouse &" } + Entry = "Auto start" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec geany ~/.pekwm/start &" } + } Submenu = "Exit to" { Entry = "Xterm" { Actions = "RestartOther xterm" } Entry = "Openbox" { Actions = "RestartOther openbox" } } Entry = "Reload" { Actions = "Reload" } - #Entry = "Restart" { Actions = "Restart" } + Entry = "Restart" { Actions = "Restart" } } Entry = "Exit" { Actions = "Exit" } } diff -r dc36fa4b342c -r c140bc2c4598 pekwm/stuff/etc/pekwm/start --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pekwm/stuff/etc/pekwm/start Mon May 04 12:27:31 2009 +0000 @@ -0,0 +1,53 @@ +#!/bin/sh +# PekWM start file +# This file is a simple shell script; It gets run on pekwm startup, after +# the theme and all config has loaded if it is set executable +# (chmod +x start). +# +# This is different from ~/.xinitrc because a normal configuration of +# .xinitrc you'll run all commands, then launch the window manager last. +# +# It also gets re-run every time pekwm is restarted. +# +# As for it's usefulness, well, it's up to you. I actually set my background +# from my start file; since it runs after the theme gets loaded, this +# effectively overrides whatever's in the theme. +# +# There's probably a few other good uses for it, too. I mainly pushed for it +# because when I was doing fluxbox's docs, people used to complain that there +# wasn't one, and I wanted to avoid that for pekwm. ;) --eyez + +# DBUS message bus (automount removables devices) +dbus-launch --exit-with-session & + +#ivman +ivman & + +# Start PCmanFM as deamon for Wallpaper and desktop icons. +pcmanfm -d & + +# Start the panel. +lxpanel & + +# start tint2 taskbar and system tray +#tint2 & + +#start wbar launcher +# wbar -jumpf 0 -above-desk -pos top -nanim 3 -zoomf 3.5 -idist 10 -isize 20 -bpress -balfa 0 & + +# Start Pacellite clipboard. +#parcellite & + +# Desktop effects +#xcompmgr -c -r 10 & + +# Set a background image using hsetroot (depends on imlib2). +#hsetroot -fill /usr/share/images/slitaz-background.png & + +# Background color with xsetroot. +#xsetroot -solid "#222222" & + +# Fix keyboard if special keys (Win or Super, Delete etc) are not automatically identified by Xvesa (also needs evdev) +# setxkbmap -model evdev & + +