fvwm (.fvwm2rc)

fvwm

Categoria: X11

Software: fvwm

[ Hits: 8.536 ]

Por: Inacio


Este arquivo é a minha configuração da interface fvwm 2.5.14.


### Directorio de imagens
ImagePath ${HOME}/.fvwm/images:+
SetEnv fvwm_image_path $[HOME]/

### Seleccionar fundo default
SetEnv fvwm_root "fbsetbg -f "
SetEnv fvwm_wallpaper_dir /media/hdb1/wall/normal/
SetEnv fvwm_wallpaper $[fvwm_wallpaper_dir]World.jpg
SetEnv fvwm_icon_size 100
SetEnv fvwm_script_path $[HOME]/.fvwm/scripts


### Comienzo
AddtoFunc InitFunction
+ I Module FvwmBanner
+ I Exec exec trayer --edge top --widthtype pixel --width 200 --heighttype pixel \
      --height 40  --transparent true --align left --tint white --alpha 254


#### 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
#+ I Exec exec $[fvwm_script_path]/xmodmap.sh
#+ I Module FvwmCommandS
#+ I Module FvwmProxy
#+ I Module FvwmConsole -terminal Eterm --trans -f white --shade 40 --buttonbar=0 --scrollbar=0 -c white -g 145x16+0-1
+ I Module FvwmTaskBar
+ I Module FvwmPager
+ I Module FvwmButtons -g 390x40+400+0 FvwmDock
+ I Module FvwmAnimate
+ I Exec exec gnome-settings-daemon




#### Salir
AddToFunc ExitFunctionColorset
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
+ I Exec exec killall peksystray
+ I Exec exec killall trayer


### Config misc
IgnoreModifiers L25
OpaqueMoveSize   unlimited
SnapAttraction    3 SameType
EdgeScroll    0 0
SnapGrid   1 1
ColormapFocus    FollowsFocus
#------         left   right   top   botton
EwmhBaseStruts    0    0    40    28


### Fondo de los iconos
Style * IconTitle IconTitleColorset 90, HilightIconTitleColorset 12, IconTitleRelief 0
Style * IconFont "Shadow=0 b bl r br r :xft:hooge05_63:Regular:pixelsize=10=True", IndexedIconName, IconBackgroundPadding 1,
Style * IconBackgroundRelief 0, IconBackGroundColorset 12

# General
Style * Font "Shadow=0 b bl r br r :xft:hooge05_54:Regular:pixelsize=10=True"
Style * MouseFocusClickRaises, ClickToFocus
Style * SmartPlacement, WindowShadeSteps 100
Style * Button 1, Button 2, Button 4, Button 6
Style * Colorset 3, HilightColorset 4, BorderWidth 1, HandleWidth 1
Style *   ForeColor black, BackColor AntiqueWhite4, HilightFore black, HilightBack AntiqueWhite4
Style * DecorateTransient, NoPPosition, IconBox 30 30 100 -5, IconGrid 1 3
Style * FvwmButtons



### Definicion de los colores

### Colores de menu

Colorset 0 fg #000000, fgsh #ffffff, bg #34639c, hi #fbfbfb, sh #c8cfd7, RootTransparent Buffer, Tint #ffffff 72
Colorset 1 fg #000000, fgsh #ffffff, bg #ffffff, hi #ffffff, sh #ffffff, RootTransparent Buffer #ffffff 72


### 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
Style FvwmConsole    NoTitle,BorderWidth 0,HandleWidth 0, Sticky, WindowListSkip, CirculateSkip
Style FvwmTaskBar    NoTitle, BorderWidth 0,HandleWidth 0, Sticky, StaysOnTop, WindowListSkip, CirculateSkip


### Panel gnome estilos
Style gnome-panel Sticky, NoTitle, NoHandles, Borderwidth 0
Style gnome-panel WindowListSkip, StaysOnTop

