You are not logged in.
When I was using fvwm, playing some video using vlc, mplayer2, or watching some video on the web in chromium.
Dragging a window caused the video to stop update, while the sound is still playing. There would be some noises, some time later it stopped playing completely.
Thought there might be something synchronizing between windows, I installed awesome which claimed to be using some asynchronous technique, played a video using mplay2 in it, dragging the windows didn't affect the video playing (I haven't tested it with vlc, or chromium).
Is it really something related to the synchronize thing? Am I made some mistakes in my .fvwmrc script?
Here's my script:
cat .fvwm/.fvwm2rc | grep -v '^ *#' | uniq
SetEnv CONKY_DIR $[HOME]/.conky
SetEnv MyDeskRows 2
SetEnv MyDeskCols 2
DesktopName 0 Work0
DesktopName 1 Work1
DesktopName 2 Back0
DesktopName 3 Play0
DeskTopSize 1x1
EdgeResistance 250
Style * EdgeMoveDelay 250
Style * EdgeMoveResistance 10
EdgeScroll 100 100
ClickTime 750
Colorset 0 fg black, bg grey, sh black, hi black, Translucent #c6cfce 90
Colorset 1 fg black, bg #9cb2ce, hi #dcdcdc, sh #dcdcdc
MenuStyle * Hilight3DThin, PopupOffset -2 100
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 2, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
MenuStyle * Font "Xft:ar pl ukai cn:size=12:antialias=true"
ColormapFocus FollowsMouse
Style * ClickToFocus
Style * TileCascadePlacement
Style * Font "Xft:ar pl ukai cn:size=12:antialias=true"
Style * IconFont "Xft:ar pl ukai cn:size=12:antialias=true"
Style * Color #f6f6f6/black, HilightBack black, HilightFore white
Style * MWMFunctions, MWMDecor, HintOverride, DecorateTransient, NoPPosition
Style * Icon unknown1.xpm, Color lightgrey/dimgrey
Style * BorderWidth 2, HandleWidth 2
BorderStyle Active Solid black -- NoInset HiddenHandles
BorderStyle Inactive Solid black -- NoInset HiddenHandles
Style * !IconTitle, !StickyIcon, NoIcon
Colorset 7 fg black, bg white, NoShape, RootTransparent Buffer, Tint #5a8ade 60
Colorset 8 fg black, bg grey60, NoShape, RootTransparent Buffer, Tint #f6f6f6 20
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle Centered Height 22
+ TitleStyle InActive ( Colorset 8 -- Flat ) \
Active ( VGradient 16 1 #5a8ade 50 #5a8ade -- Flat )
+ ButtonStyle All InActive ( Colorset 7 -- Flat )
+ ButtonStyle All Active ( VGradient 15 1 #e6e6e6 90 #e6e6e6 -- Flat )
+ AddButtonStyle 4 ActiveUp Vector 9 30x30@2 30x60@2 60x60@2 60x30@2 \
30x30@2 30x35@2 60x35@2 0x99@4 0x0@2 -- Flat
+ AddButtonStyle 4 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 \
30x30@3 30x35@3 60x35@3 -- Flat
+ AddButtonStyle 4 ActiveDown Vector 10 35x35@2 35x65@2 65x65@2 65x35@2 \
35x35@2 35x40@2 65x40@2 0x99@4 0x0@2 99x0@2 -- Flat
+ AddButtonStyle 1 Inactive Vector 4 44x44@3 44x45@3 45x45@3 44x44@3 -- Flat
+ AddButtonStyle 1 ActiveUp Vector 6 44x44@2 44x45@2 45x45@2 44x44@2 99x99@4 \
99x0@2 -- Flat
+ AddButtonStyle 1 ActiveDown Vector 8 49x49@2 49x50@2 50x50@2 49x49@2 99x90@4 \
99x0@2 99x0@2 0x0@2-- Flat
+ AddButtonStyle 6 ActiveUp Vector 7 30x60@2 60x60@2 60x50@2 30x50@2 30x60@2 0x99@4 \
0x0@2 -- Flat
+ AddButtonStyle 6 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
+ AddButtonStyle 6 ActiveDown Vector 8 35x65@2 65x65@2 65x60@2 35x60@2 35x65@2 0x99@4 \
0x0@2 99x0@2 -- Flat
+ AddButtonStyle 2 ActiveUp Vector 6 30x30@2 60x60@2 60x30@4 30x60@2 0x99@4 \
0x0@2 -- Flat
+ AddButtonStyle 2 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
+ AddButtonStyle 2 ActiveDown Vector 7 35x35@2 65x65@2 65x35@4 35x65@2 0x99@4 \
0x0@2 99x0@2 -- Flat
+ ButtonStyle 1 - MwmDecorMenu
+ ButtonStyle 6 - MwmDecorMin
+ ButtonStyle 4 - MwmDecorMax
Style * UseDecor DefaultDecor
Style Fvwm* NoTitle, Sticky, WindowListSkip
Style Chromium !Title, !Borders
Style * !Sticky
DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise
+ I Raise
+ M Move
+ D Exec exec urxvt -pe "" -title "Reset Title" -g 30x3+400+300 -e $[FVWM_USERDIR]/new_window_title.bash $[w.id]
DestroyFunc FuncFvwmMoveOrRaise2
AddToFunc FuncFvwmMoveOrRaise2
+ I Raise
+ M Move
+ D Lower
DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize
+ C Maximize 100 100
+ M Maximize 100 100
+ H Maximize 100 100
+ D Maximize 100 -20p
DestroyFunc FuncMoveToDesk
AddToFunc FuncMoveToDesk
+ I PipeRead "$[FVWM_USERDIR]/desk_cmd.bash MoveToDesk $0 $[w.desk] $[MyDeskCols] $[MyDeskRows] 2>/dev/null"
+ I Next (CurrentDesk) FuncBringWindow
DestroyFunc FuncGotoDesk
AddToFunc FuncGotoDesk
+ I PipeRead "$[FVWM_USERDIR]/desk_cmd.bash GotoDesk $0 $[desk.n] $[MyDeskCols] $[MyDeskRows] 2>/dev/null"
+ I Next (CurrentDesk) FuncBringWindow
+ I FuncUpdateDeskInfo
DestroyFunc FuncBringWindow
AddToFunc FuncBringWindow
+ I FuncSelectWindow
+ I Refresh
DestroyFunc FuncClickRoot
AddToFunc FuncClickRoot
+ D WindowList
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I FuncSelectWindow
+ I FuncUpdateDeskInfo
DestroyFunc FuncSelectWindow
AddToFunc FuncSelectWindow
+ I Iconify off
+ I Focus
+ I Raise
DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise
+ I Raise
+ M Resize
+ D Lower
DestroyFunc FuncUpdateDeskInfo
AddToFunc FuncUpdateDeskInfo
+ I Exec echo "$[desk.name$[desk.n]]:$[desk.n]" > $[CONKY_DIR]/desk_info
Key Up A CM FuncGotoDesk up
Key Right A CM FuncGotoDesk right
Key Left A CM FuncGotoDesk left
Key Down A CM FuncGotoDesk down
Key Up A 4 FuncMoveToDesk up
Key Right A 4 FuncMoveToDesk right
Key Left A 4 FuncMoveToDesk left
Key Down A 4 FuncMoveToDesk down
Key Tab A M WindowList Root c c CurrentDesk, CurrentAtEnd
Mouse 2 R A Nop
Mouse 1 R A FuncClickRoot
Mouse 3 R A Menu MenuFvwmRoot Nop
Mouse 1 1 A Menu MenuFvwmWindowOps2 Close
Mouse 1 6 A Iconify
Mouse 1 4 A FuncFvwmMaximize
Mouse 1 2 A Close
Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 S A FuncFvwmMoveOrRaise2
Mouse 1 T A FuncFvwmMoveOrRaise
Mouse 2 TSIF A RaiseLower
Mouse 3 FST A Menu MenuFvwmWindowOps2 Nop
Mouse 2 MT A -
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot "$[gt.Root Menu]" Title
+ "&0. rxvt-unicode" Exec exec urxvt -g 110x35
+ "&1. Chromium" Exec exec chromium --no-proxy-server -user-data-dir=$HOME/.config/chromium-noproxy
+ "&2. Chromium-proxy" Exec exec chromium --proxy-server="socks://127.0.0.1:8888"
+ "&3. Pidgin" Exec exec pidgin
+ "&4. File Manager" Exec exec spacefm
+ "&5. Foxit" Exec exec wine "$HOME/soft/Foxit/FoxitReader.exe"
+ "&6. Gimp" Exec exec gimp
+ "&7. Inkscape" Exec exec inkscape
+ "&8. View VM" Exec exec rdesktop -u "Jiapeng Li" -g 1024x768 -0 -r sound:remote 10.10.10.10
+ "&9. View VM full" Exec exec rdesktop -u "Jiapeng Li" -f -0 -r sound:remote 10.10.10.10
+ "" Nop
+ "$[gt.&Office]" Popup MenuOfficeUtils
+ "" Nop
+ "$[gt.&Goto Desk]" Popup MenuGotoDesk
+ "$[gt.Scr&EenShot]" Exec exec scrot -b -s screenshot.png
+ "$[gt.Scr&EenShot Delay]" Exec exec scrot -b -d 5 screen.png
+ "$[gt.Re&Fresh Screen]" Refresh
+ "$[gt.Reset &X defaults]" Exec xrdb -load $HOME/.Xdefaults
+ "" Nop
+ "$[gt.&Reboot]" Exec exec urxvt -pe "" -title "Reboot Computer" -g 30x3+400+300 -e sudo reboot
+ "$[gt.&Halt]" Exec exec urxvt -pe "" -title "Shutdown Computer" -g 30x3+400+300 -e sudo halt
+ "$[gt.&Suspend]" Exec exec urxvt -pe "" -title "Suspend Computer" -g 30x3+400+300 -e sudo pm-suspend
+ "" Nop
+ "$[gt.&Quit Fvwm]" Popup MenuFvwmQuitVerify
DestroyMenu MenuOfficeUtils
AddToMenu MenuOfficeUtils
+ "&Word" Exec exec lowriter
+ "&Formula" Exec exec lomath
+ "&Draw" Exec exec lodraw
+ "&Impress" Exec exec loimpress
+ "&SpreadSheet" Exec exec localc
+ "&Office" Exec exec loffice
DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon
+ I AddToMenu $0 "$[gt.Move&ToDesk]" Popup MenuMoveToDesk
+ I AddToMenu $0 "$[gt.&Move]" Move
+ I AddToMenu $0 "$[gt.&Close]" Close
+ I AddToMenu $0 "$[gt.&Destroy]" Destroy
DestroyMenu MenuMoveToDesk
AddToMenu MenuMoveToDesk
+ "MoveTo TopLeft(&0) $[desk.name0]" FuncMoveToDesk 0
+ "MoveTo TopRight(&1) $[desk.name1]" FuncMoveToDesk 1
+ "MoveTo BottomLeft(&2) $[desk.name2]" FuncMoveToDesk 2
+ "MoveTo BottomRight(&3) $[desk.name3]" FuncMoveToDesk 3
DestroyMenu MenuFvwmWindowOps2
AddToMenu MenuFvwmWindowOps2
FuncFvwmWindowCommon MenuFvwmWindowOps2
+ "$[gt.Re&fresh Window]" RefreshWindow
DestroyMenu MenuGotoDesk
AddToMenu MenuGotoDesk
+ "$[gt.Goto TopLeft(&0)] $[desk.name 0]" FuncGotoDesk 0
+ "$[gt.Goto TopRight(&1)] $[desk.name 1]" FuncGotoDesk 1
+ "$[gt.Goto BottomLeft(&2)] $[desk.name 2]" FuncGotoDesk 2
+ "$[gt.Goto BottomRight(&3)] $[desk.name 3]" FuncGotoDesk 3
DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify "$[gt.Really Quit Fvwm?]" Title
+ "&Q. $[gt.Yes, Really Quit]" Quit
+ "&R. $[gt.Restart]" Restart
AddToFunc StartFunction
+ I FuncUpdateDeskInfo
AddToFunc InitFunction
AddToFunc ExitFunction
+ I Exec echo "N/A" > $[CONKY_DIR]/desk_info
AddToFunc SessionInitFunction
+ I NopLast edited by lijpbasin (2012-05-09 09:35:12)
Offline
Add "OpaqueMoveSize -1" and the problem is solved.
Inspired by:
http://www.fvwm.org/screenshots/desktop … 864/fvwmrc
Offline