author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 27 Aug 2012 22:51:40 +0300 | |
changeset 512 | 86bcf15b2670 |
parent 509 | 08ee4edb6e45 |
child 513 | 76730b49f79e |
permissions | -rw-r--r-- |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
1 |
# -*- mode: fvwm; fill-column: 90 -*- |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
478
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
3 |
################################################################ |
496
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
4 |
# Help on syntax. |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
5 |
|
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
6 |
# DestroyFunc FuncName |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
7 |
# AddToFunc FuncName |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
8 |
# + I (Action to happen immediately) |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
9 |
# + C (Action to happen on a mouse 'click) |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
10 |
# + D (Action to happen on a mouse 'double click') |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
11 |
# + H (Action to happen on a mouse 'hold') |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
12 |
# + M (Action to happen on a mouse 'motion') |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
13 |
|
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
14 |
# Mouse [(window)] Button Context Modifiers Function |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
15 |
# Button |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
16 |
# 1 left |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
17 |
# 2 right |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
18 |
# 3 middle |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
19 |
# Context |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
20 |
# ’R’ for the root window |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
21 |
# ’W’ for an application window |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
22 |
# ’D’ for a desktop application (as kdesktop or Nautilus desktop) |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
23 |
# ’T’ for a window title-bar |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
24 |
# ’S’ for a window side, top, or bottom bar, |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
25 |
# ’[’, ’]’, ´-’ and ’_’ for the left, right, top or bottom side only |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
26 |
# ’F’ for a window frame (the corners), |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
27 |
# ’<’, ’^’, ’>’ and ’v’ for the top left, top right, bottom right or bottom left corner, |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
28 |
# ’I’ for an icon window |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
29 |
# ’0’ through ’9’ for title-bar buttons |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
30 |
# ’A’ is for any context |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
31 |
# Modifiers |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
32 |
# ’N’ for no modifiers |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
33 |
# ’C’ for control |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
34 |
# ’S’ for shift |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
35 |
# ’M’ for Meta |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
36 |
# ’L’ for Caps-Lock |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
37 |
# ’A’ for any modifier |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
38 |
|
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
39 |
# Key [(window)] Keyname Context Modifiers Function |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
40 |
# See Keyname on /usr/include/X11/keysymdef.h, without the XK_ prefix. |
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
41 |
|
b171f9bbc70f
Move help text to separate section.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
495
diff
changeset
|
42 |
################################################################ |
478
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
43 |
# Set paths. |
353 | 44 |
|
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
45 |
m4_define(`m4_IMGPATH', `$[FVWM_USERDIR]/images')m4_dnl |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
46 |
m4_define(`m4_ICONPATH', `$[FVWM_USERDIR]/icons')m4_dnl |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
47 |
|
478
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
48 |
ModulePath $[FVWM_USERDIR]:+ |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
49 |
ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ |
353 | 50 |
|
506
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
51 |
# Debian paths. |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
52 |
ImagePath +:/usr/share/icons/gnome/32x32/apps |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
53 |
ImagePath +:/usr/share/icons/locolor/32x32/apps |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
54 |
ImagePath +:/usr/share/icons/hicolor/32x32/apps |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
55 |
ImagePath +:/usr/include/X11/bitmaps/ |
508 | 56 |
# This paths contain large icons for some apps, they make menus look ugly... |
506
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
57 |
# ImagePath +:/usr/share/icons |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
58 |
# ImagePath +:/usr/share/pixmaps |
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
59 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
60 |
################################################################ |
498
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
61 |
# Set aliases to common values. |
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
62 |
|
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
63 |
m4_define(`m4_MONOFONT', `-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1')m4_dnl |
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
64 |
# As args expected class name. |
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
65 |
m4_define(`m4_XTERM_MC',`xterm -name $1 -fn "'m4_MONOFONT`" -geometry 136x42 -e bash -i -c "mc -x"')m4_dnl |
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
66 |
|
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
67 |
################################################################ |
495
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
68 |
# Startup functions. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
69 |
|
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
70 |
# Define places for autoloaded programs. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
71 |
# StartsOnPage [desk [x y]] |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
72 |
Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
73 |
Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
74 |
Style "goldendict" StartsOnPage 3 1 2, SkipMapping |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
75 |
Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
76 |
|
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
77 |
# Run only om sturtup. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
78 |
DestroyFunc InitFunction |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
79 |
AddToFunc InitFunction |
498
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
80 |
+ I Exec exec m4_XTERM_MC(`mc-main1') |
ee4c76abe7a8
Set aliases to common values.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
497
diff
changeset
|
81 |
+ I Exec exec m4_XTERM_MC(`mc-main2') |
495
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
82 |
+ I Exec exec goldendict |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
83 |
# Right offset: 80 from FvwmPager + 2*6 from border = 92. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
84 |
+ I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
85 |
|
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
86 |
# Run after each restart. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
87 |
DestroyFunc RestartFunction |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
88 |
AddToFunc RestartFunction |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
89 |
|
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
90 |
# Run at sturtup and after each restart. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
91 |
# All fvwm modules exit after restart Fvwm, so you must put they there. |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
92 |
DestroyFunc StartFunction |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
93 |
AddToFunc StartFunction |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
94 |
# + I Module FvwmDebug --xconsole |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
95 |
# + I KillModule FvwmDebug |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
96 |
# + I Module FvwmGtkDebug |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
97 |
# + I Module FvwmConsole |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
98 |
+ I Module FvwmPager 0 4 |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
99 |
+ I Module FvwmKbdd.pl |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
100 |
# Add next to load desktop image (must be .xpm or .png) |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
101 |
# + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png |
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
102 |
|
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
103 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
104 |
# Virtual Desktops. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
105 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
106 |
DesktopSize 3x3 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
107 |
DesktopName 0 Main |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
108 |
DesktopName 1 Net |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
109 |
DesktopName 2 Work |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
110 |
DesktopName 3 Media |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
111 |
DesktopName 4 Games |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
112 |
# Percentage of a page to scroll when the cursor hits the edge of a page. |
495
c922ed36372c
Move startup section to top to allow subsequent 'AddToFunc' call without
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
113 |
# With 0 0 I can't scroll to other page by hitting edge, but can move app to another page! |
365
b7fad6fee9cb
Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
364
diff
changeset
|
114 |
# With 100 100 by hitting edge I move to next page. |
b7fad6fee9cb
Do not scroll to other page by hitting edge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
364
diff
changeset
|
115 |
EdgeScroll 0 0 |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
116 |
# Tells how hard it should be to change the desktop viewport by moving the mouse over the |
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
117 |
# edge of the screen and how hard it should be to move a window over the edge of the screen. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
118 |
EdgeResistance 150 150 |
390
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
119 |
# Width or height of the invisible window that fvwm creates on the edges of the screen that |
4944184fa48b
Move some info from .fvwm2rc to config.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
389
diff
changeset
|
120 |
# are used for the edge scrolling feature. |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
121 |
EdgeThickness 1 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
122 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
123 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
124 |
# Mouse and Focus Behavior. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
125 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
126 |
ClickTime 350 |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
127 |
MoveThreshold 3 |
501
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
128 |
# GrabFocusTransient |
374
4b4bdc7e6c9d
Added default X icons.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
373
diff
changeset
|
129 |
Style "*" SloppyFocus, MouseFocusClickRaises |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
130 |
|
499
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
131 |
*FvwmEvent-NewWindow: Cmd |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
132 |
*FvwmEvent-NewWindow: PassId |
512
86bcf15b2670
Add delay between 'MyFuncFocusWindow' calls to allow kill "bad" applications.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
509
diff
changeset
|
133 |
*FvwmEvent-NewWindow: Delay 1 |
499
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
134 |
*FvwmEvent-NewWindow: StartDelay 10 |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
135 |
*FvwmEvent-NewWindow: add_window MyFuncFocusWindow |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
136 |
|
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
137 |
DestroyFunc MyFuncFocusWindow |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
138 |
AddToFunc MyFuncFocusWindow |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
139 |
+ I FlipFocus |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
140 |
+ I WarpToWindow 50 50 |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
141 |
|
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
142 |
AddToFunc StartFunction I Module FvwmEvent |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
143 |
AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow |
9e77ac0fc429
Focus to new windows automatically.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
498
diff
changeset
|
144 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
145 |
################################################################ |
353 | 146 |
# Program Styles. |
355 | 147 |
|
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
148 |
Style "*" Icon app/x-32x32.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
149 |
MiniIcon app/x-flex-16x16.xpm |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
150 |
Style "XTerm" Icon app/terminal-16x16.xpm, \ |
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
151 |
MiniIcon app/terminal-16x16.xpm |
391
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
152 |
Style "rxvt" Icon app/terminal-16x16.xpm, \ |
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
153 |
MiniIcon app/terminal-16x16.xpm |
385
dd621eec0cdf
Load stradict and mc on statrup of fvwm on specific page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
384
diff
changeset
|
154 |
Style "mc-*" Icon app/mc-16x16.xpm, \ |
383
dee791248193
Move apps icon to icons/app.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
381
diff
changeset
|
155 |
MiniIcon app/mc-16x16.xpm |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
156 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
157 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
158 |
# FvwmTaskBar. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
159 |
|
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
160 |
Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
161 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
162 |
################################################################ |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
163 |
# Screenshot Functions (uses ImageMagick). |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
164 |
|
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
165 |
m4_define(`m4_SCREENSHOTPATH', `$[HOME]/.screenshot')m4_dnl |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
166 |
m4_changequote(`<--', `-->')m4_dnl |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
167 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
168 |
DestroyFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
169 |
AddToFunc FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
170 |
+ I Exec import -window $[w.id] -quality 100 -silent \ |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
171 |
"m4_SCREENSHOTPATH/$[w.class]-`date +%F[%R]`.png" |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
172 |
|
405
3b7b3d154835
Make pause in 5 second before screenshot makes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
404
diff
changeset
|
173 |
# Remember there is 5 seconds pause before screenshot makes! |
406
c3ea63f9192a
Added info about alternative screenshot command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
405
diff
changeset
|
174 |
# For alternative screenshot command with delay you may use: scrot -d <sec> <file> |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
175 |
DestroyFunc FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
176 |
AddToFunc FvwmDesktopScreenshot |
405
3b7b3d154835
Make pause in 5 second before screenshot makes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
404
diff
changeset
|
177 |
+ I Exec import -window root -quality 100 -pause 5 -silent \ |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
178 |
"m4_SCREENSHOTPATH/Desktop-`date +%F-[%H:%M:%S]`.png" |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
179 |
|
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
180 |
DestroyFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
181 |
AddToFunc FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
182 |
+ I Exec import -quality 100 -silent \ |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
183 |
"m4_SCREENSHOTPATH/App-`date +%F-[%H:%M:%S]`.png" |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
184 |
|
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
185 |
m4_changequote`'m4_dnl |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
186 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
187 |
################################################################ |
355 | 188 |
# Basic Functions. |
189 |
||
190 |
DestroyFunc FvwmDeleteOrDestroy |
|
191 |
AddToFunc FvwmDeleteOrDestroy |
|
192 |
+ H Nop |
|
193 |
+ M Nop |
|
194 |
+ C Delete |
|
195 |
+ D Destroy |
|
196 |
||
197 |
DestroyFunc FvwmIconifyOrShade |
|
198 |
AddToFunc FvwmIconifyOrShade |
|
199 |
+ C Iconify |
|
200 |
+ D WindowShade |
|
201 |
||
202 |
DestroyFunc FvwmMaximize |
|
203 |
AddToFunc FvwmMaximize |
|
204 |
+ H Nop |
|
205 |
+ M Nop |
|
206 |
+ C Maximize $0 $1 |
|
207 |
||
208 |
DestroyFunc FvwmMoveOrIconify |
|
209 |
AddToFunc FvwmMoveOrIconify |
|
373
f6339c261ce9
Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
372
diff
changeset
|
210 |
+ I Raise |
355 | 211 |
+ M Move |
212 |
+ D Iconify |
|
213 |
||
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
214 |
################################################################ |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
215 |
# Mouse binding. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
216 |
|
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
217 |
# Setup title-bar button actions. |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
218 |
Mouse 1 1 A FvwmDeleteOrDestroy |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
219 |
Mouse 1 3 A FvwmIconifyOrShade |
388
38c75446897a
Pager always on top.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
387
diff
changeset
|
220 |
Mouse 1 5 A FvwmMaximize 100 100 |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
221 |
Mouse 2 5 A FvwmMaximize 100 0 |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
222 |
Mouse 3 5 A FvwmMaximize 0 100 |
373
f6339c261ce9
Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
372
diff
changeset
|
223 |
Mouse 1 TI A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
224 |
|
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
225 |
# Move windows by right mouse button (pressing anywhere in a window’s border |
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
226 |
# except the title-bar buttons). |
373
f6339c261ce9
Move by right key, raise by left key click on title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
372
diff
changeset
|
227 |
Mouse 3 FST A FvwmMoveOrIconify |
371
fcd8b02fba87
Exchange code to clear view.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
228 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
229 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
230 |
# Key binding. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
231 |
|
492 | 232 |
# Used by WindowList to raise selected windows and to pass focus to it. |
366
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
233 |
DestroyFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
234 |
AddToFunc WindowListFunc |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
235 |
+ I Iconify off |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
236 |
+ I FlipFocus |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
237 |
+ I Raise |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
238 |
# Place mouse pointer in center of window. |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
239 |
+ I WarpToWindow 50 50 |
3bcf71fa5017
Place mouse pointer in center of window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
365
diff
changeset
|
240 |
|
364
b49fffbffdf5
Prevent show long title.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
363
diff
changeset
|
241 |
# Prevent show long title. |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
242 |
m4_define(`m4_WINLIST_WIDTH', `60')m4_dnl |
391
76862aba5f4f
Define switch between aps.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
390
diff
changeset
|
243 |
# Define switch between aps. |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
244 |
Key Tab A M WindowList Root c c NoDeskSort, MaxLabelWidth m4_WINLIST_WIDTH, SelectOnRelease Meta_L |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
245 |
Key Tab A 3 WindowList Root c c NoDeskSort, MaxLabelWidth m4_WINLIST_WIDTH |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
246 |
|
369
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
247 |
# Close window on Alt+F4 (send SIGHUP). |
2722227ca710
Split mouse and keyboard binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
368
diff
changeset
|
248 |
Key F4 A M Delete |
355 | 249 |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
250 |
# Make screenshot. |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
251 |
Key Print A N FvwmScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
252 |
Key Print A S FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
253 |
|
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
254 |
Key Scroll_Lock A N Exec exec xscreensaver-command -activate |
398
2dbb13c25074
Bind screensaver to Scroll_Lock.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
395
diff
changeset
|
255 |
|
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
256 |
# Similar to Vi hjkl: |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
257 |
# |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
258 |
# F11 - up |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
259 |
# F9 - left F12 - right |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
260 |
# F10 - down |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
261 |
|
403
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
262 |
DestroyFunc myGotoPage |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
263 |
AddToFunc myGotoPage |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
264 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
265 |
+ I GotoPage $0 $1 |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
266 |
|
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
267 |
Key F9 A C myGotoPage -1p -0p |
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
268 |
Key F12 A C myGotoPage +1p +0p |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
269 |
|
408
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
270 |
# Move across page up, if no page more go to last page of prev desk. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
271 |
DestroyFunc myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
272 |
AddToFunc myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
273 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
274 |
+ I SetEnv fvwm_page_ny $[page.ny] |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
275 |
+ I Test (EnvMatch fvwm_page_ny 0) Nop |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
276 |
+ I TestRc (Match) GotoDesk -1 0 4 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
277 |
+ I TestRc (Match) GotoPage +0p 2 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
278 |
+ I TestRc (NoMatch) GotoPage +0p -1p |
509
08ee4edb6e45
Use "UnSetEnv" instead of special form of "SetEnv" (with empty value).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
508
diff
changeset
|
279 |
+ I UnSetEnv fvwm_page_ny |
408
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
280 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
281 |
Key F11 A C myGotoPageUp |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
282 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
283 |
# Move across page down, if no page more go to first page of next desk. |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
284 |
DestroyFunc myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
285 |
AddToFunc myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
286 |
+ I Next (CirculateHit, FvwmPager, Shaded) WindowShade "False" |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
287 |
+ I SetEnv fvwm_page_ny $[page.ny] |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
288 |
+ I Test (EnvMatch fvwm_page_ny 2) Nop |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
289 |
+ I TestRc (Match) GotoDesk +1 0 4 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
290 |
+ I TestRc (Match) GotoPage +0p 0 |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
291 |
+ I TestRc (NoMatch) GotoPage +0p +1p |
509
08ee4edb6e45
Use "UnSetEnv" instead of special form of "SetEnv" (with empty value).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
508
diff
changeset
|
292 |
+ I UnSetEnv fvwm_page_ny |
408
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
293 |
|
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
294 |
Key F10 A C myGotoPageDown |
921ef98095c2
Move across page up/down, if no page more go to last/first page of prev/next
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
407
diff
changeset
|
295 |
|
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
296 |
Key F9 A S CursorMove -50p +0p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
297 |
Key F10 A S CursorMove +0p +50p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
298 |
Key F11 A S CursorMove +0p -50p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
299 |
Key F12 A S CursorMove +50p +0p |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
300 |
|
434
c66a176a8af9
Switch input method.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
433
diff
changeset
|
301 |
# Switch input method. |
478
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
302 |
Key 1 A 3 SendToModule FvwmKbdd.pl kbdd 0 |
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
303 |
Key 2 A 3 SendToModule FvwmKbdd.pl kbdd 1 |
2913a8a1a474
Add Fvwm Perl module to send signals to kbdd.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
477
diff
changeset
|
304 |
Key 3 A 3 SendToModule FvwmKbdd.pl kbdd 2 |
434
c66a176a8af9
Switch input method.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
433
diff
changeset
|
305 |
|
435
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
306 |
# Win+R like in Windows. |
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
307 |
Key R A 3 Exec exec gmrun |
f6e23b5bf73f
Win+R like in Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
434
diff
changeset
|
308 |
|
440
fa13c7909c1c
Scrolling by keyboard.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
439
diff
changeset
|
309 |
Key Page_Up A 3 Exec xdotool click 4 |
fa13c7909c1c
Scrolling by keyboard.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
439
diff
changeset
|
310 |
Key Page_Down A 3 Exec xdotool click 5 |
fa13c7909c1c
Scrolling by keyboard.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
439
diff
changeset
|
311 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
312 |
################################################################ |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
313 |
# Window Decor. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
314 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
315 |
DestroyDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
316 |
AddToDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
317 |
+ TitleStyle LeftJustified Height 18 |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
318 |
+ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
319 |
+ ButtonStyle 1 ActiveDown Vector 4 30x30@1 60x60@1 60x30@4 30x60@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
320 |
+ ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
321 |
+ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
322 |
+ ButtonStyle 3 ActiveDown Vector 5 30x60@1 60x60@1 60x50@1 30x50@1 30x60@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
323 |
+ ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
324 |
+ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
420
11dc2b67abc0
Change color to highlight when press window button.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
419
diff
changeset
|
325 |
+ ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
326 |
+ ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
327 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
328 |
################################################################ |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
329 |
# Window Styles. |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
330 |
|
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
331 |
Style "*" UseDecor MyDecor |
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
332 |
Style "*" BorderWidth 6, HandleWidth 6 |
419 | 333 |
# NoDecorHint, OLDecor, MwmDecor |
334 |
Style "*" MwmDecor |
|
335 |
# MwmBorder, FvwmBorder, DepressableBorder, FirmBorder |
|
336 |
Style "*" MwmBorder |
|
421
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
337 |
# With Mwm resize and move feedback windows are in the center of the screen, instead of |
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
338 |
# the upper left corner. Available: Fvwm, Mwm, Win. |
b9760929e1ca
With Mwm resize and move feedback windows are in the center of the screen, instead of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
420
diff
changeset
|
339 |
Emulate Mwm |
422
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
340 |
# Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. |
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
341 |
# Available: Fvwm, Mwm, Win. |
d7662dacd748
Mwm and Win style menus popup sub menus automatically and never overlap the parent menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
421
diff
changeset
|
342 |
MenuStyle "*" Mwm |
356
0299baa26e8b
Define window styles.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
355
diff
changeset
|
343 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
344 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
345 |
# Menu. |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
346 |
|
395
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
347 |
# Read generated by update-menu "/Debian" menu. |
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
348 |
# To add own menu items create proper ~/.menu/app-name file and run update-menu. |
db04a32cc3eb
Added comment about "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
394
diff
changeset
|
349 |
# About this you can rean in /usr/share/doc/menu/menu.txt.gz. |
426
bb3292034150
Read system wide menu for '/Debian'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
350 |
Read /etc/X11/fvwm/menudefs.hook quiet |
447
2ae9f5b99d89
Example how to load Debian user local menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
442
diff
changeset
|
351 |
# Read $[FVWM_USERDIR]/menudefs.hook quiet |
394
53907fe3aa2b
Read generated update-menu "/Debian" menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
392
diff
changeset
|
352 |
|
503 | 353 |
AddToMenu MenuMy "My Menu" Title |
500
841b5dcf3197
Stop crop 'htop' window out of screen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
499
diff
changeset
|
354 |
+ HTop Exec exec xterm -name htop -geometry +10+10 -e sudo htop |
424 | 355 |
+ Emacs Exec exec emacs |
414
ee3bf8657532
Move less frequently user programs to MenuMy.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
356 |
+ Firefox Exec exec firefox |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
357 |
+ VLC Exec exec vlc |
448
478aa21d5deb
Add Skype to hotlist.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
358 |
+ Skype Exec exec skype |
415
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
359 |
+ Goldendict Exec exec goldendict |
1293620d4bd4
Reduce process count by 'exec' (this replace 'sh -c $CMD' with '$CMD').
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
413
diff
changeset
|
360 |
+ xkill Exec exec xkill |
424 | 361 |
+ "Peoplenet" Exec exec xterm -e /usr/bin/pon |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
362 |
|
412
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
363 |
# Drawback - you can not make it smaller. |
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
364 |
Style "htop" MinWindowSize 98 98 |
76f7aeed7685
Start htop "mazimised". Drawback - you can not make it smaller.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
411
diff
changeset
|
365 |
|
502 | 366 |
DestroyMenu MenuWindowOperations |
367 |
AddToMenu MenuWindowOperations "Window Operations" Title |
|
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
368 |
+ "Move%menu/window-move.xpm%" Move |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
369 |
+ "Resize%menu/window-resize.xpm%" Resize |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
370 |
+ "(De)Iconify%menu/window-iconify.xpm%" Iconify |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
371 |
+ "(Un)Maximize%menu/window-maximize.xpm%" Maximize |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
372 |
+ "(Un)Shade%menu/window-shade.xpm%" WindowShade |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
373 |
+ "(Un)Stick%menu/window-stick.xpm%" Stick |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
374 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
375 |
+ "Close%menu/window-close.xpm%" Close |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
376 |
+ "Delete%menu/window-delete.xpm%" Delete |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
377 |
+ "Destroy%menu/window-destroy.xpm%" Destroy |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
378 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
379 |
+ "StaysOnTop%menu/window-raise.xpm%" Pick (CirculateHit) Layer 0 6 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
380 |
+ "Layer +1%menu/window-raise.xpm%" Pick (CirculateHit) Layer +1 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
381 |
+ "StaysPut%menu/window.xpm%" Pick (CirculateHit) Layer 0 4 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
382 |
+ "Layer -1%menu/window-lower.xpm%" Pick (CirculateHit) Layer -1 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
383 |
+ "StaysOnBottom%menu/window-lower.xpm%" Pick (CirculateHit) Layer 0 2 |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
384 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
385 |
+ "%menu/window.xpm%App Screenshot" Pick (CirculateHit) FvwmWindowScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
386 |
+ "Screenshot" FvwmDesktopScreenshot |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
387 |
+ "" Nop |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
388 |
+ "Identify%menu/window-identify.xpm%" Module FvwmIdent |
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
389 |
|
502 | 390 |
Mouse 3 R A Menu MenuWindowOperations |
381
8e5aae66f57f
Added "Window Operation Menu" from "FVWM Beginners Guide" by Jaimos F Skriletz.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
391 |
|
501
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
392 |
# Use interactive bash mode to read profile (~/.bashrc) to override default |
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
393 |
# value of PS1. |
502 | 394 |
AddToMenu MenuMyRoot Menu Title |
501
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
395 |
+ Xterm Exec exec xterm -e bash -i |
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
396 |
+ Mc Exec exec m4_XTERM_MC(`mc-secondary') |
505
17e3e6c1ea96
Add separator to menu.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
504
diff
changeset
|
397 |
+ "" Nop |
507
b33b00d90d58
Rename menu entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
506
diff
changeset
|
398 |
+ Debian Popup "/Debian" |
b33b00d90d58
Rename menu entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
506
diff
changeset
|
399 |
+ My Popup MenuMy |
b33b00d90d58
Rename menu entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
506
diff
changeset
|
400 |
+ Window Popup MenuWindowOperations |
b33b00d90d58
Rename menu entries.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
506
diff
changeset
|
401 |
+ Fvwm Popup MenuFvwmRoot |
506
0ab510cb567d
Add xdg to Fvwm menus converter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
505
diff
changeset
|
402 |
+ "" Nop |
501
65ccbb240daa
Include 'FvwmWindowOpsMenu' in my Alt+F1 key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
500
diff
changeset
|
403 |
|
504
edf0f2cd2039
Move key bindings to proper place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
503
diff
changeset
|
404 |
Key F1 A M Menu MenuMyRoot Root c c |
edf0f2cd2039
Move key bindings to proper place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
503
diff
changeset
|
405 |
Mouse 1 R A Menu MenuMyRoot Nop |
edf0f2cd2039
Move key bindings to proper place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
503
diff
changeset
|
406 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
407 |
################################################################ |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
408 |
# FvwmPager. |
387 | 409 |
|
410 |
# No any button on pager. |
|
411 |
Style "FvwmPager" !Button 1, !Button 3, !Button 5, \ |
|
389 | 412 |
StaysOnTop, Sticky, FixedPosition, FixedSize, !Iconifiable, \ |
388
38c75446897a
Pager always on top.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
387
diff
changeset
|
413 |
WindowListSkip, CirculateSkip |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
414 |
|
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
415 |
m4_define(`m4_PagerInactiveRGB', `rgb:c0/c0/c0')m4_dnl |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
416 |
m4_define(`m4_PagerActiveRGB', `rgb:ef/df/bdc')m4_dnl |
357
9d9ad236b557
Define some color for FvwmPager
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
356
diff
changeset
|
417 |
|
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
418 |
DestroyModuleConfig FvwmPager: * |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
419 |
*FvwmPager: Back m4_PagerInactiveRGB |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
420 |
*FvwmPager: BalloonBack m4_PagerActiveRGB |
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
421 |
*FvwmPager: Hilight m4_PagerActiveRGB |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
422 |
*FvwmPager: Geometry 80x500-0+0 |
484
cf2e6576575c
Use FvwmM4 module to avoid creating env vars. Use -m4-prefix
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
423 |
*FvwmPager: WindowColors m4_PagerInactiveRGB m4_PagerInactiveRGB m4_PagerActiveRGB m4_PagerActiveRGB |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
424 |
*FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True" |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
425 |
*FvwmPager: Balloons All |
361 | 426 |
*FvwmPager: BalloonFont "-Misc-Fixed-Medium-R-Normal-*-13-*-*-*-*-*-ISO10646-1" |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
427 |
*FvwmPager: MiniIcons |
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
428 |
*FvwmPager: UseSkipList |
400
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
429 |
*FvwmPager: LabelsAbove |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
430 |
# As I use only columns row count calculated automatically. |
9348e1ab74e8
Increase number of desktop. Added shortcut to move across desktops and pages
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
397
diff
changeset
|
431 |
# *FvwmPager: Rows 5 |
353 | 432 |
*FvwmPager: Columns 1 |
346
fe066283fced
Use home config instead work.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
433 |
|
494
6f3882ab9918
Switch to more consistent and convenient sectioning style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
493
diff
changeset
|
434 |
################################################################ |
387 | 435 |
# FvwmAuto. |
436 |
||
437 |
# The autohiding functions. |
|
438 |
# From http://fvwm.org/documentation/faq/#toc_7.17 |
|
439 |
# See question "Autohiding FvwmButtons or other windows". |
|
493
82ee1eb00277
Add DestroyFunc to each AddToFunc. Improve comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
492
diff
changeset
|
440 |
DestroyFunc autohide |
387 | 441 |
AddToFunc autohide |
442 |
+ I ThisWindow ($0) Deschedule $[w.id] |
|
443 |
+ I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off |
|
444 |
+ I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2 |
|
445 |
||
493
82ee1eb00277
Add DestroyFunc to each AddToFunc. Improve comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
492
diff
changeset
|
446 |
DestroyFunc autohide_hide |
387 | 447 |
AddToFunc autohide_hide |
448 |
+ I Schedule $0 $[w.id] WindowShade $1 |
|
449 |
+ I Schedule $0 $[w.id] Deschedule $[w.id] |
|
450 |
||
451 |
# Add the windows you want to autohide |
|
493
82ee1eb00277
Add DestroyFunc to each AddToFunc. Improve comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
492
diff
changeset
|
452 |
DestroyFunc enter_handler |
387 | 453 |
AddToFunc enter_handler |
403
41ab6a23ab00
Unhide FvwmPager when moves with keys. Make autohide time longer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
402
diff
changeset
|
454 |
+ I autohide FvwmPager 1000 N |
497
71ace7e991aa
Move FvwmAuto setting to single place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
496
diff
changeset
|
455 |
|
71ace7e991aa
Move FvwmAuto setting to single place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
496
diff
changeset
|
456 |
AddToFunc StartFunction I Module FvwmAuto 1 -menter enter_handler |
71ace7e991aa
Move FvwmAuto setting to single place.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
496
diff
changeset
|
457 |