### Aplicaciones estilos
Style epiphany          EWMHMiniIconOverride, MiniIcon icons/galeon.png
Style Evolution       EWMHMiniIconOverride, MiniIcon icons/evolution.png
Style gedit           EWMHMiniIconOverride, MiniIcon icons/gvim.png
Style aterm           EWMHMiniIconOverride, MiniIcon icons/gnome-term.png
Style urxvt           EWMHMiniIconOverride, MiniIcon icons/gnome-term.png
Style xchat           EWMHMiniIconOverride, MiniIcon icons/amsn.png
Style gimp          EWMHMiniIconOverride, MiniIcon icons/gimp.png
Style amsn          EWMHMiniIconOverride, MiniIcon icons/gaim.png
Style gaim          EWMHMiniIconOverride, MiniIcon icons/gaim.png
Style nautilus          EWMHMiniIconOverride, MiniIcon icons/gnome-home.png
Style gFTP          EWMHMiniIconOverride, MiniIcon icons/gnome-fs-network.png
Style Gdesklets       NoTitle, NoHandles, Borderwidth 0
Style MPlayer          NoTitle, Sticky, WindowListSkip, Borderwidth 1
Style xmms          NoTitle, EWMHMiniIconOverride, MiniIcon icons/xmmms.png
Style azureus          EWMHMiniIconOverride, MiniIcon icons/azureus.png
Style xmule          EWMHMiniIconOverride, MiniIcon icons/emule.png
Style Mozilla          EWMHMiniIconOverride, MiniIcon icons/internet.png
Style usbview          EWMHMiniIconOverride, MiniIcon icons/usbview.png
Style sodipodi          EWMHMiniIconOverride, MiniIcon icons/sodipodi.png
Style bluefish          EWMHMiniIconOverride, MiniIcon icons/bluef.png
Style gxine          EWMHMiniIconOverride, MiniIcon icons/xine.png
Style xine          NoTitle, EWMHMiniIconOverride, MiniIcon icons/xine1.png
Style gtk-theme-switch2    EWMHMiniIconOverride, MiniIcon icons/gtk.png
Style acidrip          EWMHMiniIconOverride, MiniIcon icons/acidrip.png
Style xmbmon          EWMHMiniIconOverride, MiniIcon icons/xmbmon.png
Style xosview          EWMHMiniIconOverride, MiniIcon icons/xos.png
Style firefox          BorderWidth 1,HandleWidth 1, EWMHMiniIconOverride, MiniIcon icons/firefox.png
Style xconsole         BorderWidth 1,HandleWidth 1, EWMHMiniIconOverride, Sticky, WindowListSkip, CirculateSkip, NoTitle
Style synaptic          EWMHMiniIconOverride, MiniIcon icons/synaptic.png
Style gnome-system-monitor    EWMHMiniIconOverride, MiniIcon icons/gnome-monitor.png
Style peksystray        NoTitle
Style trayer           NoTitle, BorderWidth 0,HandleWidth 0, Sticky, WindowListSkip, CirculateSkip

Style *             DecorateTransient
#Style *             ResizeOutLine

### Misc iconos 
Style * EwmhMiniIconOverride



### Configuracion de menues
MenuStyle * Hilight3DThin, PopupOffset +0 100, PopupDelay 400
MenuStyle * Font "Shadow=0 b bl r br r :xft:hooge05_53:pixelsize=10:minspace=True"
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, TitleUnderlines2, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * AutomaticHotKeys


### Minimizado de iconos
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]/icons/$[w.miniiconfile]) PipeRead "composite -geometry +2+4 \
    $[HOME]/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, Tint #ffffff 0
Colorset 61 fg white, bg white, Noshape, RootTransparent, Tint #000000 20
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 240x45-0+0
*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 "xft:hooge05_55:style=Regular:size=10"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth 
DeskTopSize 4x1






