Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/04/2009, à 22:51

ferreol

terminer une config fvwm

hello ,

je me suis fait une config basée fvwmrc de pasq puis j ai modifié quelques trucs mais je bloque pour finir ma config :

screenshot1biu.th.png

j aimerais avoir les miniatures des screenshot ( iconifier) dans la barre des taches en haut est ce possible ? si oui comment ?

Ensuite j aimerai aussi utiliser stalonetray (pour le bluetooth et la batterie state) mais il ne marche pas bien surtout comment l integrer dans la barre des taches en haut ?


mon staleonetray:

#transparent true
#geometry 124x24+3-700
#icon_gravity W
#grow_gravity W
#skip_taskbar true
#window_layer bottom
#window_layer bottom
#sticky true

# vim:filetype=config:tw=80:et
# 
# This is sample ~/.stalonetrayrc, resembling default configuration.
# Remember: command line parameters take precedence.
#
# Directives introduced in 0.7.4 are marked with "NEW in 0.7.4"
#
####################################################################
# 
# stalonetray understands following directives
#
####################################################################

# background <color>         # color can be specified as an HTML hex triplet or
                             # as a name from rgb.txt, note that '#' must be quoted
#background "#777777"

# decorations <decspec>      # set trays window decorations; possible values for
                             # decspec are: all, title, border, none
decorations none

# display <display name>     # as usual

# dbg_level <int>            # controls the amount of debug info (for this setting to
                             # have effect, stalonetray sources must have been
                             # configured and compiled with --enable-debug)
# dbg_level 2

# fuzzy_edges [<level>]      # enable fuzzy edges and set fuzziness level. level
                             # can be from 0 (disabled) to 3; this setting works
                             # with tinting and/or transparent and/or pixmap
                             # backgrounds (NEW in 0.7)
#fuzzy_edges 0

# geometry <geometry>        # tray's geometry in standard X notation
#geometry 140x64-50-14
geometry 124x24-2-700

# grow_gravity <gravity>     # one of N, S, E, W, NW, NE, SW, SE; tray will grow
                             # in the direction opposite to one specified by
                             # grow_gravity; if horizontal or vertical
                             # direction is not specified, tray will not grow in
                             # that direction
grow_gravity E

# icon_gravity <gravity>     # icon placement gravity, one of NW, NE, SW, SE
icon_gravity E

# icon_size <int>            # specifies dimensions of typical icon slot
icon_size 24

# ignore_icon_resize [<bool>] # ignore icon attempts to resize their windows
                             # (NEW in 0.7)
ignore_icon_resize false

# max_width <int>            # specifies maximal tray's width (0 = no limit)
max_width 0

# max_height <int>           # specifies maximal tray's height (0 = no limit)
max_height 0

# no_shrink [<bool>]         # disables shrink-back mode (NEW in 0.7)
no_shrink true

# parent_bg [<bool>]         # whether to use pseudo-transparency 
                             # (looks better when reparented into smth like FvwmButtons)
parent_bg true

# pixmap_bg <path_to_xpm>    # use pixmap from specified xpm file for (tiled) background
# pixmap_bg /home/user/.stalonetraybg.xpm

# respect_icon_hints [<bool>] # try to respect icon hints (NEW in 0.7)
respect_icon_hints false

# skip_taskbar [<bool>]      # hide tray`s window from the taskbar
skip_taskbar true

# sticky [<bool>]            # make a tray`s window sticky across the
                             # desktops/pages
sticky true

# tint_color <color>         # set tinting color (NEW in 0.7)
tint_color black

# tint_level <level>         # set tinting level; level ranges from 0 (disabled)
                             # to 255 (NEW in 0.7)
tint_level 1

# transparent [<bool>]       # whether to use root-transparency (background
                             # image must be set with Esetroot or compatible utility)
transparent true

# vertical [<bool>]          # whether to use vertical layout (horisontal layout
                             # is used by default)
vertical false

# window_layer <layer>       # set the EWMH-compatible window layer; one of:
                             # bootom, normal, top
window_layer top

# window_type <type>         # set the EWMH-compatible window type; one of:
                             # dock, normal, toolbar, utility
window_type dock

# withdrawn [<bool>]         # start withdrawn (NEW in 0.7, prior to that
                             # withdrawn mode was default!)
withdrawn false

# xsync [<bool>]             # whether to operate on X server synchronously (SLOOOOW)
xsync false

ma barre des taches:

#  ____        _   _                  
# | __ ) _   _| |_| |_ ___  _ __  ___ 
# |  _ \| | | | __| __/ _ \| '_ \/ __|
# | |_) | |_| | |_| || (_) | | | \__ \
# |____/ \__,_|\__|\__\___/|_| |_|___/
                                    

