|
如题,我想使fvwm的窗口按钮(图表化,最大化,关闭)在鼠标指上去更换图片,该如何做?
还有我的最大化/还原按钮好像不起作用。假如窗口关闭的时候是最大化的,那么下次重新打开时也是最大化,并且不能还原窗口,但是如果关闭时不是最大化状态的,那么下次打开是也不是最大化的,并且能互相切换状态。
我的配置文件:
### ESte config ha sido creado utilizando otros configs, como los de Ikaro, Taviso, gulivert, etc
### Splash
AddtoFunc InitFunction
#+ I Module FvwmBanner
#### Carga de modulos
AddToFunc StartFunction
+ I Exec exec $[fvwm_root] $[fvwm_wallpaper]
+ I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
#terry
#+ I Exec exec $[fvwm_script_path]/xmodmap.sh
+ I Module FvwmCommandS
+ I Module FvwmProxy
+ I Module FvwmPager
+ I Module FvwmButtons -g 250x50+188+0 FvwmDock
+ I Module FvwmAnimate
#terry
#+ I Exec exec //home/blue/.fvwm/scripts/numlockx.sh
+ I Exec exec /usr/libexec/gnome-settings-daemon
#### Salir
#terry
Colorset 12 fg white, bg black, fgsh black, RootTransparent
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
### Config misc
IgnoreModifiers L25
SnapAttraction 3 SameType
EdgeScroll 0 0
### Fondo de los iconos
Style * IconTitle, IconTitleColorset 90, HilightIconTitleColorset 12, IconTitleRelief 0
Style * IconFont "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*", IndexedIconName, IconBackgroundPadding 1,
#Style * IconFont "Shadow=0 b bl r br r :xft:hooge05_63:Regular:pixelsize=8=True", IndexedIconName, IconBackgroundPadding 1,
Style * IconBackgroundRelief 0, IconBackGroundColorset 12
# General
ColormapFocus FollowsFocus
Style * Colorset 3, HilightColorset 4
Style * Font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
Style * SloppyFocus, MouseFocusClickRaises
Style * SmartPlacement, WindowShadeSteps 20, ResizeOutLine
Style * Button 1, Button 2, Button 4, Button 6, GrabFocusOff
Style * BorderWidth 1, HandleWidth 0
Style * DecorateTransient, NoPPosition, IconBox 21 30 100 -5, IconGrid 1 3, IconFill T left buttom
Style * FvwmButtons
### Definicion de los colores
### Colores de menu
#Colorset 1 Transparent,fg gold2
Colorset 0 fg #000000, fgsh #ffffff, bg #34639c, hi #fbfbfb, sh #c8cfd7, RootTransparent Buffer, Tint #ffffff 65
Colorset 1 fg #000000, fgsh #ffffff, bg #ffffff, hi #ffffff, sh #ffffff, RootTransparent Buffer #ffffff 65
### Colores varios
Colorset 3 fg #000000, bg #ffffff, fgsh #c8cfd7, hi #000000, sh #c8cfd7, RootTransparent Buffer, Tint #ffffff 40, IconAlpha 65
Colorset 4 fg #000000, bg #ffffff, fgsh #c8cfd7, hi #ffffff, sh #c8cfd7, RootTransparent Buffer, Tint #ffffff 60, IconAlpha 70
Colorset 8 fg #c6c6c6, bg #ffffff, fgsh #c8cfd7, hi #ffffff, sh #718794, RootTransparent, Tint #ffffff 60, IconAlpha 85
Colorset 11 fg #627283, bg #ffffff, fgsh #c8cfd7, hi #ffffff, sh #c8cfd7, RootTransparent, Tint #ffffff 82, IconAlpha 70
Colorset 90 fg #000000, bg #ffffff, fgsh #ffffff, hi #ffffff, sh #ffffff, RootTransparent
Colorset 5 fg #ffffff
#Fondo de los iconos
Colorset 12 fg black, bg black, fgsh black, RootTransparent
Colorset 6 fg #ffffff, bg #000000, RootTransparent
### COlor de FvwmDock
Colorset 30 fg #000000, bg #ffffff, hi #ffffff, sh #ffffff, RootTransparent , Tint #ffffff 0
### Config de iconos
CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle stroke crosshair
CursorStyle select draped_box
### Config de aplicaciones y entorno
### Fvwm Estilos
Style FvwmPager NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmPager StaysOnBottom, NoHandles, BorderWidth 0
Style FvwmDock Sticky, NoTitle, NoHandles, Borderwidth 0
Style FvwmDock WindowListSkip, StaysOnBottom
Style FvwmButtons NoTitle, StaysOnBottom, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmButtons HandleWidth 2, NeverFocus, Layer 0
### Panel gnome estilos
#terry
Style gnome-panel Sticky, NoTitle, NoHandles, Borderwidth 0
Style gnome-panel WindowListSkip, StaysOnTop
### Aplicaciones estilos
Style Evolution EWMHMiniIconOverride, MiniIcon icons/evolution.png
Style gedit EWMHMiniIconOverride, MiniIcon icons/gvim.png
Style aterm EWMHMiniIconOverride, MiniIcon icons/gnome-term.png
Style xchat EWMHMiniIconOverride, MiniIcon icons/xchat.png
Style gimp-2.0 EWMHMiniIconOverride, MiniIcon icons/gimp.png
Style amsn EWMHMiniIconOverride, MiniIcon icons/gaim.png
Style nautilus EWMHMiniIconOverride, MiniIcon icons/gnome-home.png
Style gFTP EWMHMiniIconOverride, MiniIcon icons/gnome-fs-network.png
Style Gkrellm NoTitle, Sticky, WindowListSkip, StaysOnBottom, NeverFocus
Style rhythmbox EWMHMiniIconOverride, MiniIcon icons/gnome-audio2.png
Style gdesklets NoTitle, NoHandles, Borderwidth 0
Style Gdeskcalc NoTitle, NoHandles, Borderwidth 0
Style MPlayer NoTitle, Sticky, WindowListSkip, Borderwidth 0
Style xmms NoTitle, EWMHMiniIconOverride, MiniIcon icons/xmms.png
Style Untitled
#Style Untitled NoTitle
### Misc iconos
Style * EwmhMiniIconOverride
### Teclas de raton
### Menu principal
Mouse 1 R A -
Mouse 3 R A Menu MenuFvwmRoot
Mouse 2 R A WindowList NoCurrentDeskTitle
### Barra de titulos
Mouse 1 1 A Menu MenuFvwmWindowOps
Mouse 3 1 A Menu MenuFvwmwindowOps
Mouse 1 6 A Thumbnail
Mouse 1 4 A Maximize
Mouse 1 2 A Close
### Menu ventana
Mouse 1 FS A ResizeFunc
Mouse 2 W C ResizeFunc
Mouse 1 W M MoveFunc
Mouse 3 W M ResizeFunc
Mouse 3 TSIF A RaiseLower
Mouse 3 T A Menu MenuFvwmWindowOps
AddToFunc ResizeFunc "M" Resize
AddToFunc MoveFunc "M" Move
### Config de iconos
Mouse 1 I A Iconify
Mouse 2 I A Move
### Rueda raton
Mouse 4 T N WindowShade True
Mouse 5 T N WindowShade False
Mouse 4 TW M WindowShade True
Mouse 5 TW M WindowShade False
### Movimientos de raton
#Mouse 1 R A StrokeFunc
#Mouse 1 W CM StrokeFunc
### Lista de ventanas
Key Escape A M SendToModule FvwmProxy ShowToggle
Key Tab A M Windowlist Root c c NoCurrentDeskTitle
#### Menu principal
Key Super_L A A Menu MenuFvwmRoot
Key Super_R A A Menu MenuFvwmRoot
### Config basica
Key F4 A M Pick Close
Key X A M Pick Destroy
### Fvwm teclas
Key F3 A M Module FvwmConsole -terminal urxvt -tr
Key I A M Pick Module FvwmIdent
Key R A CM Restart
Key F4 A CM Quit
key P A CM Exec exec gnome-panel-screenshot
### Config de aplicaciones
Key F1 A M Exec exec urxvt -tr
### Escritorios
Key Right A CM GoToPage +1p 0p
Key Left A CM GoToPage -1p 0p
Key Up A CM GoToPage 0p -1p
Key Down A CM GoToPage 0p +1p
### Configuracion de menues
MenuStyle * Hilight3DThin, PopupOffset +0 100, PopupDelay 400
MenuStyle * Font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, TitleUnderlines2, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * AutomaticHotKeys
### Minimizado de iconos
#SetEnv HOME ~
#SetEnv FVWM_USERDIR $[HOME]/.fvwm/userdir
SetEnv fvwm_icon_size 100
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead \
"xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -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 $[HOME]/.fvwm/images/icons/$[w.miniiconfile]) PipeRead "composite -geometry +2+4 \
$[HOME]/.fvwm/images/icons/$[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
$[FVWM_USERDIR]/icon.tmp.$[w.id].png && echo Nop \
|| echo Beep"
+ I Iconify
### Borrado de thumbnail
DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I PipeRead "echo WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
+ I UnsetEnv Icon-$[w.id]
+ I Exec exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
### Config de escritorios
DestroyModuleConfig FvwmPager: *
### Config de colores
Colorset 60 fg #f7f7f7, bg RootTransparent, RootTransparent, Tint #ffffff 0
Colorset 61 fg white, bg white, Noshape, RootTransparent, Tint #000000 5
Colorset 62 fg white, bg white, RootTransparent, Tint #7a7a7a 40
Colorset 63 fg black, bg #f7f7f7, Noshape, RootTransparent, Tint #ffffff 15
### Misc config
#*FvwmPager: Geometry 145x495-19-19
*FvwmPager: Geometry 122x420-20-37
*FvwmPager: MiniIcons
*FvwmPager: Colorset * 60
*FvwmPager: HilightColorset * 61
*FvwmPager: WindowColorsets 63 62
*FvwmPager: BalloonColorset * 63
*FvwmPager: Font none
*FvwmPager: SmallFont none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth
DeskTopSize 1x4
### FvwmDock config
DestroyModuleConfig FvwmDock: *
*FvwmDock: Rows 2
*FvwmDock: Frame 0
*FvwmDock: Columns 10
*FvwmDock: Colorset 30
*FvwmDock: (5x2, Icon dock/synaptic44.png, ActionOnPress, Action(Mouse 1) 'Exec nautilus --no-desktop --browser')
*FvwmDock: (5x2, Icon dock/term-grande.png, ActionOnPress, Action(Mouse 1) 'Exec urxvt -tr')
*FvwmDock: (5x2, Icon dock/mozilla.png, ActionOnPress, Action(Mouse 1) 'DockLaunch "firefox" $left $top', Action(Mouse 3) 'Next (firefox) Popup MenuFvwmWindowOps Rectangle +$left +$top 0 -100m')
*FvwmDock: (5x2, Icon dock/gnome-audio2.png, ActionOnPress, Action(Mouse 1) 'DockLaunch gmplayer +$left +$top', Action(Mouse 3) 'Menu MenuMultimedia Rectangle +$left +$top 0 -100m')
*FvwmDock: (5x2, Icon dock/evolution44.png, ActionOnPress, Action(Mouse 1) 'DockLaunch evolution $left $top', Action(Mouse 3) 'Next (evolution) Popup MenuFvwmWindowOps Rectangle +$left +$top 0 -100m')
DestroyFunc DockLaunch
AddToFunc DockLaunch
+ C Any ($1) Next ($1) WindowListFunc
+ C TestRc (NoMatch) Exec $0
+ H Any ($1) WindowList ($1) Rectangle +$2+$3 0 -100m CurrentAtEnd UseListSkip SortByClass NoCurrentDeskTitle
#+ D Exec $0
### Animation
DestroyModuleConfig FvwmAnimate: *
*FvwmAnimate: Effect Flip
*FvwmAnimate: Delay 3
*FvwmAnimate: Iterations 50
*FvwmAnimate: Width 1
*FvwmAnimate: Random 1
### Navegador de fondos
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 24 "${i}" "png0/.thumbs/${i##*/}" 2>/dev/null \
|| continue; \
}; \
done; \
fvwm-menu-directory --icon-title icons/browse.png --icon-file __PIXMAP__ \
--icon-dir icons/browse.png --dir $0 --exec-file "^fbsetbg -f" \
--exec-t="^eog *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
-e "s#__PIXMAP__\\(.*\\)\\"\\(.*/\\)\\(.*\\)\\"#\\2.thumbs/\\3\\1\\2\\3#g"'
### FvwmProxy y FvwmIdent
DestroyModuleConfig FvwmProxy: *
*FvwmProxy: Colorset 5
*FvwmProxy: Font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
*FvwmProxy: ProxyMove true
DestroyModuleConfig FvwmIdent: *
*FvwmIdent: Back black
*FvwmIdent: Fore #000000
*FvwmIdent: Font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
### Imagen de inicio
*FvwmBanner: NoDecor
*FvwmBanner: Pixmap splash/inicioDeb.png
*FvwmBanner: Timeout 4
### Config de ventanas
#Ntroke N159 0 W CM Pick Close
#Stroke N951 0 W CM Thumbnail
#Stroke N258 0 W CM Maximize
### Escritorio config
#Stroke N456 0 R N GotoPage +1p 0p
#Stroke N654 0 R N GotoPage -1p 0p
#Stroke N258 0 R N GotoPage 0p -1p
#Stroke N852 0 R N GotoPage 0p +1p
#Stroke N753 0 R N GotoPage +1p +1p
#Stroke N357 0 R N GotoPage -1p -1p
#Stroke N159 0 R N GotoPage +1p -1p
#Stroke N951 0 R N GotoPage -1 +1p
### Config Aplicaciones
#Stroke N98741 0 R N Exec exec firefox
#Stroke N12369 0 R N Exec exec thunderbird
#Stroke N789852 0 R N Exec exec gnome-terminal
#Stroke N9874123 0 R N Exec exec gvim -geom 115x46 ~/.fvwm/.fvwm2rc
### Reinicio
#Stroke N789632147 0 R N Restart
### Directorio de imagenes
ImagePath ${HOME}/.fvwm/images:+
SetEnv fvwm_image_path $[HOME]/.fvwm/images
### Seleccionar fondo default
SetEnv fvwm_root "fvwm-root -r"
SetEnv fvwm_wallpaper_dir $[HOME]/.fvwm/images/wallpaper/
SetEnv fvwm_wallpaper $[fvwm_wallpaper_dir]apple1024x768.png
#### Misc de nole
IgnoreModifiers L25
SnapAttraction 3 SameType
EdgeScroll 0 0
EdgeResistance 15 100
ClickTime 150
MoveThreshold 3
HideGeometryWindow Always
BugOpts FlickeringMoveWorkaround Off
SnapGrid 1 1
OpaqueMoveSize 100
### Cursores config
CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle stroke crosshair
CursorStyle select draped_box
Colorset 71 fg black, bg black, sh black, RootTransparent Buffer, Tint #f6f6f6 0
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle Height 23
+ TitleStyle InActive ( Colorset 71 -- Flat ) Active ( Colorset 71 -- Flat )
+ AddTitleStyle Active ( TiledPixmap graphite/wtitle.png -- Flat ) \
Inactive ( TiledPixmap graphite/wtitle.png -- Flat )
+ ButtonStyle All InActive ( Colorset 71 -- Flat )
+ ButtonStyle All Active ( Colorset 71 -- Flat )
#+ AddButtonStyle All Inactive TiledPixmap graphite/wtitle4.png -- Flat
#+ AddButtonStyle All Active TiledPixmap graphite/wtitle4.png -- Flat
+ AddButtonStyle 1 Active TiledPixmap graphite/wtitle4.png -- Flat
+ AddButtonStyle 1 Inactive TiledPixmap graphite/wtitle4.png -- Flat
+ AddButtonStyle 1 AllUp TiledPixmap graphite/wtitle4.png -- Flat
#+ AddButtonStyle 1 Active MiniIcon -- Flat
#+ AddButtonStyle 1 InActive MiniIcon -- Flat
+ AddButtonStyle 2 Active TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle 2 Inactive TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle 2 AllUp TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle 4 Active TiledPixmap graphite/focus.png -- Flat
+ AddButtonStyle 4 Inactive TiledPixmap graphite/unfocus.png -- Flat
+ AddButtonStyle 4 AllUp TiledPixmap graphite/focus.png -- Flat
+ AddButtonStyle 6 Active TiledPixmap graphite/focus.png -- Flat
+ AddButtonStyle 6 Inactive TiledPixmap graphite/unfocus.png -- Flat
+ AddButtonStyle 6 AllUp TiledPixmap graphite/focus.png -- Flat
+ AddButtonStyle 8 Active TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle 8 Inactive TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle 8 AllUp TiledPixmap graphite/wtitle5.png -- Flat
+ ButtonStyle 1 - MwmDecorMenu
+ ButtonStyle 6 - MwmDecorMin
+ ButtonStyle 4 - MwmDecorMax
+ BorderStyle Active Solid black -- NoInset HiddenHandles
+ BorderStyle Inactive Solid black -- NoInset HiddenHandles
Style * UseDecor DefaultDecor
### Menues
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ "FVWM"
+ "&Terminal "%icons/gnome-term.png% Exec exec urxvt
+ "" Nop
+ "System"%icons/system11.png% Popup MenuSystem
+ "" Nop
+ "Internet"%icons/internet.png% Popup MenuInternet
+ "Editors"%icons/gvim.png% Popup MenuEditors
+ "Multimedia"%icons/multimedia.png% Popup MenuMultimedia
+ "Utils"%icons/utils.png% Popup MenuUtilities
+ "Games"%icons/games.png% Popup MenuGames
+ "Config"%icons/prefs.png% Popup MenuFvwmConfig
#+ "Ejecutar..."%icons/run.png% Exec exec grun
#+ "&D. Debian Menu" Popup "/Debian"
+ "" Nop
+ "Quit"%icons/quit.png% Popup MenuQuit-Verify
DestroyMenu MenuSystem
AddToMenu MenuSystem
+ "Explorar"%icons/filesystems/gnome-fs-home.png% Exec exec nautilus --no-desktop --browser
+ "Explorar Raiz"%icons/filesystems/gnome-fs-home.png% Exec exec nautilus --no-desktop --browser /
+ "Home"%icons/filesystems/gnome-fs-home.png% Exec exec nautilus --no-desktop
+ "" Nop
#+ "DVD-RW DL"%icons/devices/gnome-dev-cdrom.png% Exec exec nautilus --no-desktop /media/cdrom1
#+ "CD-ROM"%icons/devices/gnome-dev-cdrom.png% Exec exec nautilus --no-desktop /media/cdrom0
#+ "Floppy"%icons/devices/gnome-dev-floppy.png% Exec exec nautilus --no-desktop /media/floppy0
#+ "" Nop
+ "Gnome System Monitor"%icons/run.png% Exec exec gnome-system-monitor
+ "XosView"%icons/run.png% Exec exec xosview
+ "Xmbmon"%icons/run.png% Exec exec xmbmon
#+ "USBView"%icons/run.png% Exec exec usbview
#+ "" Nop
+ "Gnome Log viewer"%icons/run.png% Exec exec gnome-system-log
DestroyMenu MenuInternet
AddToMenu MenuInternet
#+ "Mozilla"%icons/internet.png% Exec exec firefox
+ "Mozilla &Firefox "%icons/firefox.png% Exec exec firefox
+ "Galeon"%icons/galeon.png% Exec exec galeon
+ "Epiphany"%icons/internet.png% Exec exec epiphany
+ "" Nop
+ "Xchat"%icons/xchat.png% Exec exec xchat
+ "Gaim"%icons/gaim.png% Exec exec gaim
#+ "Amsn"%icons/gaim.png% Exec exec amsn
+ "" Nop
#+ "Gftp"%icons/gftp.png% Exec exec gftp
#+ "Azureus"%icons/gftp.png% Exec exec //home/blue/Soft/azureus/./azureus
+ "xMule"%icons/gftp.png% Exec exec xmule
DestroyMenu MenuEditors
AddToMenu MenuEditors
+ "Gedit "%icons/gedit.png% Exec exec gedit
+ "BlueFish"%icons/gedit.png% Exec exec bluefish
+ "nano "%icons/gedit.png% Exec exec nano
+ "Xedit"%icons/gedit.png% Exec exec xedit
+ "" Nop
+ "Gimp"%icons/gedit.png% Exec exec gimp-2.0
+ "Sodipodi"%icons/gedit.png% Exec exec sodipodi
DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ MissingSubmenuFunction FuncFvwmMenuDirectory
+ "Mplayer "%icons/mplayer.png% Exec exec gmplayer
+ "Gxine"%icons/mplayer.png% Exec exec gxine
#+ "Xine"%icons/mplayer.png% Exec exec xine
+ "Xmms"%icons/xmms.png% Exec exec xmms
+ "AlsaPlayer"%icons/xmms.png% Exec exec alsaplayer
+ "" Nop
+ "gRip CD"%icons/mplayer.png% Exec exec grip
#+ "acidRip DVD"%icons/mplayer.png% Exec exec acidrip
+ "" Nop
+ "xcdroast"%icons/k3b.png% Exec exec xcdroast
#+ "k3b"%icons/k3b.png% Exec exec gksu -u root k3b
DestroyMenu MenuUtilities
AddToMenu MenuUtilities
+ "Synaptic"%icons/gnome-terminal.png% Exec exec gksu -u root synaptic
+ "Gdesklets "%icons/gnome-terminal.png% Exec exec gdesklets
+ "Xkill "%icons/gnome-terminal.png% Exec exec xkill
+ "" Nop
#+ "Screenshot"%icons/screenshot.png% Exec exec $[fvwm_script_path]/screenshot.sh
DestroyMenu MenuGames
AddToMenu MenuGames
+ "Quake III"%icons/quake3.png% Exec exec quake3
+ "EnemyTerritory "%icons/prefs.png% Exec exec et
+ "TuxRacer"%icons/quake3.png% Exec exec tuxracer
+ "xRacer"%icons/quake3.png% Exec exec xracer
DestroyMenu MenuQuit-Verify
AddToMenu MenuQuit-Verify
+ "Quit"%icons/quit2.png% Quit
+ "Restart FVWM "%icons/quit2.png% Restart
+ "" Nop
#+ "Reiniciar PC"%icons/quit2.png% Exec exec gksu -u root /sbin/reboot
#+ "Apagar PC"%icons/quit2.png% Exec exec gksu -u root halt
DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig
+ "Edit fvwm2rc "%icons/gvim.png% Exec exec gedit ~/.fvwm/.fvwm2rc
+ "Cambiar GTK"%icons/gnome-terminal.png% Exec exec gtk-theme-switch2
+ "" Nop
+ "GNOME settings STR"%icons/gnome-terminal.png% Exec exec gnome-settings-daemon
+ "GNOME settings STP"%icons/gnome-terminal.png% Exec exec killall gnome-settings-daemon
+ "Cargar Xdefaults"%icons/gnome-terminal.png% Exec exec xrdb -load $HOME/.Xresources
+ MissingSubmenuFunction WallpaperBrowser
+ "" Nop
+ "Fondos"%icons/prefs.png% Popup $[fvwm_wallpaper_dir]
+ "" Nop
+ "Refresh "%icons/quit2.png% Refresh
+ "Destroy"%icons/quit2.png% Pick Destroy
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+ "Resize " Pick Resize
+ "Shade" Pick WindowShade Toggle
+ "Stick" Pick Stick
+ "Refresh" Pick RefreshWindow
+ "" Nop
+ "Identificar" Pick Module FvwmIdent
+ "" Nop
+ "Send To" Popup MenuFvwmSendTo
+ "" Nop
+ "Close" Close
+ "Destroy" Destroy
DestroyMenu MenuFvwmSendTo
AddToMenu MenuFvwmSendTo
+ "agina &1" MoveToPage 0 0
+ "agina &2" MoveToPage 1 0
+ "agina &3" MoveToPage 2 0
+ "agina &4" MoveToPage 3 0
### Lugar de los fondos
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 24 "${i}" "png0/.thumbs/${i##*/}" 2>/dev/null \
|| continue; \
}; \
done; \
fvwm-menu-directory --icon-title icons/browse.png --icon-file __PIXMAP__ \
--icon-dir icons/browse.png --dir $0 --exec-file "^fbsetbg -f" \
--exec-t="^eog *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
-e "s#__PIXMAP__\\(.*\\)\\"\\(.*/\\)\\(.*\\)\\"#\\2.thumbs/\\3\\1\\2\\3#g"' |
|