Increase number of desktop. Added shortcut to move across desktops and pages fvwm
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 02 Jul 2009 23:04:07 +0300
branchfvwm
changeset 400 9348e1ab74e8
parent 397 4876808c99b8
child 401 8c495cec24cd
Increase number of desktop. Added shortcut to move across desktops and pages and to move cursor.
.fvwm/config
--- a/.fvwm/config	Tue Mar 03 17:48:16 2009 +0200
+++ b/.fvwm/config	Thu Jul 02 23:04:07 2009 +0300
@@ -21,8 +21,10 @@
 
 DesktopSize 3x3
 DesktopName 0 Main
-DesktopName 1 Work
-DesktopName 2 Games
+DesktopName 1 Net
+DesktopName 2 Work
+DesktopName 3 Media
+DesktopName 4 Games
 # Percentage of a page to scroll when the cursor hits the edge of a page.
 # With 0 0 I cann't scroll to other page by hitting edge, but can move app to another page!
 # With 100 100 by hitting edge I move to next page.
@@ -194,6 +196,25 @@
 Key Print A N  FvwmScreenshot
 Key Print A S  FvwmDesktopScreenshot
 
+# Similar to Vi hjkl:
+#
+#              F11 - up
+# F9  - left              F12 - right
+#             F10 - down
+
+Key F10 A M GotoDesk +1 0 4
+Key F11 A M GotoDesk -1 0 4
+
+Key F9 A C GotoPage -1p -0p
+Key F10 A C GotoPage +0p +1p
+Key F11 A C GotoPage +0p -1p
+Key F12 A C GotoPage +1p +0p
+
+Key F9 A S CursorMove -50p +0p
+Key F10 A S CursorMove +0p +50p
+Key F11 A S CursorMove +0p -50p
+Key F12 A S CursorMove +50p +0p
+
 ###############
 # Window Decor.
 ###############
@@ -294,14 +315,16 @@
 *FvwmPager: Back $[FvwmPager_Inactive]
 *FvwmPager: BalloonBack $[FvwmPager_Active]
 *FvwmPager: Hilight  $[FvwmPager_Active]
-*FvwmPager: Geometry 80x300-0+0
+*FvwmPager: Geometry 80x500-0+0
 *FvwmPager: WindowColors $[FvwmPager_Inactive] $[FvwmPager_Inactive] $[FvwmPager_Active] $[FvwmPager_Active]
 *FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
 *FvwmPager: Balloons All
 *FvwmPager: BalloonFont "-Misc-Fixed-Medium-R-Normal-*-13-*-*-*-*-*-ISO10646-1"
 *FvwmPager: MiniIcons
 *FvwmPager: UseSkipList
-*FvwmPager: Rows 3
+*FvwmPager: LabelsAbove
+# As I use only columns row count calculated automatically.
+# *FvwmPager: Rows 5
 *FvwmPager: Columns 1
 
 # #########
@@ -346,7 +369,7 @@
 # First and after all restart.
 # All fvwm modules exit after restart fvwm, so you must put they there.
 AddToFunc StartFunction
-+ I Module FvwmPager 0 2
++ I Module FvwmPager 0 4
 + I Module FvwmAuto 1 -menter enter_handler
 # Add next to load desktop image (must be .xpm or .png)
 # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png