AddToFunc Iconify-or-Raise
+ I ThisWindow (Raised) Iconify
+ I ThisWindow (!Raised) DeiconifyRaiseAndFocus 

AddToFunc DeiconifyRaiseAndFocus
+ I Iconify off
+ I Raise
+ I Focus


#------------------ FvwmTaskBar
DestroyModuleConfig FvwmTaskBar: *
Colorset 73 fg black, bg #c6c3c6, RootTransparent buffer, Tint #c3c6c3 65
Colorset 74 fg white, bg white, Noshape, RootTransparent, Tint #000000 40
*FvwmTaskBar: Geometry -0-0
*FvwmTaskBar: Rows 1
*FvwmTaskBar: Font "xft:hooge05_55:style=Regular:size=10"
*FvwmTaskBar: StatusFont "xft:hooge05_55:style=Regular:size=10"
*FvwmTaskBar: SelFont "xft:hooge05_55:style=Regular:size=10"
*FvwmTaskBar: Colorset 74
*FvwmTaskBar: IconColorset 74
*FvwmTaskBar: TipsColorset 13
*FvwmTaskBar: Action Click1 Iconify-or-Raise
*FvwmTaskBar: Action Click2 Iconify On
*FvwmTaskBar: Action Click3 Menu MenuFvwmWindowOps
#*FvwmTaskBar: Button Title    , Icon icons/sair3.png, Action (Mouse 1) Scroll +100 +0
*FvwmTaskBar: Button Title <<-, Icon icon, Action (Mouse 1) Scroll -100 0
*FvwmTaskBar: Button Title ->>, Icon icon, Action (Mouse 1) Scroll +100 +0
*FvwmTaskBar: StartMenu MenuFvwmRoot mouse -100p -100m
*FvwmTaskBar: WindowButtonsLeftMargin 10
*FvwmTaskBar: StartButtonRightMargin 10
*FvwmTaskBar: ShowTips
*FvwmTaskBar: NoIconAction SendToModule FvwmAnimate animate
*FvwmTaskBar: NoBrightFocus
*FvwmTaskBar: AutoStick
*FvwmTaskBar: PageOnly
#*FvwmTaskBar: AutoFocus
*FvwmTaskBar: ClockFormat %d/%m %a %R
*FvwmTaskBar: UseSkipList






#------------------ FvwmWinList
DestroyModuleConfig FvwmWinList: *
*FvwmWinList: Colorset 17
*FvwmWinList: FocusColorset 18
*FvwmWinList: IconColorset 19
*FvwmWinList: PageOnly



### FvwmDock config
DestroyModuleConfig FvwmDock: *
*FvwmDock: Rows 2
*FvwmDock: Font "Shadow=0 b bl r br r :xft:hooge05_63:Regular:pixelsize=10=True"
*FvwmDock: Frame 0
*FvwmDock: Columns 30
*FvwmDock: Colorset 30

*FvwmDock: (5x2, Icon icons/sair3.png, ActionOnPress, Action(Mouse 1) `Quit`)
*FvwmDock: (5x2, Icon icons/synaptic.png, ActionOnPress, Action(Mouse 1) `Exec gksu -u root synaptic`)
*FvwmDock: (5x2, Icon icons/gnome-term.png, ActionOnPress, Action(Mouse 1) `Exec Eterm --trans -f white --shade 40 --buttonbar=0 --scrollbar=0 -c white`)
*FvwmDock: (5x2, Icon icons/vim.xpm, ActionOnPress, Action(Mouse 1) `Exec gvim ~/.fvwm2rc`)
*FvwmDock: (5x2, Icon icons/gnome-audio2.png, ActionOnPress, Action(Mouse 1) `Menu MenuMultimedia Rectangle +$left+$top 0 -100m`)
*FvwmDock: (5x2, Icon icons/firefox.png, ActionOnPress, Action(Mouse 1) `Exec firefox`)
*FvwmDock: (5x2, Icon icons/gaim.png, ActionOnPress, Action(Mouse 1) `Exec gaim`)
*FvwmDock: (5x2, Icon icons/msn.png, ActionOnPress, Action(Mouse 1) `Exec amsn`)
*FvwmDock: (5x2, Icon icons/hd.png, ActionOnPress, Action(Mouse 1) `Exec nautilus --no-desktop --browser computer:///`)
*FvwmDock: (5x2, Icon icons/xkill.png, ActionOnPress, Action(Mouse 1) `Exec xkill`)



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 0
*FvwmAnimate: Iterations 30
*FvwmAnimate: Width 3
#*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}" "png:$0/.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 "xft:Sans:normal:pixelsize=10:minspace=True"
*FvwmProxy: ProxyMove true

