View previous topic :: View next topic |
Author |
Message |
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Sun Nov 26, 2006 3:36 pm Post subject: fvwm thumbnailed windows not working? Error in Xorg.conf? |
|
|
Hi,
Got a problem with thumbnailed windows in fvwm. I use the exactly same configuration on two laptops. One with an i915 (radeon driver) and the other one with an R250 (ati). On the first one thumbnailing works; on the other one not. And it is not only the thumbnailing: Also conky doesn't seem to work with backgrounding on the last one.
I have no idea what kind of problem this could be. Anybody has experiences?
Best regards! |
|
Back to top |
|
|
frogb n00b
Joined: 21 Sep 2003 Posts: 50
|
Posted: Mon Nov 27, 2006 3:18 am Post subject: |
|
|
Are the thumbnails just missing from the icons?
Try thumbnailing with FvwmConsole open and also check for error messages in the TTYs.
Make sure programs like imagemagick and xwd are installed correctly.
Are the conky configs the same? Are the same modules loaded in xorg? |
|
Back to top |
|
|
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Mon Nov 27, 2006 11:33 am Post subject: |
|
|
Lets be more sharp:
Laptop 1 (working thumbnails and conky in fvwm):
Code: |
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
|
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 340 270 # mm
Identifier "Monitor0"
VendorName "IVM"
ModelName "PLE435S"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" "True" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" "True" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" #"1200x1024"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
Laptop 2 (not working);
Code: |
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 02)
|
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
##Option "NoAccel" "False" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
##Option "AGPMode" "4" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
##Option "EnablePageFlip" "True" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "PanelOff" # [<bool>]
##Option "DDCMode" "True" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
##Option "MergedDPI" "100 100" # [<str>]
#Option "MergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "MergedNonRectangular" # [<bool>]
#Option "MergedMouseRestriction" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
##Option "ColorTiling" "False" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
##Option "RenderAccel" "True" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "BIOSHotkeys" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
##Option "AccelMethod" "EXA" # <str>
# XXA
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon R250 Lf [FireGL 9000]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
## Option "Composite" "Enable"
EndSection
|
conky configuration (same for both laptops):
Code: |
background yes
font Bitstream Vera Sans Mono
use_xft no
on_bottom yes
xmms_player audacious
update_interval 0.5
total_run_times 0
own_window no
own_window_transparent yes
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color darkgray
default_outline_color black
alignment bottom_left
maximum_width 308
gap_x 12
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
${color #ffffff}System: ${color #ffff00}${time %H:%M} ${alignr}$nodename $kernel
${color #ffffff} Uptime:${color #ffff00} $uptime ${alignr}${color #ffffff}Load:${color #ffff00} $loadavg
${color #ffffff} Battery:${color #ffff00} ${battery}
${color #ffffff}Sound:
Play: ${color #ffff00}$xmms_title
$xmms_position_seconds $xmms_bar
|
fvwm-config (same on both laptops):
see tavisos config |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Nov 27, 2006 12:20 pm Post subject: |
|
|
As I dont think xorg.conf has anything to do with this issue, I will not comment about your xorg.conf.
First, what do you mean with "not working"? Does the app iconify to the usual icon? Can you see the icon or something in the desktop or it just disapears if you try to iconify it? We need more info.
Second, as stated in a previous post by another person, check that you have all the needed tools.
Code: |
emerge -pv xwd imagemagick
|
Fvwm cannot make thumbnails by itself, it depends on external tools to do so. I think the taviso function for thumbnailing uses those, not sure though. I don't like thumbnails, nor destop icons. I usually have windows open all around and do not need anything lying around in my desktop.
Third, also said in a previous post, please, login in an vt, launch X from there, and see if some error appears in the console when you click on the minimize buttons or use such binding.
derverstand wrote: |
conky configuration (same for both laptops):
Code: |
background yes
font Bitstream Vera Sans Mono
use_xft no
........
alignment bottom_left
|
|
I am not sure about how conky might use the fonts, but, you should use a x font name specification if you are not using xft. Like this one: -*-bitstream vera sans mono-*-*-*-*-*-*-*-*-*-*-*-*, other wise, use xft this way:
Code: |
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10
|
Appart from that, if you are embedding it into fvwmbuttons, you should be aware that conky does not embed ok under most circunstances unless you use this alignment:
As suggested above, you should also try it into a terminal emulator, to see if some error is spit out when you run it.
EDIT, about the thumbnails, I am not sure if the taviso function does use the /dev/shm device to write temp files, if it does, check that that device is ok and you can write to it from your user account. |
|
Back to top |
|
|
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Wed Nov 29, 2006 7:35 pm Post subject: |
|
|
Hi,
(1) The mentioned packages are installed on both of my laptops.
(2) Except for graphics card they are exactly same. Also the installed software is exactly the same. In my opinion they differ only in the xorg.conf.
(3) No error message / warning is produced when minimizing to the desktop.
(4) Rights to /dev/shm are given (thumbnailing also doens't work as root by the way)
(5) By *not working* I mean: Only the title is visible on desktop; no icon / snapshot of the window is given.
Best regards! |
|
Back to top |
|
|
ThomasAdam Guru
Joined: 20 Mar 2005 Posts: 448 Location: England
|
Posted: Wed Nov 29, 2006 11:26 pm Post subject: |
|
|
derverstand wrote: | Hi,
(1) The mentioned packages are installed on both of my laptops.
(2) Except for graphics card they are exactly same. Also the installed software is exactly the same. In my opinion they differ only in the xorg.conf.
(3) No error message / warning is produced when minimizing to the desktop.
(4) Rights to /dev/shm are given (thumbnailing also doens't work as root by the way)
(5) By *not working* I mean: Only the title is visible on desktop; no icon / snapshot of the window is given.
Best regards! |
I've got two ideas as to what's happening. Upload your config file somewhere, would you?
-- Thomas Adam |
|
Back to top |
|
|
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Wed Nov 29, 2006 11:38 pm Post subject: |
|
|
Here it is (missing the conky-rcs)
Code: | SetEnv fvwm_home_dir $[HOME]/own_fvwm
ImagePath /usr/share/icons:$[fvwm_home_dir]/icons:$[fvwm_home_dir]/wallpapers:+
SetEnv fvwm_video_path $[HOME]/media/video
SetEnv fvwm_video_exec "mplayer -vo x11 -vf pp -autoq 1 -ao sdl -hardframedrop -framedrop -zoom -fs"
SetEnv fvwm_audio_path $[HOME]/media/mp3
SetEnv fvwm_audio_exec "audacious --play"
SetEnv fvwm_audio_next "audacious --fwd"
SetEnv fvwm_audio_prev "audacious --rev"
SetEnv fvwm_audio_paus "audacious --play-pause"
SetEnv fvwm_audio_stop "audacious --stop"
SetEnv fvwm_iradio_path $[HOME]/media/iradio
SetEnv fvwm_volume_inc "aumix -v +5"
SetEnv fvwm_volume_dec "aumix -v -5"
SetEnv fvwm_volume_std "aumix -v75 -w75"
SetEnv fvwm_volume_mut "aumix -v m"
SetEnv fvwm_image_path $[HOME]/media/images
SetEnv fvwm_image_exec xv
SetEnv fvwm_wallpaper_dir fvwm_home_dir/wallpapers
SetEnv fvwm_wallpaper $[fvwm_wallpaper_dir]/see.png
SetEnv fvwm_conky_dir $[fvwm_home_dir]/conky
SetEnv fvwm_menu_hex eeefcf
SetEnv fvwm_menu blue
SetEnv fvwm_menu_translucent 80
SetEnv fvwm_menu_high_hex eeefcf
SetEnv fvwm_menu_high blue
SetEnv fvwm_conky_high ffffff
SetEnv fvwm_conky_low ffff00
SetEnv fvwm_osd_cat red
EdgeResistance 15 100
EdgeThickness 0
EdgeCommand Top Fvwm
IgnoreModifiers L2
EwmhBaseStruts 0 0 0 0
ClickTime 550
DeskTopSize 6x2 #
CursorStyle root top_left_arrow
OpaqueMoveSize -1
SnapAttraction 3 SameType
Test (f /bin/bash) ExecUseShell /bin/bash #
Colorset 0 fg black, bg $[fvwm_menu], Translucent #$[fvwm_menu_hex] $[fvwm_menu_translucent]
Colorset 1 fg black, bg #$[fvwm_menu_high_hex], hi #dcdcdc, sh #dcdcdc
MenuStyle * Hilight3DThin, PopupOffset 0 100, PopupDelay 300
MenuStyle * Font "xft:Bitstream Vera Sans Mono:style=Roman:size=8"
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
ColormapFocus FollowsFocus
Colorset 13 fg #f6f6f6, bg black, IconAlpha 40
Colorset 14 fg white, bg black, fgsh black, IconAlpha 100
Style * Font "xft:Aquafont:size=8", BorderWidth 1, HandleWidth 1
Style * Colorset 13, HilightColorset 14, MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition, IconBox 50 100 -100 -50, IconGrid 3 3, IconFill bottom right
Style * SloppyFocus, MouseFocusClickRaises, TileCascadePlacement, WindowShadeSteps 20
Style * GrabFocusOff, NoIconTitle, !AllowMaximizeFixedSize, FPReleaseFocus, IndexedIconName
Colorset 12 fg white, bg black, fgsh black, RootTransparent
Style * IconTitle, IconTitleColorset 12, HilightIconTitleColorset 12, IconTitleRelief 0
Style * IconFont "xft:Aquafont:size=11minspacing=True", IndexedIconName, IconBackgroundPadding 2,
Style * IconBackgroundRelief 0, IconBackGroundColorset 12
Colorset 7 fg black, bg white, sh white, RootTransparent Buffer, Tint #f6f6f6 20
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle LeftJustified Height 12
+ TitleStyle InActive ( Colorset 7 -- Flat ) Active ( Colorset 7 -- Flat )
+ AddTitleStyle Active ( TiledPixmap title_back.png -- Flat ) \
Inactive ( TiledPixmap title_back_inactive.png -- Flat )
+ ButtonStyle All InActive ( Colorset 7 -- Flat )
+ ButtonStyle All Active ( Colorset 7 -- Flat )
+ AddButtonStyle All Inactive TiledPixmap title_back_inactive.png -- Flat
+ AddButtonStyle All Active TiledPixmap title_back.png -- Flat
+ AddButtonStyle 1 Active Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle 1 Inactive Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle 1 AllUp Vector 2 50x55@1 50x55@1 -- Flat
+ AddButtonStyle 2 Active Vector 4 40x40@2 60x60@2 60x40@4 40x60@2 -- Flat
+ AddButtonStyle 2 Inactive Vector 4 40x40@3 60x60@3 60x40@4 40x60@3 -- Flat
+ AddButtonStyle 2 AllUp Vector 4 40x45@1 60x65@1 60x45@4 40x65@1 -- Flat
+ AddButtonStyle 4 Active Vector 7 40x40@2 40x60@2 60x60@2 60x40@2 40x40@2 40x45@2 60x45@2 -- Flat
+ AddButtonStyle 4 Inactive Vector 7 40x40@3 40x60@3 60x60@3 60x40@3 40x40@3 40x45@3 60x45@3 -- Flat
+ AddButtonStyle 4 AllUp Vector 4 40x65@1 60x65@1 45x50@4 55x50@1 -- Flat
+ AddButtonStyle 6 Active Vector 5 40x60@2 60x60@2 60x55@2 40x55@2 40x60@2 -- Flat
+ AddButtonStyle 6 Inactive Vector 5 40x60@3 60x60@3 60x55@3 40x55@3 40x60@3 -- Flat
+ AddButtonStyle 6 AllUp Vector 2 40x65@1 60x65@1 -- Flat
+ AddButtonStyle 8 Active Vector 9 40x40@2 45x35@2 55x35@2 60x40@2 60x45@2 50x50@2 50x55@2 50x65@4 50x65@2 -- Flat
+ AddButtonStyle 8 InActive Vector 9 40x40@3 45x35@3 55x35@3 60x40@3 60x45@3 50x50@3 50x55@3 50x65@4 50x65@3 -- Flat
+ AddButtonStyle 8 AllUp Vector 7 40x45@1 45x40@1 55x40@1 60x50@4 50x60@1 50x75@4 50x75@1 -- Flat
+ ButtonStyle 1 - MwmDecorMenu
+ ButtonStyle 6 - MwmDecorMin
+ ButtonStyle 4 - MwmDecorMax
+ BorderStyle Active Solid black -- NoInset HiddenHandles
+ BorderStyle Inactive Solid black -- NoInset HiddenHandles
+ AddButtonStyle All Active Vector 9 80x60@4 80x40@2 60x20@2 40x20@2 20x40@2 20x60@2 40x80@2 60x80@2 80x60@2 -- Flat
+ AddButtonStyle All Inactive Vector 9 80x60@4 80x40@2 60x20@2 40x20@2 20x40@2 20x60@2 40x80@2 60x80@2 80x60@2 -- Flat
Style * UseDecor DefaultDecor
BugOpts FlickeringMoveWorkaround True
Style FvwmPager NoTitle, Sticky, WindowListSkip, NoIcon
Style FvwmBanner NoTitle
Style FvwmApplet-DigitalClock NoTitle, WindowListSkip
Style FvwmScript-Quit CenterPlacement, StaysOnTop, MiniIcon plug.png, NoTitle, BorderWidth 3
Style FvwmController NoTitle, Sticky, WindowListSkip
Style FvwmBar NoTitle, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, NoHandles
Style XVroot GrabFocus
Style gmrun GrabFocus, StaysOnTop, CenterPlacement
Style gmrun WindowListSkip, CirculateSkip, BorderWidth 3
Style xmessage MiniIcon person_face_talking.png, MinOverlapPlacement, EWMHPlacementIgnoreWorkingArea
Style xchat-2 !FPFocusByProgram, NoFuncHint, NoDecorHint
Style aterm WindowShadeShrinks
Style rxvt WindowShadeShrinks
Style pan !FPFocusByProgram
Style xwrits NoDecorHint, NoFuncHint
Style XOsview WindowListSkip, CirculateSkip, NoTitle
Style HiddenConsole Sticky, WindowListSkip, Notitle, StaysOnTop, NoHandles, CirculateSkip
Style HiddenConsole WindowShadeSteps 100, ResizeHintOverride
Style gimp !FPFocusByProgram
Style gimp-2.0 !FPFocusByProgram
Style findtextdialog NoFuncHint, NoDecorHint
Style XMMS_Player StartIconic, NoIcon, IconOverride, NoTitle, Sticky, WindowListSkip, NoIconifiable
Style XMMS_Playlist StartIconic, NoIcon, NoTitle, Sticky, WindowListSkip
Style XMMS_Equalizer StartIconic, NoIcon, NoTitle, Sticky, WindowListSkip
Style wmtimer NoUSPosition
Style ROX-Filer !FPFocusByProgram, !FPGrabFocusTransient
Style XOsview NoTitle
Style peksystray NoTitle
Style Waiting MinOverlapPlacement, ClickToFocus
Style trayer StaysOnBottom, NoTitle, WindowListSkip, Sticky
Style panel StaysOnBottom, NoTitle, WindowListSkip, Sticky
DestroyModuleConfig FvwmIdent: *
*FvwmIdent: Back MidnightBlue
*FvwmIdent: Fore #f6f6f6
*FvwmIdent: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
DestroyModuleConfig FvwmScroll: *
*FvwmScroll: Back #f6f6f6
*FvwmScroll: Fore #f6f6f6
DestroyModuleConfig FvwmEvent: *
*FvwmEvent: deiconify DeThumbnail
*FvwmEvent: add_window NewWindowFunc
DestroyModuleConfig FvwmAnimate: *
*FvwmAnimate: Effect Flip
*FvwmAnimate: Delay 0
*FvwmAnimate: Iterations 30
*FvwmAnimate: Width 2
ModuleTimeout 10
SetEnv gotopage_delay 2000
SetEnv gotopage_cmd1 333
SetEnv gotopage_cmd2 334
DestroyFunc gotopage_movecontroller
AddToFunc gotopage_movecontroller
+ I DeSchedule $[gotopage_cmd1]
+ I DeSchedule $[gotopage_cmd2]
+ I All (FvwmController) Raise
+ I All (FvwmController) CentreWindow (126/2) (28/2) Animated
+ I Schedule $[gotopage_delay] $[gotopage_cmd1] All (FvwmController) Lower
+ I Schedule $[gotopage_delay] $[gotopage_cmd2] All (FvwmController) AnimatedMove 0p 0p
DestroyFunc gotopage_printpos
AddToFunc gotopage_printpos
+ I Exec exec echo $[page.ny] $[page.nx] | osd_cat --color=$[fvwm_osd_cat] --align center
DestroyFunc GotoPage-Left
AddToFunc GotoPage-Left
+ I PipeRead 'test $[page.nx] = 0 && echo "GotoPage `expr $[desk.pagesx] - 1` 0p" || echo "GotoPage -1p 0p"'
+ I gotopage_movecontroller
DestroyFunc GotoPage-Right
AddToFunc GotoPage-Right
+ I PipeRead 'test $[page.nx] = `expr $[desk.pagesx] - 1` && echo "GotoPage 0 0p" || echo "GotoPage +1p 0p"'
+ I gotopage_movecontroller
DestroyFunc GotoPage-Up
AddToFunc GotoPage-Up
+ I PipeRead 'test $[page.ny] = 0 && echo "GotoPage 0p `expr $[desk.pagesy] - 1`" || echo "GotoPage 0p -1p"'
+ I gotopage_movecontroller
DestroyFunc GotoPage-Down
AddToFunc GotoPage-Down
+ I PipeRead 'test $[page.ny] = `expr $[desk.pagesy] - 1` && echo "GotoPage 0p 0" || echo "GotoPage 0p +1p"'
+ I gotopage_movecontroller
DestroyFunc controllers
AddToFunc controllers
+ I DeSchedule $[gotopage_cmd1]
+ I DeSchedule $[gotopage_cmd2]
+ I All (FvwmController) Raise
+ I All (FvwmController) CentreWindow (126/2) (28/2) Animated
+ I All (panel) Raise
+ I All (panel) AnimatedMove 100p 100p
+ I Schedule $[gotopage_delay] $[gotopage_cmd1] All (FvwmController) Lower
+ I Schedule $[gotopage_delay] $[gotopage_cmd2] All (FvwmController) AnimatedMove 0p 0p
DestroyModuleConfig FvwmProxy: *
*FvwmProxy: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
*FvwmProxy: ProxyMove false
Key Escape A M SendToModule FvwmProxy ShowToggle
Mouse 1 R A Menu MenuFvwmRoot
Mouse 2 R A Exec exec aterm
Mouse 3 WT M Maximize
Mouse 4 R A Menu MenuFvwmRoot
Mouse 5 R A Menu MenuFvwmRoot
Mouse 4 A M Next (AcceptsFocus) FlipFocus
Mouse 5 A M Prev (AcceptsFocus) Focus
Mouse 4 A S WheelScroll down
Mouse 5 A S WheelScroll up
Mouse 4 R C WheelScroll down
Mouse 5 R C WheelScroll up
Mouse 4 T N WheelToggleShade True
Mouse 5 T N WheelToggleShade False
Mouse 0 1 N Menu MenuFvwmWindowOps
Mouse 0 2 A DestroyOnHold
Mouse 0 6 A Thumbnail
Mouse 0 4 A Maximize
Mouse 0 8 A Module FvwmIdent
Mouse 1 FS A Resize-or-Raise
Mouse 1 T A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 2 I A Iconify
Mouse 3 TSIF A RaiseLower
Mouse 2 W C Resize-or-Raise
Mouse 1 W M Move-or-Raise
Key F1 A M GotoPage 0 0
Key F2 A M GotoPage 1 0
Key F3 A M GotoPage 2 0
Key F4 A M GotoPage 3 0
Key F5 A M GotoPage 4 0
Key F6 A M GotoPage 5 0
Key F1 A C GotoPage 0 1
Key F2 A C GotoPage 1 1
Key F3 A C GotoPage 2 1
Key F4 A C GotoPage 3 1
Key F5 A C GotoPage 4 1
Key F6 A C GotoPage 5 1
Key Left A M GotoPage-Left
Key Right A M GotoPage-Right
Key Up A M GotoPage-Up
Key Down A M GotoPage-Down
Key T A M Exec exec aterm
Key R A M Exec exec gmrun
Key M A M Exec exec aterm -e mutt
Key F A M Exec exec firefox
Key Right A CM Exec exec $[fvwm_audio_next]
Key Left A CM Exec exec $[fvwm_audio_prev]
Key Up A CM Exec exec $[fvwm_audio_paus]
Key Down A CM Exec exec $[fvwm_audio_stop]
Key Right A C All (XMMS_Player) Iconify false
Key Left A C All (XMMS_Player) Iconify true
Key Up A C Exec exec $[fvwm_volume_inc]
Key Down A C Exec exec $[fvwm_volume_dec]
Key E A CM NoWindow FvwmExpose
Key L A CM Exec exec xscreensaver-command -lock
Key R A CM Restart
Key Q A CM Quit
Key P A CM gotopage_movecontroller
Key O A CM controllers
Key Tab A CM FlipFocus
Key XF86AudioNext A N Exec exec $[fvwm_audio_next]
Key XF86AudioPrev A N Exec exec $[fvwm_audio_prev]
Key XF86AudioPlay A N Exec exec $[fvwm_audio_paus]
Key XF86AudioStop A N Exec exec $[fvwm_audio_stop]
Key XF86AudioRaiseVolume A N Exec exec $[fvwm_volume_inc]
Key XF86AudioLowerVolume A N Exec exec $[fvwm_volume_dec]
Key XF86AudioRaiseVolume A 4 Exec exec $[fvwm_audio_next]
Key XF86AudioLowerVolume A 4 Exec exec $[fvwm_audio_prev]
Key XF86AudioMute A N Exec exec $[fvwm_volume_mut]
Key XF86Mail A N Exec exec aterm -e mutt
Key XF86WWW A N Exec exec firefox
Key XF86Music A N MusicButton
Key XF86Favorites A N gotopage_movecontroller
DestroyFunc MusicButton
AddToFunc MusicButton
+ I Popup MenuMultimedia
Key H A 4 Next (CirculateHit, HiddenConsole) HiddenConsoleKeyBinding
Key L A 4 Exec exec xscreensaver-command --lock
Key I A 4 All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail
Key F4 A CM Quit
Key R A CM Restart
Key Up WTSF SM PackWrapperUp
Key Down WTSF SM PackWrapperDown
Key Left WTSF SM PackWrapperLeft
Key Right WTSF SM PackWrapperRight
Mouse 3 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
Stroke 25852 0 R N Refresh
Stroke 456 0 R N GotoPage +1p 0p
Stroke 654 0 R N GotoPage -1p 0p
Stroke 852 0 R N GotoPage 0p -1p
Stroke 258 0 R N GotoPage 0p +1p
Stroke 159 0 R N GotoPage +1p +1p
Stroke 951 0 R N GotoPage -1p -1p
Stroke 357 0 R N GotoPage -1p +1p
Stroke 753 0 R N GotoPage +1p -1p
Stroke 14789 0 R N Module FvwmForm FvwmForm-QuitVerify
Stroke N25852 0 R N Pick Close
Stroke N1478963 0 R N Exec exec opera -newpage -bigicon
Stroke N1598753 0 R N Exec exec xpad
AddToFunc StartFunction
+ I Test (Init) Exec exec habak -ms $[HOME]/own_fvwm/wallpapers/see.png
+ I Module FvwmAnimate
+ I Module FvwmButtons FvwmController
+ I PipeRead 'cat $[fvwm_conky_dir]/conkyrc | awk \'{gsub(/CONKY_DIR/,"$[fvwm_conky_dir]");gsub(/HIGH/,"$[fvwm_conky_high]");gsub(/LOW/,"$[fvwm_conky_low]");print;}\' > $[fvwm_conky_dir]/conkyrc_fvwm'
+ I Exec exec conky -c $[fvwm_conky_dir]/conkyrc_fvwm
+ I Exec exec conky -c $[fvwm_home_dir]/conky_cluster/conky_cluster
+ I Exec exec conky -c $[fvwm_home_dir]/conky_calendar/conky
+ I Test (Init) Exec exec xscreensaver
+ I Exec exec trayer --transparent true --align right --edge top --widthtype request --distance 3 --alpha $[fvwm_menu_translucent] --tint 0x$[fvwm_menu_hex]
+ I Test (Init) Exec exec audacious
+ I PipeRead '/usr/bin/xmodmap $[fvwm_home_dir]/xmodmap'
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec rm -f $[FVWM_USERDIR]/icon.tmp.*
+ I KillModule FvwmAnimate
+ I Exec exec killall conky
+ I Exec killall trayer
+ I Exec sync
+ I Exec exec rm $[fvwm_conky_dir]/conkyrc_fvwm
DestroyFunc StartHiddenConsole
AddToFunc StartHiddenConsole
+ I Exec exec aterm -name HiddenConsole
+ I Wait HiddenConsole
+ I Next (HiddenConsole) Resize $[vp.width]p 9
+ I Autohide HiddenConsole 0 0 N
DestroyFunc HiddenConsoleKeyBinding
AddToFunc HiddenConsoleKeyBinding
+ I ThisWindow (Shaded) FuncAutoEnter
+ I TestRc (NoMatch) NoWindow FuncAutoEnter
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ "Office"%office.xpm% Popup MenuOffice
+ "Internet"%internet.xpm% Popup MenuInternet
+ "Multimedia"%multimedia.xpm% Popup MenuMultimedia
+ "Utilities"%utilities.xpm% Popup MenuUtilities
+ "Games"%games.xpm% Popup MenuGames
+ "Logins"%logins.xpm% Popup Menulogins
+ "" Nop
+ "F&vwmConsole" Module FvwmConsole -terminal aterm
+ "Preferences" Popup MenuFvwmConfig
+ "Window Controls" Popup MenuFvwmWindowOps
+ "" Nop
+ "X&kill" Pick Destroy
+ "&Cascade Windows" Module FvwmRearrange -cascade -animate -incx 3 -incy 3
+ "&Tile Windows" Module FvwmRearrange -tile -animate -mn 2
Test (x scrot) + "&Screenshot" Exec exec scrot --quality 100 '%Y-%m-%d_$wx$h.png'
Test (x xscreensaver-command) + "&Lock Screen" Exec exec xscreensaver-command -lock
+ "" Nop
+ "Exit Fvwm"%logout.xpm% Popup MenuQuit-Verify
DestroyMenu MenuOffice
AddToMenu MenuOffice
Test (x acroread) + "Acrobat Reader" Exec exec acroread
Test (x gv) + "GV Document Viewer" Exec exec gv
Test (x xdvi) + "XDvi" Exec exec xdvi
+ "" Nop
Test (x xcalc) + "Calculator" Exec exec xcalc -stipple
Test (x xfig) + "XFig" Exec exec xfig
Test (x gnuplot) + "Gnuplot" Exec exec aterm -e gnuplot
Test (x xmgrace) + "Xmgrace" Exec exec xmgrace
+ "" Nop
Test (x xsane) + "Xsane" Exec exec xsane
Test (x xv) + "Xv Graphics Viewer" Exec exec xv
Test (x gimp) + "GNU Image Manipulation Program" Exec exec gimp
+ "" Nop
Test (x gvim) + "Vim Editor" Exec exec gvim -geom 139x56
Test (x xemacs) + "XEmacs Editor" Exec exec xemacs
Test (x lyx) + "LyX" Exec exec lyx
Test (x ooffice2) + "Openoffice" Exec exec ooffice2
DestroyMenu MenuInternet
AddToMenu MenuInternet
Test (x gaim) + "Gaim" Exec exec gaim
Test (x skype) + "Skype" Exec exec skype
Test (x kphone) + "Kphone" Exec exec kphone
Test (x mutt) + "E-Mail Client" Exec exec aterm -e mutt
+ "" Nop
Test (x firefox) + "Mozilla FireFox" Exec exec firefox
Test (x mozilla) + "Mozilla Internet Suite" Exec exec mozilla
Test (x konqueror) + "Konqueror" Exec exec konqueror
+ "" Nop
Test (x ethereal) + "Network Analyser" Exec exec ethereal
Test (x ettercap) + "Ettercap" Exec exec ettercap -G
DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ MissingSubmenuFunction FuncFvwmMenuDirectory
Test (x streamtuner) + "Streamtuner" Exec exec streamtuner
Test (x audacious) + "Audacious" Exec exec audacious
Test (x lplayer) + "Long Player Playlist Manager" Exec exec lplayer
Test (x gmplayer) + "Mplayer GUI" Exec exec gmplayer
Test (x grip) + "Grip" Exec exec grip
Test (x dvdrip) + "DVD Ripper" Exec exec dvdrip
Test (x /opt/oss/bin/ossxmix) + "OSS Audio Mixer" Exec exec /opt/oss/bin/ossxmix
Test (x alsamixergui) + "Alsa Mixer" Exec exec alsamixergui
+ "" Nop
+ "Browse Videos" Popup $[fvwm_video_path]
+ "Browse Music" Popup $[fvwm_audio_path]
+ "Browse Iradio" Popup MenuIradio
+ "Browse Images" Popup $[fvwm_image_path]
+ "" Nop
DestroyMenu MenuIradio
AddToMenu MenuIradio
+ DynamicPopupAction Function MenuIradioGenerator
DetroyFunc MenuIradioGenerator
AddToFunc MenuIradioGenerator
+ I DestroyMenu recreate MenuIradio
+ I PipeRead 'for i in $[fvwm_iradio_path]/*.m3u $[fvwm_iradio_path]/*.pls; do name=$(basename "$i"); sname=${name%%.m3u}; sname=${sname%%.pls}; files=`cat "$i"`; echo \"AddToMenu MenuIradio \'$sname\' Exec exec audacious -p $files\"; done'
DestroyMenu MenuUtilities
AddToMenu MenuUtilities
Test (x rox) + "ROX Filer" Exec exec rox
Test (x vmware) + "VMware Workstation" Exec exec vmware
Test (x fsv) + "3D File System Explorer" Exec exec fsv
Test (x xmag) + "Magnifying Glass" Exec exec xmag
Test (x k3b) + "K3b" Exec exec k3b
Test (x xgnokii) + "XGnokii" Exec exec xgnokii
DestroyMenu MenuGames
AddToMenu MenuGames
+ MissingSubMenuFunction FuncFvwmMenuDirectory
Test (x xdosemu) + "MS-DOS Emulator" Exec exec xdosemu
Test (x cowsay) + "Print Fortune" Exec exec xmessage "$(cowsay $(fortune -s -n 80))"
Test (x eboard) + "Chess Board" Exec exec eboard
Test (x quake3) + "Quake III Arena" Exec exec quake3
Test (x gnubg) + "GNU BackGammon" Exec exec gnubg --window-system-only
Test (x xgammon) + "XGammon Game" Exec exec xgammon
Test (x quake3-ut3) + "Quake 3 Urban Terror" Exec exec quake3-ut3
Test (x frozen-bubble) + "Frozen bubble" Exec exec frozen-bubble
Test (x supertux) + "Super Tux" Exec exec supertux
Test (x lincity-ng) + "Lincity" Exec exec lincity-ng
Test (x pingus) + "Pingus" Exec exec pingus
Test (x kmahjongg) + "KMahjongg" Exec exec kmahjongg
DestroyMenu MenuLogins
AddToMenu MenuLogins
Test (x vncviewer) + "VNC viewer" Exec exec vncviewer localhost
Test (x /usr/lib/misc/ssh-askpass) + "Add Agent Identity" Exec ssh-add < /dev/null
DestroyMenu MenuQuit-Verify
AddToMenu MenuQuit-Verify
+ "Quit Fvwm Now" Quit
+ "Restart Fvwm..." Restart
+ "" Nop
Test (x xterm) + "Restart xterm" Restart xterm
DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig
+ MissingSubmenuFunction WallpaperBrowser
+ "Configure FvwmForm" Module FvwmForm FvwmForm-Form
+ "Configure Cursor" Module FvwmForm FvwmForm-RootCursor
+ "Screensaver Settings" Exec exec xscreensaver-demo
+ "Mouse Settings" Module FvwmScript FvwmScript-PointerSetup
+ "Keyboard Settings" Module FvwmScript FvwmScript-KeyboardSetup
+ "Configure Bell" Module FvwmScript FvwmScript-BellSetup
+ "General Settings" Module FvwmScript FvwmScript-BaseConfig
+ "Edit fvwm2rc..." Exec exec gvim -geom 139x56 $[FVWM_USERDIR]/.fvwm2rc
+ "Fvwm Modules" Popup MenuFvwmModules
+ "Browse Wallpaper" Popup $[fvwm_wallpaper_dir]
+ "$Revision: 1.43 $" Title
+ "Fvwm Information..." Exec exec xmessage "$(fvwm --version)"
+ "X Information..." Exec exec xmessage "$(xdpyinfo)"
DestroyMenu FvwmMoveMethods
AddToMenu FvwmMoveMethods
+ "Move to Top" Pick AnimatedMove keep 0p
+ "Move to Left" Pick AnimatedMove 0p keep
+ "Move to Right" Pick PipeRead "echo AnimatedMove $$(($[vp.width] - $[w.width]))p keep"
+ "Move to Bottom" Pick PipeRead "echo AnimatedMove keep $$(($[vp.height] - $[w.height]))p"
+ "" Nop
+ "Centre Window" Pick CentreWindow (126/2) (28/2) Animated
+ "" Nop
+ "Pack Up" Pick PackWrapperUp
+ "Pack Left" Pick PackWrapperLeft
+ "Pack right" Pick PackWrapperRight
+ "Pack down" Pick PackWrapperDown
+ "" Nop
+ "Move To Page" Popup MenuPageList
+ "" Nop
+ "Interactive Move" Pick Move
DestroyMenu MenuPageList
AddToMenu MenuPageList
+ "1" Pick MoveToPage 0 0
+ "2" Pick MoveToPage 1 0
+ "3" Pick MoveToPage 2 0
+ "4" Pick MoveToPage 0 1
+ "5" Pick MoveToPage 1 1
+ "6" Pick MoveToPage 2 1
+ "7" Pick MoveToPage 0 2
+ "8" Pick MoveToPage 1 2
+ "9" Pick MoveToPage 2 2
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+ "Resize" Pick Resize
+ "Iconify" Pick Iconify
+ "Thumbnail" Pick Thumbnail
+ "Maximise" Pick Maximize
+ "Move" Popup FvwmMoveMethods
+ "Shade" Pick WindowShade Toggle
+ "Zoom Window" Pick Exec exec xmag -source $[w.width]x$[w.height]+$[w.x]+$[w.y] -mag 2
+ "Jiggle Window" Pick Jiggle 5
+ "" Nop
+ "Stick" Pick Stick
+ "Scroll" Pick Module FvwmScroll
+ "Refresh" Pick RefreshWindow
+ "Identify" Pick Module FvwmIdent
+ "" Nop
+ "Close" Pick Close
+ "Destroy" Pick Destroy
+ "" Nop
DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules
+ "Start Animation" Module FvwmAnimate
+ "Identify Window" Module FvwmIdent
+ "Start FvwmIconMan" Module FvwmIconMan
+ "Display Banner" Module FvwmBanner
+ "Start FvwmConsole" Module FvwmConsole -terminal rxvt
+ "Start FvwmPager" Module FvwmPager *
+ "Start FvwmBacker" Module FvwmBacker
+ "Scroll Window" Module FvwmScroll 50 50
+ "Start FvwmTaskBar" Module FvwmTaskBar
+ "AutoRaise Windows" Module FvwmAuto 200 Raise Nop
+ "" Nop
+ "Stop Module" Popup MenuFvwmStopModule
DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule
+ "Close FvwmButtons" KillModule FvwmButtons
+ "Close Icon Managers" KillModule FvwmIconMan
+ "Close Pagers" KillModule FvwmPager
+ "Stop FvwmBacker" KillModule FvwmBacker
+ "Stop FvwmTaskBar" KillModule FvwmTaskBar
+ "Disable AutoRaise" KillModule FvwmAuto
DestroyMenu MenuMount
AddToMenu MenuMount
+ DynamicPopupAction Function MountCheck
DestroyFunc ToggleMount
AddToFunc ToggleMount
+ I PipeRead 'mount $0 || umount $0'
+ I Exec exec $[fvwm_scripts]/mount.sh
+ I Read $[FVWM_USERDIR]/MenuMount
DestroyFunc MountCheck
AddToFunc MountCheck
+ I Function UpdateMenuMount
+ I DestroyMenu recreate MenuMount
+ I AddToMenu MenuMount ".: Mount :." Title
+ I PipeRead "cat $[FVWM_USERDIR]/MenuMount"
DestroyFunc UpdateMenuMount
AddToFunc UpdateMenuMount
+ I PipeRead "if [ -f $HOME/.fvwm/MenuMount ]; then rm $HOME/MenuMount; fi"
+ I Exec exec $[fvwm_scripts]/mount.sh
DestroyFunc FuncFvwmMenuDirectory
AddToFunc FuncFvwmMenuDirectory
+ I PipeRead 'case "$0" in \
"$[fvwm_rom_path]"*) myexec="$[fvwm_rom_exec]" mypng=games_puzzles_dice.png;; \
"$[fvwm_video_path]"*) myexec="$[fvwm_video_exec]" mypng=film.png;; \
"$[fvwm_audio_path]"*) myexec="$[fvwm_audio_exec]" mypng=audio.png;; \
"$[fvwm_image_path]"*) myexec="$[fvwm_image_exec]" mypng=graphics_presentation_person.png;; \
esac; \
test -f "$0"/.icontitle.png && mytitle="$0"/.icontitle.png; \
fvwm-menu-directory --icon-title "${mytitle:-folder_view.png}" --icon-file ${mypng:-file_text_view.png} \
--icon-dir folder_paper_closed.png --dir "$0" --exec-t="^${myexec:-gvim} *" \
--exec-file "^${myexec:-gvim}"'
AddToFunc CentreWindow I PipeRead "echo $2Move $$(((($[vp.width]-$[w.width])/2)-$0))p $$(((($[vp.height]-$[w.height])/2)-$1))p"
AddToFunc Jiggle I PipeRead "for ((y=$0;y>=0;y--)) do printf 'AnimatedMove w+%up w+%up\\nAnimatedMove w-%up w-%up\\n' ${y} ${y} ${y} ${y}; done"
DestroyFunc PackWindowUp
AddToFunc PackWindowUp
+ I SetEnv low_w 0
+ I WindowId $3 Raise
+ I All (CurrentPage !Iconic AcceptsFocus \
!Shaded) PipeRead "test `expr $[w.y] + $[w.height]` -gt $[low_w] \
-a `expr $[w.y] + $[w.height]` -lt $0 \
-a \\( \\( $[w.x] -gt $1 -a $[w.x] -lt `expr $1 + $2` \\) \
-o \\( $1 -gt $[w.x] -a $1 -lt `expr $[w.x] + $[w.width]` \\) \
-o \\( $1 -le $[w.x] -a `expr $1 + $2` -ge `expr $[w.x] + $[w.width]` \\) \
-o \\( $[w.x] -lt $1 -a `expr $[w.x] + $[w.width]` -gt `expr $1 + $2` \\) \
\\) \
&& echo SetEnv low_w `expr $[w.y] + $[w.height]` \
|| echo Nop"
+ I WindowId $3 AnimatedMove keep $[low_w]p
AddToFunc PackWrapperUp I NoWindow PackWindowUp $[w.y] $[w.x] $[w.width] $[w.id]
DestroyFunc PackWindowDown
AddToFunc PackWindowDown
+ I SetEnv high_w $[vp.height]
+ I WindowId $3 Raise
+ I All (CurrentPage !Iconic AcceptsFocus \
!Shaded) PipeRead "test $[w.y] -lt $[high_w] \
-a $[w.y] -gt `expr $0 + $4` \
-a \\( \\( $[w.x] -gt $1 -a $[w.x] -lt `expr $1 + $2` \\) \
-o \\( $1 -gt $[w.x] -a $1 -lt `expr $[w.x] + $[w.width]` \\) \
-o \\( $1 -le $[w.x] -a `expr $1 + $2` -ge `expr $[w.x] + $[w.width]` \\) \
-o \\( $[w.x] -lt $1 -a `expr $[w.x] + $[w.width]` -gt `expr $1 + $2` \\) \
\\) \
&& echo SetEnv high_w $[w.y] \
|| echo Nop"
+ I PipeRead "echo WindowId $3 AnimatedMove keep `expr $[high_w] - $4`p"
AddToFunc PackWrapperDown I NoWindow PackWindowDown $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
DestroyFunc PackWindowLeft
AddToFunc PackWindowLeft
+ I SetEnv left_w 0
+ I WindowId $3 Raise
+ I All (CurrentPage !Iconic AcceptsFocus \
!Shaded) PipeRead "test `expr $[w.x] + $[w.width]` -gt $[left_w] \
-a `expr $[w.x] + $[w.width]` -lt $1 \
-a \\( \\( $[w.y] -gt $0 -a $[w.y] -lt `expr $0 + $4` \\) \
-o \\( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt $0 \\) \
-o \\( $[w.y] -ge $0 -a `expr $[w.y] + $[w.height]` -le `expr $0 + $4` \\) \
-o \\( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt `expr $0 + $4` \\) \
\\) \
&& echo SetEnv left_w `expr $[w.x] + $[w.width]` \
|| echo Nop"
+ I WindowId $3 AnimatedMove $[left_w]p keep
AddToFunc PackWrapperLeft I NoWindow PackWindowLeft $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
DestroyFunc PackWindowRight
AddToFunc PackWindowRight
+ I SetEnv right_w $[vp.width]
+ I WindowId $3 Raise
+ I All (CurrentPage !Iconic AcceptsFocus \
!Shaded) PipeRead "test $[w.x] -lt $[right_w] \
-a $[w.x] -gt `expr $1 + $2` \
-a \\( \\( $[w.y] -gt $0 -a $[w.y] -lt `expr $0 + $4` \\) \
-o \\( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt $0 \\) \
-o \\( $[w.y] -ge $0 -a `expr $[w.y] + $[w.height]` -le `expr $0 + $4` \\) \
-o \\( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt `expr $0 + $4` \\) \
\\) \
&& echo SetEnv right_w $[w.x] \
|| echo Nop"
+ I PipeRead "echo WindowId $3 AnimatedMove `expr $[right_w] - $2`p keep"
AddToFunc PackWrapperRight I NoWindow PackWindowRight $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
DestroyFunc WheelToggleShade
AddToFunc WheelToggleShade D WindowShade $0
DestroyFunc DestroyOnHold
AddToFunc DestroyOnHold I Raise
+ C Schedule 100 Close
+ H Destroy
+ H Beep
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \
"xwd -silent -id $[w.id] | convert -scale 128 -frame 1x1 \
-mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
&& echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
|| echo Nop"
+ I TestRc (Match) Test (f $[w.miniiconfile], f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) PipeRead \
"composite -geometry +2+4 $[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
$[FVWM_USERDIR]/icon.tmp.$[w.id].png; echo Nop"
+ I Iconify
DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I PipeRead "echo Test \\(i \\$\\[Icon-$[w.id]\\]\\) WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
+ I TestRc (NoMatch) WindowStyle NoIconOverride, Icon
+ I Exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
+ I All (Iconic, CurrentPage) PlaceAgain icon
+ I UnsetEnv Icon-$[w.id]
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I WindowShade False
+ I Iconify off
+ I Raise
+ I FlipFocus
DestroyFunc FuncAutoEnter
AddToFunc FuncAutoEnter I Autohide HiddenConsole 500 500 N
DestroyFunc WallpaperBrowser
AddToFunc WallpaperBrowser I PipeRead 'test ! -d "$0/.thumbs" && mkdir "$0/.thumbs"; \
for i in "$0/"*; do \
test -f "$0/.thumbs/${i##*/}" \
-a "${i}" -ot "$0/.thumbs/${i##*/}" || { \
convert -quality 0 -scale 42 "${i}" "png:$0/.thumbs/${i##*/}" 2>/dev/null \
|| continue; \
}; \
done; \
fvwm-menu-directory --icon-title folder_view.png --icon-file __PIXMAP__ \
--icon-dir folder_paper_closed.png --dir "$0" --exec-file "^fvwm-root --dither -r" \
--exec-t="^xv -wait 2 *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
-e "s#__PIXMAP__\\(.*\\)\\\"\\(.*/\\)\\(.*\\)\\\"#\\2.thumbs/\\3\\1\\2\\3#g"'
DestroyFunc WheelScroll
AddToFunc WheelScroll I PipeRead 'case $0 in \
up) test $[page.ny] -eq $$(($[desk.pagesy]-1)) -a $[page.nx] -lt $$(($[desk.pagesx]-1)) \
&& echo GotoPage +1p 0 \
|| echo GotoPage 0p +1p;; \
down) test $[page.ny] -eq 0 -a $[page.nx] -gt 0 \
&& echo GotoPage -1p $$(($[desk.pagesy]-1)) \
|| echo GotoPage 0p -1p;; \
esac'
AddToFunc Autohide
+ I ThisWindow ($0) Deschedule $[w.id]
+ I TestRc (!Match) Deschedule -$[w.id]
+ I ThisWindow ($0) ThisWindow (shaded) AutohideShow $1 $3
+ I TestRc (!Match) All ($0, !shaded) AutohideHide $2 $3
AddToFunc AutohideShow
+ I Schedule $0 -$[w.id] WindowShade $1 off
+ I Schedule $0 -$[w.id] Raise
+ I Schedule $0 -$[w.id] Deschedule $[w.id]
+ I Schedule $0 -$[w.id] Deschedule -$[w.id]
AddToFunc AutohideHide
+ I Schedule $0 $[w.id] WindowShade $1 on
+ I Schedule $0 $[w.id] Deschedule $[w.id]
+ I Schedule $0 $[w.id] Deschedule -$[w.id]
AddToFunc Move-or-Raise I Raise
+ M Move
+ D WindowShade Toggle
AddToFunc Move-or-Iconify I Raise
+ M Move
+ D Iconify
AddToFunc Resize-or-Raise I Raise
+ M Resize
+ D Lower
DestroyFunc LockingSlide
AddToFunc LockingSlide
+ I Test (!State 2) Break
+ I State 2 False
+ I AnimatedMove $0 $1
+ I State 2 True
DestroyFunc NewWindowFunc
AddToFunc NewWindowFunc
+ I Jiggle 1
+ I ThisWindow (firefox LyX) Maximize
+ I ThisWindow (mozilla) Maximize
+ I ThisWindow (acroread) Maximize
+ I ThisWindow (k3b) Maximize
+ I ThisWindow (AnnoyingWindow) Close
+ I ThisWindow (gvim Gvim) Maximize
DestroyFunc FvwmExpose
AddToFunc FvwmExpose
+ I AddToMenu FvwmExposeMenu ".: e x p o s e :." Title
+ I + DynamicPopDownAction DestroyMenu FvwmExposeMenu
+ I AddToMenu FvwmExposeMenu "Controller" gotopage_movecontroller
+ I All (!Iconic !Shaded CurrentPage AcceptsFocus !FvwmController !panel)\
PipeRead "echo Raise; \
xwd -silent -id $[w.id] | convert -scale 128 -quality 0 xwd:- \
png:$[FVWM_USERDIR]/icon.exp.$[w.id].png \
&& echo AddToMenu FvwmExposeMenu \
%$[FVWM_USERDIR]/icon.exp.$[w.id].png%\\\'\"$[w.name]\"\\\' WindowID $[w.id] WarpToWindow 50 50 \
&& echo AddToMenu FvwmExposeMenu \\\"\\\" Nop \
|| Nop"
+ I Popup FvwmExposeMenu Root c c
+ I Exec exec rm -f $[FVWM_USERDIR]/icon.exp.*
Colorset 2 fg white, bg black, RootTransparent buffer, Tint #b5b2ff 60
Colorset 3 fg white, bg black, RootTransparent buffer, Tint #eeefcf 30
Colorset 4 fg #63656e, bg black, RootTransparent buffer, Tint #b5b2ff 40
Colorset 5 fg black , bg #e7e7e7, Plain
Colorset 6 fg white, bg black, RootTransparent buffer, Tint #e4e5c7 70
DestroyModuleConfig FvwmPager: *
*FvwmPager: Colorset * 3
*FvwmPager: Geometry -0-0
*FvwmPager: HilightColorset * 6
*FvwmPager: WindowColorsets 4 2
*FvwmPager: BalloonColorset * 5
*FvwmPager: Font none
*FvwmPager: SmallFont none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Bitstream Vera Sans:style=Roman:size=7:antialias=True"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 0
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth 1
*FvwmPager: MiniIcons
*FvwmPager-OSD: Colorset * 3
*FvwmPager-OSD: Geometry -0-0
*FvwmPager-OSD: HilightColorset * 6
*FvwmPager-OSD: WindowColorsets 4 2
*FvwmPager-OSD: BalloonColorset * 5
*FvwmPager-OSD: Font none
*FvwmPager-OSD: SmallFont none
*FvwmPager-OSD: Balloons All
*FvwmPager-OSD: BalloonFont "xft:Bitstream Vera Sans:style=Roman:size=7:antialias=True"
*FvwmPager-OSD: BalloonYOffset +2
*FvwmPager-OSD: BalloonBorderWidth 1
*FvwmPager-OSD: UseSkipList
*FvwmPager-OSD: MoveThreshold 0
*FvwmPager-OSD: SolidSeparators
*FvwmPager-OSD: WindowBorderWidth 1
*FvwmPager-OSD: MiniIcons
DestroyFunc PagerShow
AddToFunc PagerShow
+ I Module FvwmPager -transient FvwmPager-OSD
DestroyModuleConfig FvwmBar: *
*FvwmBar: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=8"
*FvwmBar: Colorset 10
*FvwmBar: Frame 1
*FvwmBar: Padding 2 2
*FvwmBar: Rows 23
*FvwmBar: Columns 71
*FvwmBar: (71x3, Padding 0 0, Action(Mouse 1) `Next (CirculateHit, FvwmBar) PipeRead 'echo LockingSlide keep $$(test $$(($[w.y]+$[w.height])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'`)
*FvwmBar: (6x20, Title(Side) " Launch", Left, Icon gears.png, Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +$left+$top 0 -100m`)
*FvwmBar: (63x20, Swallow "FvwmIconMan" `FvwmIconMan`)
*FvwmBar: (2x20, Colorset 18, Frame 0)
Colorset 15 fg black, bg #c6c3c6, sh #dedbde, hi #dedbde, RootTransparent buffer, Tint #efebef 65
Colorset 16 fg black, bg #c6c3c6, RootTransparent buffer, Tint #e4e5c7 90
DestroyModuleConfig FvwmIconMan: *
*FvwmIconMan: ManagerGeometry 1x1
*FvwmIconMan: ButtonGeometry 24x23
*FvwmIconMan: FocusAndSelectButton down
*FvwmIconMan: FocusButton down
*FvwmIconMan: IconButton down
*FvwmIconMan: PlainButton down
*FvwmIconMan: SelectButton down
*FvwmIconMan: Action Mouse 0 N sendcommand Nop
*FvwmIconMan: Action Mouse 2 N sendcommand Thumbnail
*FvwmIconMan: Action Mouse 1 N sendcommand "Iconify off", sendcommand RaiseLower, sendcommand FlipFocus
*FvwmIconMan: Action Mouse 3 N sendcommand "Popup MenuFvwmWindowOps Rectangle +$left+$top 0 -100m"
*FvwmIconMan: Colorset 15
*FvwmIconMan: ReliefThickness 1
*FvwmIconMan: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=8"
*FvwmIconMan: FocusAndSelectColorset 16
*FvwmIconMan: FocusColorset 16
*FvwmIconMan: Resolution Page
*FvwmIconMan: DrawIcons Always
*FvwmIconMan: FollowFocus True
*FvwmIconMan: UseWinList True
*FvwmIconMan: ShowOnlyIcons False
*FvwmIconMan: Title ""
*FvwmIconMan: Sort id
DestroyModuleConfig FvwmController: *
*FvwmController: Rows 2
*FvwmController: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=8"
*FvwmController: Colorset 3
*FvwmController: BoxSize smart
*FvwmController: Padding 1 1
*FvwmController: Frame 0
*FvwmController: (6x2, Size 22 22, Swallow (NoClose, UseOld) "FvwmPager" "FvwmPager *")
*FvwmController: (1x1, Size 22 22, Icon "office.xpm", Action (Mouse 1) Menu MenuOffice)
*FvwmController: (1x1, Size 22 22, Icon "internet.xpm", Action (Mouse 1) Menu MenuInternet)
*FvwmController: (1x1, Size 22 22, Icon "multimedia.xpm", Action (Mouse 1) Menu MenuMultimedia)
*FvwmController: (1x1, Size 22 22, Icon "utilities.xpm", Action (Mouse 1) Menu MenuUtilities)
*FvwmController: (1x1, Size 22 22, Icon "games.xpm", Action (Mouse 1) Menu MenuGames)
*FvwmController: (1x1, Size 22 22, Icon "logins.xpm", Action (Mouse 1) Menu MenuLogins)
*FvwmController: (1x1, Size 22 22, Icon "logout.xpm", Action (Mouse 1) Menu MenuQuit-Verify)
AddToFunc enter_handler
+ I Autohide FvwmController 5 S
Read ConfigFvwmTabs quiet
|
|
|
Back to top |
|
|
ThomasAdam Guru
Joined: 20 Mar 2005 Posts: 448 Location: England
|
Posted: Thu Nov 30, 2006 12:08 am Post subject: |
|
|
Heavens, man. Have you not heard of a pastebin, for God's sake?
http://rafb.net/paste
Learn to use one in future -- that amount of pasting is ridiculous.
I eye-balled your config. Aside from suffering a chronic case of SetEnv disease:
http://fvwm.lair.be/viewtopic.php?t=1505
The thumbnail function works fine as advertised. So:
1. The mechanism by which you're calling it (from the button binding decor, for instance) is flawed.
2. You have a conflicting Style line somewhere (unlikely from what I can see).
What's MORE likely is that the icons being shunted to $[FVWM_USERDIR] (which is the correct place) isn't referenced properly in your ImagePath. You should check this.
-- Thomas Adam |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|