Tutoriel mettre des icones de raccourcis Pypanel Dans ce tutoriel je

Transcription

Tutoriel mettre des icones de raccourcis Pypanel Dans ce tutoriel je
Tutoriel mettre des icones de raccourcis Pypanel
Dans ce tutoriel je vais vous montrer comment mettre des icones de raccourcis sur votre panneau
Pypanel.
La manipulation est très simple:
✗
✗
✗
Ouvrez un éditeur de texte (chez moi Scite)
Ouvrez ce fichier: /home/~/.pypanelrc (~ nom de votre compte > chez moi dhoko)
Cherchez dans ce fichier: ICON_LIST (pas loin en dessous de Font)
On va donc éditer ce fichier, je prends la partie qui est importante (1):
#-----------------------------------------------------------------------------# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
#
# The "default" entry is used for applications with no icon. If left "",
# PyPanel will use the default icon distributed with the source.
#
# Add entries using the following format # "<application name>" : "<full path to icon>",
#-----------------------------------------------------------------------------ICON_LIST
={
"default" : "",
"example" : "/usr/share/imlib2/data/images/audio.png",
}
#-----------------------------------------------------------------------------# Application Launch List: Ordered list of icons and applications for the
#
application launcher.
#
# Add entries using the following format # ("<executable>", "<full path to icon>")
#-----------------------------------------------------------------------------LAUNCH_LIST = [("thunar", "/usr/share/icons/Tango/32x32/apps/system-file-manager.png"),
("firefox", "/usr/share/icons/Tango/32x32/apps/internet-web-browser.png"), ("gksu /usr/sbin/wolvixcontrol-panel","/usr/share/pixmaps/wolvix-control-panel.png")]
#-----------------------------------------------------------------------------Si vous n'avez pas ces lignes, collez les après ceci: (je mets pas mal de ligne pour se repérer plus
Tutoriel par dhoko
http://colibri.servhome.org
Tutoriel mettre des icones de raccourcis Pypanel
simplement)
CLOCK_DELAY
= 20
#-----------------------------------------------------------------------------# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#-----------------------------------------------------------------------------HIDE_LIST
= []
#-----------------------------------------------------------------------------# Hidden Panel Size: Size of the panel when it's hidden/minimized
#-----------------------------------------------------------------------------HIDDEN_SIZE = 2
#-----------------------------------------------------------------------------# Panel Text Font: This option takes either a traditional or Xft font string
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
# "aquafont-8"
#-----------------------------------------------------------------------------FONT
= "bitstream vera sans-8"
#-----------------------------------------------------------------------------# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled - Selected apps are moved to the current desktop
# 2: Enabled - Current desktop is changed to the selected apps desktop
#-----------------------------------------------------------------------------SHOWALL
=0
# 0, 1 or 2 - see descriptions above
#-----------------------------------------------------------------------------# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled - Show only minimized apps on the panel
#-----------------------------------------------------------------------------SHOWMINIMIZED = 0
Collez juste apres ceci les lignes (1).
Pour modifier les lanceurs, utilisez la ligne LAUNCH_LIST =
[("applications","/adressedelicone/machin.png"),("applications","/adressedelicone/machin.png")]
Voilà la ligne type, ce qui est souligne est la structure de base, pour ajouter plusieurs applications il
suffit de répèter cette structure et de mettre entre deux structures une virgule. Après attention à ne pas
Tutoriel par dhoko
http://colibri.servhome.org
Tutoriel mettre des icones de raccourcis Pypanel
oublier d'ouvrir et fermer les parenthèses et les crochets (les crochets sont juste là pour encadrer les
structures donc un au tout début et un autre tout à la fin !!)
Voilà c'est rapide et facile.
Tutoriel par dhoko
http://colibri.servhome.org