DestroyModuleConfig FvwmIdent: *
*FvwmIdent: Back black
*FvwmIdent: Fore #000000
*FvwmIdent: Font "xft:hooge05_55:normal:pixelsize=10:minspace=True"


### Imagen de inicio
*FvwmBanner: NoDecor
*FvwmBanner: Pixmap ${HOME}/.fvwm/images/splash/inicio.jpg
*FvwmBanner: Timeout 4


### Config de ventanas
Stroke 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 ~/.fvwm2rc

### Reinicio
Stroke N789632147 0 R N Restart




#### 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 -1
#OpaqueReSize 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_inactive.png -- Flat )
+ ButtonStyle All InActive ( Colorset 71 -- Flat )
+ ButtonStyle All Active ( Colorset 71 -- Flat )
+ AddButtonStyle  1 Active TiledPixmap graphite/wtitle4.png -- Flat
+ AddButtonStyle  1 Inactive TiledPixmap graphite/wtitle4_inactive.png -- Flat
+ AddButtonStyle  2 Active TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle  2 Inactive TiledPixmap graphite/wtitle5_inactive.png -- Flat
+ AddButtonStyle  4 Active TiledPixmap graphite/maximize.png -- Flat
+ AddButtonStyle  4 Inactive TiledPixmap graphite/maximize_inactive.png -- Flat
+ AddButtonStyle  6 Active TiledPixmap graphite/minimize.png -- Flat
+ AddButtonStyle  6 Inactive TiledPixmap graphite/minimize_inactive.png -- Flat
+ AddButtonStyle  8 Active TiledPixmap graphite/wtitle5.png -- Flat
+ AddButtonStyle  8 Inactive 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
+   "&Eterm"%icons/term_grande.png%         Exec exec Eterm --trans -f white --shade 40 --buttonbar=0 --scrollbar=0 -c white
+   "&Urxvt"%icons/term_grande.png%         Exec exec urxvt
+   ""                                     Nop
+   "Locais"%icons/system11.png%           Popup MenuSystem
+   ""                                     Nop
+   "Internet"%icons/internet.png%         Popup MenuInternet
+   "Graficos"%icons/gvim.png%             Popup MenuGraficos
+   "Programacao"%icons/gnome-devel.png%          Popup MenuProgramacao
+   "OpenOffice"%icons/gnome-applications.png%   Popup MenuOpenOffice
+   "Multimedia"%icons/multimedia.png%      Popup MenuMultimedia
+   "Jogos"%icons/games.png%               Popup MenuGames
+   "Preferencias"%icons/prefs.png%        Popup MenuFvwmConfig
+   "Sistema"%icons/gnome-settings.png%      Popup MenuSistema
+   "Utilidades"%icons/utils.png%          Popup MenuUtilities
+   "Executar..."%icons/run11.png%         Exec exec grun
+   "Debian Menu"%icons/run11.png%         Popup "/Debian"
+   ""                                     Nop
+   "Sair"%icons/sair3.png%                  Popup MenuQuit-Verify