DestroyMenu MenuVol
AddToMenu MenuVol
+ "100%%" Exec exec aumix -w 100
+ "90%%" Exec exec aumix -w 90
+ "80%%" Exec exec aumix -w 80
+ "70%%" Exec exec aumix -w 70
+ "60%%" Exec exec aumix -w 60
+ "50%%" Exec exec aumix -w 50
+ "40%%" Exec exec aumix -w 40
+ "30%%" Exec exec aumix -w 30
+ "20%%" Exec exec aumix -w 20
+ "10%%" Exec exec aumix -w 10
+ "0%%" Exec exec aumix -w 0

MenuStyle * Font "xft:NEUROPOL:bold:pixelsize=11:Minspace=true"
Style * Font "xft:NEUROPOL:bold:pixelsize=11:Minspace=true"
Style * IconBox 1260x900+10+34, IconFill b l
#Style * IconBox 10 -180 -10 15
EwmhBaseStruts 0 0 26 0

All (module-dock) Close
*module-dock: BoxSize smart
*module-dock: Colorset 100
*module-dock: Frame 0
*module-dock: Padding 0 0
*module-dock: Geometry 1022x24+0+0
*module-dock: Rows 5
*module-dock: Columns 1020
*module-dock: Font "xft:NEUROPOL:bold:pixelsize=12:minspace=true"
*module-dock: (25x5, Icon "dock/penguin.png", Action (Mouse 3) Menu MenuFvwmRoot Rectangle +0+25 0 0m, Action (Mouse 1) Menu MenuFvwmRoot Rectangle +0+25 0 0m )
*module-dock: (8x5)
*module-dock: (60x5, Frame 0,  Title(Side) "config", Action (Mouse 3) Menu MenuLook Rectangle +$left+25 0 0m, Action (Mouse 1) Menu MenuLook Rectangle +$left+25 0 0m)
*module-dock: (24x5, Icon "dock/camera.png", Action (Mouse 3) Exec exec xfce4-screenshooter, Action (Mouse 1) Exec exec xfce4-screenshooter)
*module-dock: (500x5)
*module-dock: (1x5, Icon "dock/kreska.png" )
*module-dock: (100x5, Swallow (UseOld) "FvwmPager" )
*module-dock: (1x5, Icon "dock/kreska.png" )
*module-dock: (4x5)
*module-dock: (24x5, Icon "dock/vol.png", Action (Mouse 3) Menu MenuVol Rectangle +$left+20 0 0m, Action (Mouse 1) Menu MenuVol Rectangle +$left+20 0 0m )
*module-dock: (10x5)
*module-dock: (90x5,Swallow FvwmDate `Module FvwmScript scripts/Clock2`)
*module-dock: (4x5)
*module-dock: (4x5)
*module-dock: (32x5, Icon "dock/wifi.png", Action (Mouse 3) Exec exec wicd-client --no-tray, Action (Mouse 1) Exec exec wicd-client --no-tray)
*module-dock: (6x5)
*module-dock: (24x5, Icon "dock/eee.png", Action (Mouse 3) Exec exec eee-applet, Action (Mouse 1) Exec exec eee-applet)
*module-dock: (6x5)
*module-dock: (24x5, Icon "dock/bluetooth.png", Action (Mouse 3) Exec exec bluetooth-analyzer, Action (Mouse 1) Exec exec bluetooth-analyzer)
*module-dock: (6x5)
*module-dock: (24x5, Icon "dock/calculator.png", Action (Mouse 3) Exec exec speedcrunch, Action (Mouse 1) Exec exec speedcrunch)
*module-dock: (24x5)
*module-dock: (24x5, Icon "dock/exit.png", Action (Mouse 3) Menu MenuQuit Rectangle +$left+25 0 0m, Action (Mouse 1) Menu MenuQuit Rectangle +$left+25 0 0m )
*module-dock: (4x5)

Module FvwmButtons module-dock

Style module-dock NoTitle, NoHandles, Sticky, NoIcon, NeverFocus, WindowListSkip, FixedPosition, FixedSize, StaysOnBottom

# vim: ft=fvwm:

ma fonction miniature:

#  _____ _                     _         
# |_   _| |__  _   _ _ __ ___ | |__  ___ 
#   | | | '_ \| | | | '_ ` _ \| '_ \/ __|
#   | | | | | | |_| | | | | | | |_) \__ \
#   |_| |_| |_|\__,_|_| |_| |_|_.__/|___/


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 ReThumbnail
AddToFunc ReThumbnail
+ I Iconify
+ I Thumbnail



# vim: ft=fvwm

Si j arrive a voir cela je peux enfin virer gnome

si vous avez des conseils merci d avance.

Dernière modification par ferreol (Le 14/04/2009, à 23:00)

Hors ligne