Bonjour !
Après une fin de semaine chargée, j’ai enfin pu tester stalonetray.
Pour cela j’ai trouvé deux méthodes sur le net :
1/
Dans /usr/share/applications/stalonetray.desktop j’ai ajouté :
[Desktop Entry]
Encoding=UTF-8
Version=0.6.2
Name=stalonetray
Type=Application
Comment=a stand-alone freedesktop.org and KDE system tray
Exec=stalonetray
Icon=
Categories=Applications;Tray;Startup
Term=
et dans /usr/share/applications/nm-applet.desktop j’ai ajouté :
[Desktop Entry]
Encoding=UTF-8
Name=Network Manager
Comment=Network Manager applet
Icon=nm-device-wireless
Exec=nm-applet --sm-disable
Terminal=false
Type=Application
Categories=Application;Network;
2/Dans mon /home, j’ai ajouté un fichier .stalonetrayrc avec :
vim:filetype=config:tw=80:et
This is sample ~/.stalonetrayrc, resembling default configuration.
Remember: command line parameters take precedence.
Directives introduced in 0.7.6 are marked with “NEW in 0.7.6”
####################################################################
stalonetray understands following directives
####################################################################
background # color can be specified as an HTML hex triplet or
# as a name from rgb.txt, note that '#' must be quoted
background “#777777”
decorations # set trays window decorations; possible values for
# decspec are: all, title, border, none
decorations none
display # as usual
dbg_level # 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 0
fuzzy_edges [] # 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 # tray’s geometry in standard X notation
C’est ici que tu changes sa taille, et son emplacement (en partant d’en bas à droite)
geometry 25x25-1258-1
grow_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 W
icon_gravity # icon placement gravity, one of NW, NE, SW, SE
icon_gravity NE
icon_size # specifies dimensions of typical icon slot
icon_size 20
ignore_icon_resize [] # ignore icon attempts to resize their windows
# (NEW in 0.7)
ignore_icon_resize true
max_width # specifies maximal tray’s width (0 = no limit)
max_width 0
max_height # specifies maximal tray’s height (0 = no limit)
max_height 25
no_shrink [] # disables shrink-back mode (NEW in 0.7)
no_shrink false
parent_bg [] # 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 [] # try to respect icon hints (NEW in 0.7)
respect_icon_hints true
skip_taskbar [] # hide tray`s window from the taskbar
skip_taskbar true
sticky [] # make a tray`s window sticky across the
# desktops/pages
sticky true
tint_color # set tinting color (NEW in 0.7)
tint_color white
tint_level # set tinting level; level ranges from 0 (disabled)
# to 255 (NEW in 0.7)
tint_level 0
transparent [] # whether to use root-transparency (background
# image must be set with Esetroot or compatible utility)
transparent true
vertical [] # whether to use vertical layout (horisontal layout
# is used by default)
vertical false
window_layer # set the EWMH-compatible window layer; one of:
# bootom, normal, top
window_layer normal
window_type # set the EWMH-compatible window type; one of:
# dock, normal, toolbar, utility
window_type toolbar
withdrawn [] # start withdrawn (NEW in 0.7, prior to that
# withdrawn mode was default!)
withdrawn false
xsync [] # whether to operate on X server synchronously (SLOOOOW)
xsync false
Ensuite j’ai ajouté les applis satlonetray et network-manager dans l’Ibar et je peux lancer stalonetray puis nm-applet manuellement…
Il y a surement une des deux méthodes qui est la bonne mais j’ignore laquelle… Quel fichier as-tu crée sur ta config et comment remplir les champs pour avoir par exemple la transparence ?
De plus, je n’ai pas réussi à lancer cela au démarrage… Pourtant sous Settings / Applications / New application, j’ai donné le chemin de ces deux fichiers en cochant “startup notify”.
(Ah oui j’ai aussi e17 tout en anglais
)
Merci d’avance !