DestroyMenu MenuSystem
AddToMenu MenuSystem
+   "Meu computador"%icons/filesystems/gnome-fs-home.png%         Exec exec nautilus --no-desktop --browser computer:///
+   ""                                               Nop
+   "Home"%icons/filesystems/home.png%                  Exec exec nautilus --no-desktop
+   "Explorar Raiz"%icons/filesystems/gnome-fs-home.png%        Exec exec nautilus --no-desktop --browser /
+   ""                                               Nop
+   "DVD-RW DL"%icons/devices/gnome-dev-cdrom.png%              Exec exec nautilus --no-desktop /media/cdrom
+   "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
+   "XosView"%icons/xos.png%                   Exec exec xosview
+   "Xmbmon"%icons/xmbmon.png%                   Exec exec xmbmon
+   "USBView"%icons/usbview.png%                   Exec exec usbview
+   ""                                               Nop
+   "Gnome Log viewer"%icons/gnome-log.png%             Exec exec gksu -u root gnome-system-log
+   "Gnome System Monitor"%icons/gnome-monitor.png%          Exec exec gnome-system-monitor


DestroyMenu MenuSistema
AddToMenu MenuSistema
+   "Ferramentas de Rede"%icons/gnome-nettool.png%    Exec exec gnome-nettool
+   "Configurar Rede"%icons/gnome-fs-network.png%   Exec exec gksu network-admin
+   "Configurar Proxy"%icons/stock_proxy.png%      Exec exec gnome-network-preferences
+   ""                           Nop
+   "Discos"%icons/gnome-fs-blockdev.png%            Exec exec gksu disks-admin
+   "Impressoras"%icons/gnome-dev-printer.png%       Exec exec gnome-cups-manager
+   "Monitor do Sistema"%icons/gnome-monitor.png%   Exec exec gnome-system-monitor
+   "Compartilhar"%icons/gnome-fs-share.png%       Exec exec gksu shares-admin
+   ""                           Nop
+   "Automatix"%icons/automatix.xpm%          Exec exec /usr/bin/automatix
+   "Synaptic"%icons/synaptic.png%            Exec exec gksu -u root synaptic
+   "Usuarios e Grupos"%icons/config-users.png%    Exec exec gksu users-admin


DestroyMenu MenuInternet
AddToMenu MenuInternet
+   "&Firefox"%icons/firefox.png%            Exec exec firefox
+   "Mozilla"%icons/internet.png%                Exec exec mozilla
+   "Galeon"%icons/galeon.png%                     Exec exec galeon
+   ""                                            Nop
+   "NxClient"%icons/nx.png%                        Exec exec /usr/NX/bin/nxclient
+   "Terminal Server"%icons/tsclient.png%            Exec exec tsclient
+   "VNC"%icons/gnome-remote-desktop.png%      Exec exec vino-preferences
+   ""                                            Nop
+   "Xchat"%icons/amsn.png%                      Exec exec xchat
+   "Gaim"%icons/gaim.png%                        Exec exec gaim
+   "Amsn"%icons/msn.png%            Exec exec amsn
+   "Ekiga"%icons/ekiga.png%            Exec exec ekiga
+   ""                                            Nop
+   "Gftp"%icons/gftp.png%                        Exec exec gftp
+   "Frostwire"%icons/frostwire.png%                 Exec exec frostwire
+   "GWget"%icons/gwget.png%                        Exec exec gwget
+   "BitTorrent"%icons/download.png%         Exec exec gnome-btdownload %U
+   "WebDownloader"%icons/nt.png%         Exec exec nt -a %U
+   "xMule"%icons/emule.png%            Exec exec xmule   



DestroyMenu MenuGraficos
AddToMenu MenuGraficos
+   "Gimp"%icons/gimp.png%                    Exec exec gimp
+   "Image Magick"%icons/gimp.png%              Exec exec display
+   "Sodipodi"%icons/sodipodi.png%              Exec exec sodipodi
+   "Digitalizacao Xsane"%icons/xsane.png%      Exec exec xsane




DestroyMenu MenuProgramacao
AddToMenu MenuProgramacao
+   "Anjuta"%icons/anjuta.xpm%                       Exec exec anjuta
+   "Eclipse"%icons/eclipse.png%                     Exec exec /usr/bin/eclipse
+   "Gedit"%icons/gedit.png%              Exec exec gedit
+   "Gvim"%icons/vim.xpm%                       Exec exec gvim
+   ""                                            Nop
+   "BlueFish"%icons/bluef.png%                    Exec exec bluefish
+   "Nvu"%icons/nvu.xpm%                       Exec exec nvu
+   "Nvu"%icons/screem.png%                       Exec exec screem
+   ""                                            Nop
+   "QT3 Designer"%icons/application-default-icon.png%   Exec exec designer-qt3
+   ""                                            Nop
+   "Lyx"%icons/lyx-qt.xpm%                       Exec exec lyx-qt



DestroyMenu MenuOpenOffice
AddToMenu MenuOpenOffice
+   "Word"%icons/ooo-writer.png%                Exec exec ooffice -writer
+   "PowerPoint"%icons/ooo-impress.png%         Exec exec ooffice -impress
+   "Excel"%icons/ooo-calc.png%            Exec exec ooffice -calc
+   "Danco de Dados"%icons/ooo-base.png%        Exec exec ooffice -base



DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ MissingSubmenuFunction FuncFvwmMenuDirectory
+   "Mplayer"%icons/mplayer.png%               Exec exec gmplayer
+   "Totem"%icons/mplayer.png%               Exec exec totem
+   "Xmms"%icons/xmmms.png%                     Exec exec xmms
+   "Xine"%icons/xine1.png%                  Exec exec xine
+   "Gxine"%icons/xine.png%                  Exec exec gxine
+   "Vlc"%icons/vlc.png%                  Exec exec wxvlc
+   ""                                         Nop
+   "gRip CD ripper"%icons/grip.png%            Exec exec grip
+   "acidRip DVD ripper"%icons/acidrip.png%     Exec exec acidrip
+   ""                                         Nop
+   "Graveman"%icons/graveman48.png%            Exec exec graveman
+   "xcdroast"%icons/k3b.png%                  Exec exec xcdroast
+   "k3b"%icons/k3b.png%                     Exec exec gksu -u root k3b



DestroyMenu MenuUtilities
AddToMenu MenuUtilities
+   "Capturar tela"%icons/applets-screenshooter.png%      Exec exec gnome-screenshot
+   "Stellarium"%icons/stellarium.png%      Exec exec stellarium
+   ""                                        Nop
+   "GTkam"%icons/screenshot.png%           Exec exec gtkam
+   "Gqcam"%icons/camera.png%              Exec exec gqcam
+   "Camstream"%icons/camstream.xpm%           Exec exec camstream
+   "Xawtv"%icons/camera.png%              Exec exec xawtv
+   ""                                        Nop
+   "Calculadora"%icons/gnome-calculator.png%        Exec exec gcalctool
+   "Gdesklets"%icons/gdesklets.png%            Exec exec gdesklets
+   "Xkill"%icons/xkill.png%               Exec exec xkill
+   "Trayer"%icons/xkill.png%            Exec exec trayer --edge top --widthtype pixel --width 200 --heighttype pixel \
                        --height 40  --transparent true --align left --tint white --alpha 254


DestroyMenu MenuGames
AddToMenu MenuGames
+   "Quake III"%icons/quake3.png%                Exec exec quake3
+   "EnemyTerritory     "%icons/et.png%             Exec exec et
+   ""                                            Nop
+   "Frozen Bubble"%icons/frozen-bubble.png%             Exec exec frozen-bubble
+   "Scorched 3D"%icons/scorched3d.png%             Exec exec /usr/games/scorched3d
+   "Same"%icons/gnome-gsame.png%                Exec exec /usr/games/same-gnome
+   "Mahjongg"%icons/gnome-mahjongg.png%             Exec exec /usr/games/mahjongg
+   "Freecell"%icons/gnome-cardgame.png%             Exec exec /usr/games/sol --variation freecell
+   "Minhoca"%icons/gnome-nibbles.png%             Exec exec /usr/games/gnibbles
+   ""                                            Nop
+   "TuxRacer"%icons/tuxracer.png%                Exec exec tuxracer



DestroyMenu MenuQuit-Verify
AddToMenu MenuQuit-Verify
+   "Fazer Logoff"%icons/logoff.png%                   Quit
+   "Reiniciar FVWM"%icons/reiniciar_fvwm.png%              Restart
+   ""                                               Nop
+   "Reiniciar Computador"%icons/reiniciar.png%              Exec exec gksu -u root /sbin/reboot
+   "Desligar Computador"%icons/desligar.png%              Exec exec gksu -u root halt



DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig
+   "Editar fvwm2rc"%icons/vim.xpm%                Exec exec gvim ~/.fvwm2rc
+   "Editor de Menu"%icons/nv.png%             Exec exec alacarte
+   "Screensaver"%icons/xkill.png%               Exec exec gnome-screensaver-preferences
+   "Gerenciar energia"%icons/gnome-dev-battery.png%         Exec exec gnome-power-preferences
+   ""                                               Nop
+   "GNOME settings STR"%icons/gnomestr.png%           Exec exec gnome-settings-daemon
+   "GNOME settings STP"%icons/gnomestp.png%           Exec exec killall gnome-settings-daemon
+   ""                                               Nop
+   "Carregar Xdefaults"%icons/cargarx.png%           Exec exec xrdb -load $HOME/.Xresources
+   MissingSubmenuFunction WallpaperBrowser
+   ""                                               Nop
+   "Fundo de Tela"%icons/fondo.png%                    Popup $[fvwm_wallpaper_dir]
+   ""                                               Nop
+   "Refresh"%icons/quit2.png%                          Refresh
+   "Matar"%icons/quit2.png%                          Pick Destroy



DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+   "Redimensionar"                        Pick Resize
+   "Shade"                                    Pick WindowShade Toggle
+   "Pregar"                                   Pick Stick
+   "Atualizar"                              Pick RefreshWindow
+   ""                                         Nop
+   "Identificar"                           Pick Module FvwmIdent
+   ""                                         Nop
+   "Enviar para"                             Popup MenuFvwmSendTo
+   ""                                         Nop
+   "Fechar"                                   Close
+   "Matar"                                     Destroy


DestroyMenu MenuFvwmSendTo
AddToMenu MenuFvwmSendTo
+   "Pagina &1" MoveToPage 0 0
+   "Pagina &2" MoveToPage 1 0 
+   "Pagina &3" MoveToPage 2 0
+   "Pagina &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}" "png:$0/.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"'





### 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
Mouse 2     TSIF    A   WindowShade

### 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






#----- Keyboard Bindings ------------------------------------------------#

# Arrow Keys
# press arrow + control + alt anywhere, and scroll by 1 page
Key Left        A       CM      Scroll -100  0
Key Left        A       CM2     Scroll -100  0
Key Left        A       CM5     Scroll -100  0
Key Left        A       CM25    Scroll -100  0

Key Right       A       CM      Scroll +100 +0
Key Right       A       CM2     Scroll +100 +0
Key Right       A       CM5     Scroll +100 +0
Key Right       A       CM25    Scroll +100 +0

Key Up          A       CM      Scroll +0   -100
Key Up          A       CM2     Scroll +0   -100
Key Up          A       CM5     Scroll +0   -100
Key Up          A       CM25    Scroll +0   -100

Key Down        A       CM      Scroll +0   +100
Key Down        A       CM2     Scroll +0   +100
Key Down        A       CM5     Scroll +0   +100
Key Down        A       CM25    Scroll +0   +100

# press shift arrow + meta key, and move the pointer by 1/10 of a page
Key Left        A       SM      Scroll -10 +0
Key Left        A       SM2     Scroll -10 +0
Key Left        A       SM5     Scroll -10 +0
Key Left        A       SM25    Scroll -10 +0

Key Right       A       SM      Scroll +10 +0
Key Right       A       SM2     Scroll +10 +0
Key Right       A       SM5     Scroll +10 +0
Key Right       A       SM25    Scroll +10 +0

Key Up          A       SM      Scroll +0  -10
Key Up          A       SM2     Scroll +0  -10
Key Up          A       SM5     Scroll +0  -10
Key Up          A       SM25    Scroll +0  -10

Key Down        A       SM      Scroll +0  +10
Key Down        A       SM2     Scroll +0  +10
Key Down        A       SM5     Scroll +0  +10
Key Down        A       SM25    Scroll +0  +10

Key F2          WFST    M       WindowShade
Key F2          WFST    M2      WindowShade
Key F2          WFST    M5      WindowShade
Key F2          WFST    M25     WindowShade

Key F3          WFST    M       RaiseLower
Key F3          WFST    M2      RaiseLower
Key F3          WFST    M5      RaiseLower
Key F3          WFST    M25     RaiseLower

Key F4          WFST    M       Delete
Key F4          WFST    M2      Delete
Key F4          WFST    M5      Delete
Key F4          WFST    M25     Delete

Key F5          I       M       Iconify 0
Key F5          I       M2      Iconify 0
Key F5          I       M5      Iconify 0
Key F5          I       M25     Iconify 0

Key F4          R       M       Menu "Quit" Nop
Key F4          R       M2      Menu "Quit" Nop
Key F4          R       M5      Menu "Quit" Nop
Key F4          R       M25     Menu "Quit" Nop

Key F7          WFST    M       Move
Key F7          WFST    M2      Move
Key F7          WFST    M5      Move
Key F7          WFST    M25     Move

Key F8          WFST    M       Resize
Key F8          WFST    M2      Resize
Key F8          WFST    M5      Resize
Key F8          WFST    M25     Resize

Key F9          WFST    M       Iconify 1
Key F9          WFST    M2      Iconify 1
Key F9          WFST    M5      Iconify 1
Key F9          WFST    M25     Iconify 1

Key F10         WFST    M       Maximize
Key F10         WFST    M2      Maximize
Key F10         WFST    M5      Maximize
Key F10         WFST    M25     Maximize

Key Tab    A    M    Windowlist Root c c NoCurrentDeskTitle

Key Menu        A       N       Menu "MenuFvwmRoot" Nop
Key Menu        A       N2      Menu "MenuFvwmRoot" Nop
Key Menu        A       N5      Menu "MenuFvwmRoot" Nop
Key Menu        A       N25     Menu "MenuFvwmRoot" Nop

Key Menu        A       C       Exec exec xlock -mode random -modelist all-allgl
Key Menu        A       C2      Exec exec xlock -mode random -modelist all-allgl
Key Menu        A       C5      Exec exec xlock -mode random -modelist all-allgl
Key Menu        A       C25     Exec exec xlock -mode random -modelist all-allgl

Key Menu        A       S       Exec exec xlock -mode random -modelist all-allgl -nolock
Key Menu        A       S2      Exec exec xlock -mode random -modelist all-allgl -nolock
Key Menu        A       S5      Exec exec xlock -mode random -modelist all-allgl -nolock
Key Menu        A       S25     Exec exec xlock -mode random -modelist all-allgl -nolock

Key Return      I       N       Iconify -1
Key Return      I       N2      Iconify -1
Key Return      I       N5      Iconify -1
Key Return      I       N25     Iconify -1
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts