Contenu | Rechercher | Menus

Annonce

Ubuntu 16.04 LTS
Commandez vos DVD et clés USB Ubuntu-fr !

Pour en savoir un peu plus sur l'équipe du forum.

Appel à contributeurs pour la doc.

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.

#601 Le 23/02/2007, à 17:10

NOKSY

Re : [HOW TO] adesklets : configuration des desklets

Merci beaucoup, mon problème est résolu.

A+

Hors ligne

#602 Le 01/03/2007, à 13:30

Tcheub

Re : [HOW TO] adesklets : configuration des desklets

Bonjour! smile
Je ai débarqué fraichement sur Ubuntu, et j'ai un souci que je n'arrive pas à résoudre. sad

J'ai installé via Synaptic la version 0.5.0-2 d'adesklets.. sans problème.. J'ai rajouté dans Sessions\programmes au démarrrage\ "adesklets --nautilus" puis "adesklets -d 5",

et rien ! En fait je ne sais pas si ça marche ou pas parce que rien n'a changé (je pencherai quand même pour dire que ça ne marche pas tongue)

Y-a-t-il d'autres choses à installer ? des modifs ? Mon but étant d'avoir sur le bureau des "trucs" comme l'espace dispo sur mes disques, la météo...

Merci pour votre aide ! wink


Ubuntu Hardy en dual boot avec XP
Asus A6va + E8200
Mon blog aux stazes

Hors ligne

#603 Le 01/03/2007, à 15:05

Oni

Re : [HOW TO] adesklets : configuration des desklets

Tcheub a écrit :

Bonjour! smile
Je ai débarqué fraichement sur Ubuntu, et j'ai un souci que je n'arrive pas à résoudre. sad

J'ai installé via Synaptic la version 0.5.0-2 d'adesklets.. sans problème.. J'ai rajouté dans Sessions\programmes au démarrrage\ "adesklets --nautilus" puis "adesklets -d 5",

et rien ! En fait je ne sais pas si ça marche ou pas parce que rien n'a changé (je pencherai quand même pour dire que ça ne marche pas tongue)

Y-a-t-il d'autres choses à installer ? des modifs ? Mon but étant d'avoir sur le bureau des "trucs" comme l'espace dispo sur mes disques, la météo...

Merci pour votre aide ! wink

Salut. smile

As-tu bien enregistrés tes desklets via le terminal ?

Par exemple places toi dans ton dossier desklets, ouvre un terminal et fait ./weatherforecast.py (si tu veux par exemple enregistrer la météo).

Là on te demande si tu veux enregistrer le desklet ou seulement le tester.
Tu tapes "r". wink

Puis ensuite dans "sessions" tu mets "adesklets --nautilus -d4" pour que tes desklets enregistrés se lancent au démarrage (au bout de 4 secondes par exemple).

wink


« La nature a créé des différences, l'Homme en a fait des inégalités. »

Hors ligne

#604 Le 02/03/2007, à 11:12

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

salutation bon je reviens à la charge avec mon soucis de temperature non affiché...

j'arrive à l'obtenir en console avec la commande

cat /proc/acpi/thermal_zone/TZ00/temperature

mais si je renseigne le chemin dans system monitor toujours un read failure....
Quelqu'un pour aider???


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#605 Le 12/03/2007, à 23:18

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

salutation j'ai un petit soucis avec le desklets photos0.0.5 en fait il semblerait que je l'ai lancer plusieurs fois (???) dans mon conifg j'ai des id0 à id5... et quand les desklets se lancent dans nautilus, j'ai 5 fois le photo...

Où doit-on supprimer les entrées des deskelts? dans le config de photo ce n'est pas ça, car j'ai beau laisser que id0, si je relance desklets, ils reviennent tous... enfin si je ne m'abuse...


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#606 Le 13/03/2007, à 00:14

Oni

Re : [HOW TO] adesklets : configuration des desklets

Efhache84 a écrit :

salutation j'ai un petit soucis avec le desklets photos0.0.5 en fait il semblerait que je l'ai lancer plusieurs fois (???) dans mon conifg j'ai des id0 à id5... et quand les desklets se lancent dans nautilus, j'ai 5 fois le photo...

Où doit-on supprimer les entrées des deskelts? dans le config de photo ce n'est pas ça, car j'ai beau laisser que id0, si je relance desklets, ils reviennent tous... enfin si je ne m'abuse...

Click droit sur le desklet et "Quit" ça donne quoi ? wink

Dernière modification par Oni (Le 13/03/2007, à 00:15)


« La nature a créé des différences, l'Homme en a fait des inégalités. »

Hors ligne

#607 Le 13/03/2007, à 08:47

golgot200

Re : [HOW TO] adesklets : configuration des desklets

Bonjour,

Un photo.py & un config.txt qui fonctionne chez moi au cas où.

photo.py

#!/usr/bin/env python
"""
photo - <goldie@drama.pl>
 Small Photo Gallery
"""
import adesklets
from random import shuffle
from os import getenv, spawnlp, P_NOWAIT, listdir
from os.path import join, dirname, split

class Config(adesklets.ConfigFile):
	cfg_default = { 'width': 321,
					'height': 428,
					'font': 'Vera',
					'font_size': 8,
					'font_color': '666666',
					'picture_background_color': '000000',
					'border_color': 'cccccc',
					'delay': 10,
					'fadding': False,
					'caption': True,
					'full_path_in_caption': False,
					'random': True,
					'files': 'files.list',
					'filelists': [ 'files.list', 'other.list' ]
				   }

	def __init__(self,id,filename):
		adesklets.ConfigFile.__init__(self,id,filename)

	def color(self,string):
		colors = [eval('0x%s' % string[i*2:i*2+2]) for i in range(len(string)/2)]
		if (len(colors) != 4): colors += [255]
		return colors

#------------------------------------------------------------------------------
class PhotoDesklet(object):
	def __init__(self, config, basedir):
		self.config = config
		self.basedir = basedir

	def __call__(self):
            #self._file_list=self.loadfile(join(self.basedir,self.config['files']))
            # mes modifs !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            d = self.loadfile(join(self.basedir,self.config['files']))
            l = listdir(d[0])
            ll = []
            for f in l :
                ff = join(d[0],f)
                ll.append(ff)
            self._file_list = ll
            print self._file_list
            # fin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


	def loadfile(self, file):
		self._all_ok=True
		try:
			f = open(file)
			list = f.read()
			f.close()
		except IOError, (errno, strerror):
			self._all_ok = "I/O error(%s): %s - %s" % (errno, file, strerror)
			return []
		k = list.split('\n')
		if (k[len(k)-1] ==""):
			k.pop()
		if (self.config['random']):
			shuffle(k)
		self._file_list_count = len(k)
		self._current_file = -1
		return k

	def nextfile(self):
		if (self._current_file + 1 >= self._file_list_count):
			if (self.config['random']):
				shuffle(self._file_list)
			self._current_file = 0
		else:
			self._current_file = self._current_file + 1
		#print 'next: %s %d/%d' % (self._file_list[self._current_file], self._current_file, self._file_list_count)
		return self._current_file

	def prevfile(self):
		if (self._current_file == 0):
			if (self.config['random']):
				shuffle(self._file_list)
			self._current_file = self._file_list_count - 1
		else:
			self._current_file = self._current_file - 1
		#print 'prev: %s %d/%d' % (self._file_list[self._current_file], self._current_file, self._file_list_count)
		return self._current_file

	def actfile(self):
		return self._file_list[self._current_file]

#-----------------------------------------------------------------------------
class Events(adesklets.Events_handler):
	def __init__(self, basedir):
		if len(basedir)==0:
			self.basedir='.'
		else:
			self.basedir=basedir
		adesklets.Events_handler.__init__(self)

	def __del__(self):
		adesklets.Events_handler.__del__(self)

	def ready(self):
		self.config=Config(adesklets.get_id(),
						   join(self.basedir,'config.txt'))
		self.photo_desklet = PhotoDesklet(self.config, self.basedir)
		self.photo_desklet()
		self._caption_font = adesklets.load_font('%s/%d' % (self.config['font'], self.config['font_size']))
		self._caption_font_color = (self.config['font_color'])
		adesklets.context_set_font(self._caption_font)
		text_width, text_height = adesklets.get_text_size("My")
		if(self.config['caption']):
			self._full_height = self.config['height'] + text_height + 32
			self._buffer_height = self.config['height'] + text_height + 5
		else:
			self._full_height = self.config['height'] + 32
			self._buffer_height = self.config['height'] + 5
		self._full_width = self.config['width'] + 32
		self._buffer_width = self.config['width'] + 2
		adesklets.window_resize(self._full_width,self._full_height)
		adesklets.window_set_transparency(True)
		self._paused=False
		self._direction_next = True
		self._manual_change = False
		self._refresh_menu()
		adesklets.context_set_color(*(self.config.color(self.config['font_color'])))
		adesklets.image_draw_line(4,8,self._full_width-4,8,0)
		adesklets.image_draw_line(4,self._full_height-8,self._full_width-4,self._full_height-8,0)
		adesklets.image_draw_line(8,4,8,self._full_height-4,0)
		adesklets.image_draw_line(self._full_width-8,4,self._full_width-8,self._full_height-4,0)
		adesklets.window_show()
		self._buffer=adesklets.create_image(self._buffer_width,self._buffer_height)

	def _refresh_menu(self):
		adesklets.menu_reset_all()
		adesklets.menu_add_separator()
		adesklets.menu_add_submenu('File lists')
		for x in self.config['filelists']:
			adesklets.menu_add_item(x)
		adesklets.menu_end_submenu()
		if not self._paused:
			if self._direction_next:
				adesklets.menu_add_item('Change direction to: backward')
			else:
				adesklets.menu_add_item('Change direction to: forward')
			adesklets.menu_add_item('Pause')
		else:
			adesklets.menu_add_item('Show next image')
			adesklets.menu_add_item('Show previous image')
			adesklets.menu_add_item('Unpause')
		adesklets.menu_add_separator()
		adesklets.menu_add_item('Configure')

	def display(self):
		if (self.photo_desklet._all_ok == True):
			pic = adesklets.load_image(self.photo_desklet.actfile())
			adesklets.context_set_image(pic)
			pic_width = adesklets.image_get_width()
			pic_height = adesklets.image_get_height()
			percent = 1.0
			perc2 = 1.0
			if (pic_width > self.config['width']):
				percent = self.config['width'] / float(pic_width)
			if (pic_height > self.config['height']):
				perc2 = self.config['height'] / float(pic_height)
			if perc2 < percent:
				percent = perc2
			p_width = pic_width * percent
			p_height = pic_height * percent
			p_top = 1 + (self.config['height'] - p_height)/2
			p_left = 1 + (self.config['width'] - p_width)/2
		adesklets.context_set_image(self._buffer)
		adesklets.context_set_color(0,0,0,0)
		adesklets.context_set_blend(False)
		adesklets.image_fill_rectangle(0, 0, self._buffer_width, self._buffer_height)
		adesklets.context_set_color(*(self.config.color(self.config['border_color'])))
		adesklets.image_draw_rectangle(0, 0, self.config['width']+2, self.config['height']+2)
		adesklets.context_set_color(*(self.config.color(self.config['picture_background_color'])))
		adesklets.image_fill_rectangle(1, 1, self.config['width'], self.config['height'])
		adesklets.context_set_color(*(self.config.color(self.config['font_color'])))
		if (self.photo_desklet._all_ok == True):
			if self.config['caption']:
				if self.config['full_path_in_caption']:
					adesklets.text_draw(0,self.config['height']+5,self.photo_desklet.actfile())
				else:
					path, file = split(self.photo_desklet.actfile())
					adesklets.text_draw(0,self.config['height']+5,file)
			adesklets.blend_image_onto_image(pic, 1, 0, 0, pic_width, pic_height, p_left, p_top, p_width, p_height)
		else:
			adesklets.context_set_color(*(self.config.color("ff0000")))
			adesklets.text_draw(0,self.config['height']+5,self.photo_desklet._all_ok)
		adesklets.context_set_image(0)
		adesklets.blend_image_onto_image(self._buffer, 1, 0, 0, self._buffer_width, self._buffer_height, 16, 16, self._buffer_width, self._buffer_height)
		if (self.photo_desklet._all_ok == True):
			adesklets.free_image(pic)
		#print adesklets.images_info()
		
	def alarm(self):
		if not self._paused or self._manual_change:
			self._manual_change = False
			self.block()
			if (self.photo_desklet._all_ok == True):
				if self._direction_next:
					self.photo_desklet.nextfile()
				else:
					self.photo_desklet.prevfile()
			self.display()
			self.unblock()
		return max(self.config['delay'],1)	

	def _show_pause(self):
		if self._paused:
			self.block()
			buffer_pause=adesklets.create_image(16,16)
			adesklets.context_set_image(buffer_pause)
			adesklets.context_set_color(0,0,0,255)
			adesklets.image_fill_rectangle(0, 0, 16, 16)
			adesklets.context_set_color(255,255,255,200)
			adesklets.image_draw_rectangle(0, 0, 16, 16)
			adesklets.context_set_color(255,0,0,255)
			adesklets.image_fill_rectangle(3, 3, 4, 10)
			adesklets.image_fill_rectangle(9, 3, 4, 10)
			adesklets.context_set_image(0)
			adesklets.blend_image_onto_image(buffer_pause, 1, 0, 0, 16, 16, 24, 24, 16, 16)
			adesklets.free_image(buffer_pause)
			self.unblock()
			
	def button_press(self, delayed, x, y, button):
		change_menu = False
		if not delayed and button==1:
			self._paused = not self._paused
			change_menu = True
		if not delayed and button==4:
			self._direction_next = False
			self._manual_change = True
			change_menu = True
			if self._paused:
				change_menu = False
				self.alarm()
		if not delayed and button==5:
			self._direction_next = True
			self._manual_change = True
			change_menu = True
			if self._paused:
				change_menu = False
				self.alarm()
		self._show_pause()
		if change_menu:
			self._refresh_menu()

	def menu_fire(self, delayed, menu_id, *item):
		if item==('Configure',):
			editor=getenv('EDITOR')
			if editor:
				self._execute('xterm -e %s ' % editor +
					join(self.basedir,'config.txt'))
		if item==('Change', 'direction', 'to', 'backward'):
			self._direction_next = False
			self._refresh_menu()
		if item==('Change', 'direction', 'to', 'forward'):
			self._direction_next = True
			self._refresh_menu()
		if item==('Show', 'next', 'image'):
			self._direction_next = True
			self._manual_change = True
			self.alarm()
			self._refresh_menu()
		if item==('Show', 'previous', 'image'):
			self._direction_next = False
			self._manual_change = True
			self.alarm()
			self._refresh_menu()
		if item==('Pause',) or item==('Unpause',):
			self._paused = not self._paused
			self._refresh_menu()
		# the file names can not have spaces or other special characters
		# they have to have an extension
		if len(item)==2:
			for x in self.config['filelists']:
				r = x.split('.')
				a, b = item
				if r[0] == a and r[1] == b:
					#reset all - load new file list
					print "loading " + x
					join(self.basedir,self.config['files'])
					self.photo_desklet._file_list = self.photo_desklet.loadfile(join(self.photo_desklet.basedir,x))
		self._show_pause()

	def _execute(self,command):
		spawnlp(P_NOWAIT, command.split()[0], *command.split())
#------------------------------------------------------------------------------
# Start running
Events(dirname(__file__)).pause()

conf.txt

# -*- coding: ASCII -*-
id0 = {'border_color': '4B4737',
 'caption': False,
 'delay': 5,
 'fadding': False,
 'filelists': ['files.list', 'other.list'],
 'files': 'files.list',
 'font': 'Vera',
 'font_color': '1C1C1C',
 'font_size': 8,
 'full_path_in_caption': False,
 'height': 150,
 'picture_background_color': '1C1C1C',
 'random': True,
 'width': 250}
id1 = {'border_color': 'cccccc',
 'caption': True,
 'delay': 5,
 'fadding': False,
 'filelists': ['files.list', 'other.list'],
 'files': 'files.list',
 'font': 'Vera',
 'font_color': '666666',
 'font_size': 8,
 'full_path_in_caption': False,
 'height': 428,
 'picture_background_color': '000000',
 'random': True,
 'width': 321}

Avec dans mon home un dossier "Photos" et mes photos redimentionnées en
Largeur : 245 pixels
Hauteur : 145 pixels
Avec GThumb.

Dernière modification par golgot200 (Le 13/03/2007, à 08:48)

Hors ligne

#608 Le 18/03/2007, à 15:18

Tcheub

Re : [HOW TO] adesklets : configuration des desklets

Hello!

Bon je reviens à la charge avec mon problème : j'ai installé aDesklets 0.6.1 (en suivant le tuto que l'on trouve dans ce forum), puis adeskclock-0.1.0.

Je n'ai pas vu de problème pendant ces installes.

Mon soucis est que l'horloge n'apparait pas.. Je pense cependant que ça marche "à moitié" car lorsque j'arrête Ubuntu, l'horloge apparait tout en haut à gauche, pendant un court laps de temps.. Je vous avoue que je souhaiterais que l'horloge soit visible constamment tongue


Ubuntu Hardy en dual boot avec XP
Asus A6va + E8200
Mon blog aux stazes

Hors ligne

#609 Le 18/03/2007, à 15:21

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

Oni a écrit :
Efhache84 a écrit :

salutation j'ai un petit soucis avec le desklets photos0.0.5 en fait il semblerait que je l'ai lancer plusieurs fois (???) dans mon conifg j'ai des id0 à id5... et quand les desklets se lancent dans nautilus, j'ai 5 fois le photo...

Où doit-on supprimer les entrées des deskelts? dans le config de photo ce n'est pas ça, car j'ai beau laisser que id0, si je relance desklets, ils reviennent tous... enfin si je ne m'abuse...

Click droit sur le desklet et "Quit" ça donne quoi ? wink

bah j'avais déjà tenté ça a pas marché mais depuis 2 jours c'est nickel... je devais avoir bu trop d'eau la première fois lol


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#610 Le 24/03/2007, à 18:00

JamesXB

Re : [HOW TO] adesklets : configuration des desklets

Bonjour,

j'ai installer adesklets 0.5.0-2 via synaptic mes desklets meteo et yab ce lance correctement au demarrage, par contre system monitor impossible qui ce lance, je ne comprends pas le problème sad je fait donc appele vous.

Hors ligne

#611 Le 25/03/2007, à 13:18

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

Probablement une configuration erronnée dans le fichier config...

poste le fichier ici...


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#612 Le 27/03/2007, à 19:21

JamesXB

Re : [HOW TO] adesklets : configuration des desklets

# -*- coding: ASCII -*-
#
# This is SystemMonitor.py desklet configuration file.  Yes, it is complicated.
#    
# There is one main key "meters" which has a list of meters to include.  Each 
# meter is a 2-tuple of the meter type, and the configuration for the meter.  
# Presently available meter types are: CPUMeter, MemoryMeter, NetworkMeter,  
# DiskIOMeter, DiskSpaceMeter, TemperatureMeter, and BatteryMeter.  
# Those should all be self explanatory as to what they measure.
# 
# CPU, Memory, Swap and DiskSpace meters are straightforward, just provide the 
# images, font type and size, and padding internal to the meter.  Optionally
# you can add an update speed, to specify that this meter shoould check for
# updates less often.  Update speed should be set to the number of seconds
# between updates.
#  
# Network and DiskIO meters require additional information: NetworkMeters 
# require an interface name.  This must match up with a network interface, 
# so names should be of the sort eth0, ppp0, etc.  If you have multiple 
# interfaces, just add multiple network meters, one for each interface.  You 
# must also specify maximum download and upload speeds in kilobytes per second.  
# The scale is logarithmic, so if you  overshoot it doesn't matter much - 
# undershooting will make the meter max out all the time - be generous.  DiskIO 
# is similar, except you now need to supply the disk name (hda, hdb, hdc etc.) 
# and max read and write speeds.  Again, better not to underestimate those 
# figures.
# 
# TemperatureMeter and BatteryMeter require ACPI support.  If you don't have
# ACPI support these meters will simply display as blank, so just comment them
# out of the configuration.  For TemperatureMeter you must supply the file
# to read for temperatures (/proc/acpi/thermal_zone/THM/temperature on my 
# system), and the max_temp (in degrees celsius) to provide some scale.
# BatteryMeter requires you to provide two acpi files, the info and state
# files.  You also need to provide a label, as multiple batteries are 
# supported (simply add multiple BatteryMeters with multiple labels and
# different info and state files).
# 
# For meters that have multiple meters/krells (Network, DiskIO, DiskSpace)
# you can specify a list of images to use for the krells.  The list must be
# the same length as the number of meters/krells to be displayed (2 in the
# case of Network and DiskIO, variable depending on your patition config
# in the case of DiskSpace).
# 
# There are also keys for the background image set (a set of three images,
# given as a list), the background colour (what colour the background of the
# meter blocks is), and the text colour.  You can also specify a global
# update speed for all meters.  If the desklet is using too much CPU for you
# then throttle back the update speed to update every 5 seconds or so, which will
# drastically decrease CPU use.
# 
# An alternate configuration could look like:
# {"meters" : [
#              ("CPUMeter",
#               {
#                "icon" : "images/icons/cpu.png",
#                "trough" : "images/shared/trough.png",
#                "krell" : "images/shared/krell_blue.png",
#                "meter font name" : "Vera",
#                "meter font size" : 11,
#                "vertical padding" : 4,
#                "horizontal padding" : 12
#               }
#              ),
#              ("DiskSpaceMeter",
#               {
#                "icon" : "images/icons/disk.png",
#                "trough" : "images/shared/trough_small.png",
#                "krell" : "images/shared/krell_green_small.png",
#                "meter font name" : "Vera",
#                "meter font size" : 7,
#                "vertical padding" : 2,
#                "horizontal padding" : 12
#               }
#              ),
#              ("NetworkMeter",
#               {
#                "interface name" : "ppp0",
#                "max down speed" : 8,
#                "max up speed" : 5,
#                "icon" : "images/icons/network-ppp.png",
#                "trough" : "images/shared/trough.png",
#                "krell" : ["images/shared/krell_green_small.png",
#                           "images/shared/krell_red_small.png"],
#                "meter font name" : "Vera",
#                "meter font size" : 7,
#                "vertical padding" : 4,
#                "horizontal padding" : 8
#               }
#              )              
#             ],
#  "update_speed" : 5
# }               
#    
id0 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id1 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id2 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id20 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id21 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id3 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id4 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id5 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}
id6 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskIOMeter',
             {'disk name': 'hda',
              'horizontal padding': 8,
              'icon': 'images/icons/disk.png',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max read speed': 10240,
              'max write speed': 10240,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('DiskSpaceMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/diskfree.png',
              'krell': 'images/shared/krell_blue_small.png',
              'meter font name': 'Vera',
              'meter font size': 6,
              'trough': 'images/shared/trough_small.png',
              'update speed': 60,
              'vertical padding': 2}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/THM/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_red.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8}),
            ('BatteryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/battery.png',
              'info_file': '/proc/acpi/battery/BAT0/info',
              'krell': 'images/shared/krell_green.png',
              'label': '',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'state_file': '/proc/acpi/battery/BAT0/state',
              'trough': 'images/shared/trough.png',
              'update_speed': 10,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}

Voici mon config.txt peut etre que je devrai enlever option batterie, comme je n'ai pas de portable, merci.

capturell6.th.png

Hors ligne

#613 Le 27/03/2007, à 20:55

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

Oui enlève l'option batterie mais tu enlèves surtout tous les groupes id... voici le mien pour info... test avec celui-là si jamais le tiens ne fonctionne pas mieux...

# -*- coding: ASCII -*-
#
# This is SystemMonitor.py desklet configuration file.  Yes, it is complicated.
#    
# There is one main key "meters" which has a list of meters to include.  Each 
# meter is a 2-tuple of the meter type, and the configuration for the meter.  
# Presently available meter types are: CPUMeter, MemoryMeter, NetworkMeter,  
# DiskIOMeter, DiskSpaceMeter, TemperatureMeter, and BatteryMeter.  
# Those should all be self explanatory as to what they measure.
# 
# CPU, Memory, Swap and DiskSpace meters are straightforward, just provide the 
# images, font type and size, and padding internal to the meter.  Optionally
# you can add an update speed, to specify that this meter shoould check for
# updates less often.  Update speed should be set to the number of seconds
# between updates.
#  
# Network and DiskIO meters require additional information: NetworkMeters 
# require an interface name.  This must match up with a network interface, 
# so names should be of the sort eth0, ppp0, etc.  If you have multiple 
# interfaces, just add multiple network meters, one for each interface.  You 
# must also specify maximum download and upload speeds in kilobytes per second.  
# The scale is logarithmic, so if you  overshoot it doesn't matter much - 
# undershooting will make the meter max out all the time - be generous.  DiskIO 
# is similar, except you now need to supply the disk name (hda, hdb, hdc etc.) 
# and max read and write speeds.  Again, better not to underestimate those 
# figures.
# 
# TemperatureMeter and BatteryMeter require ACPI support.  If you don't have
# ACPI support these meters will simply display as blank, so just comment them
# out of the configuration.  For TemperatureMeter you must supply the file
# to read for temperatures (/proc/acpi/thermal_zone/THM/temperature on my 
# system), and the max_temp (in degrees celsius) to provide some scale.
# BatteryMeter requires you to provide two acpi files, the info and state
# files.  You also need to provide a label, as multiple batteries are 
# supported (simply add multiple BatteryMeters with multiple labels and
# different info and state files).
# 
# For meters that have multiple meters/krells (Network, DiskIO, DiskSpace)
# you can specify a list of images to use for the krells.  The list must be
# the same length as the number of meters/krells to be displayed (2 in the
# case of Network and DiskIO, variable depending on your patition config
# in the case of DiskSpace).
# 
# There are also keys for the background image set (a set of three images,
# given as a list), the background colour (what colour the background of the
# meter blocks is), and the text colour.  You can also specify a global
# update speed for all meters.  If the desklet is using too much CPU for you
# then throttle back the update speed to update every 5 seconds or so, which will
# drastically decrease CPU use.
# 
# An alternate configuration could look like:
# {"meters" : [
#              ("CPUMeter",
#               {
#                "icon" : "images/icons/cpu.png",
#                "trough" : "images/shared/trough.png",
#                "krell" : "images/shared/krell_blue.png",
#                "meter font name" : "Vera",
#                "meter font size" : 11,
#                "vertical padding" : 4,
#                "horizontal padding" : 12
#               }
#              ),
#              ("DiskSpaceMeter",
#               {
#                "icon" : "images/icons/disk.png",
#                "trough" : "images/shared/trough_small.png",
#                "krell" : "images/shared/krell_green_small.png",
#                "meter font name" : "Vera",
#                "meter font size" : 7,
#                "vertical padding" : 2,
#                "horizontal padding" : 12
#               }
#              ),
#              ("NetworkMeter",
#               {
#                "interface name" : "ppp0",
#                "max down speed" : 8,
#                "max up speed" : 5,
#                "icon" : "images/icons/network-ppp.png",
#                "trough" : "images/shared/trough.png",
#                "krell" : ["images/shared/krell_green_small.png",
#                           "images/shared/krell_red_small.png"],
#                "meter font name" : "Vera",
#                "meter font size" : 7,
#                "vertical padding" : 4,
#                "horizontal padding" : 8
#               }
#              )              
#             ],
#  "update_speed" : 5
# }               
#    
id0 = {'background colour': (210, 210, 210, 130),
 'background images': ['images/shared/bg_top.png',
                       'images/shared/bg_middle.png',
                       'images/shared/bg_bottom.png'],
 'meters': [('CPUMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/cpu.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'vertical padding': 8}),
            ('MemoryMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/memory.png',
              'krell': 'images/shared/krell.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 10,
              'vertical padding': 8}),
            ('SwapMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/swap.png',
              'krell': 'images/shared/krell_blue.png',
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update speed': 30,
              'vertical padding': 8}),
            ('NetworkMeter',
             {'horizontal padding': 8,
              'icon': 'images/icons/network.png',
              'interface name': 'eth0',
              'krell': ['images/shared/krell_green_small.png',
                        'images/shared/krell_red_small.png'],
              'max down speed': 400,
              'max up speed': 80,
              'meter font name': 'Vera',
              'meter font size': 7,
              'trough': 'images/shared/trough_small.png',
              'update speed': 2,
              'vertical padding': 4}),
            ('TemperatureMeter',
             {'file': '/proc/acpi/thermal_zone/TZ00/temperature',
              'horizontal padding': 8,
              'icon': 'images/icons/temperature.png',
              'krell': 'images/shared/krell_green.png',
              'max_temp': 100.0,
              'meter font name': 'VeraBd',
              'meter font size': 8,
              'trough': 'images/shared/trough.png',
              'update_speed': 30,
              'vertical padding': 8})],
 'text colour': (0, 0, 0, 200),
 'update speed': 1}

Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#614 Le 27/03/2007, à 23:41

JamesXB

Re : [HOW TO] adesklets : configuration des desklets

Excellent, merci, sa marche super wink

Hors ligne

#615 Le 28/03/2007, à 09:03

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

de rien... si tu as encore besoin d'aide wink


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#616 Le 07/04/2007, à 01:56

beinuo21

Re : [HOW TO] adesklets : configuration des desklets

Bonjour!

Je viens d'installer ntfs-3g (qui marche tres bien!:)) pour écrire sur ma partition w$, mais depuis, SystemeMonitor n'affiche plus ma partition hda1(ntfs):(. Conky et gdesklets l'affiche pourtant. roll
J'ai essayé de configurer mon config.text mais il n'y a pas grand chose à configurer dans la partie "DiskSpaceMeter". Est-ce que quelqu'un aurait une idée?

Merci:)

Ps: Je suis sur ubuntu depuis 3 mois et je dois dire que cette distri est vraiment géniale! Tout comme sa communauté;)


Sony VAIO VGN-FZ21E : Core2duo T7250 - 2GbRam - 32Gb SSD Samsung SLC - nVidia 8400GS (éternel problème d'écran noir au démarrage, please help!)

Hors ligne

#617 Le 17/04/2007, à 15:29

Efhache84

Re : [HOW TO] adesklets : configuration des desklets

Salutation, je viens poster dans ce topic histoire de ne pas en ouvrir un supplémentaire sur adesklets, mais depuis ce matin j'éprouve quelques difficultés.
Je possède system monitor, photos 0.0.5 et modubar

depuis ce matin lorsque adesklets démare, soit photos déconne après le passage à une photo suivante, soit la modubar déconne lorsque je lance une appli


Quand je dis déconne, celà veut dire qu'il plante et... disparait


Un adesklets --nautilus, relance le bazard, mais dès que la photo change photos disparait. Seule solution refaire le listing des photos (avec cat -name   etc...)

A ce moment là photos va fonctionner mais si je lance une appli, modubar disparait...


Aspire 5633 WLMi - Lucid Lynx 10.04 en 64 bits

Hors ligne

#618 Le 18/04/2007, à 16:50

kopatux

Re : [HOW TO] adesklets : configuration des desklets

Bonjour. Voila je voulais savoir si ya moyen d'installer la modubar verticalement?
J'ose pas pensais à la solution d'en créer plusieurs d'une seule icone et de les mettre les uns sous les autres....
Pour le reste ce forum m'a vachement aidé. Merci


gropatux.]Merci de relire les règles du forum.[.fr

Hors ligne

#619 Le 25/04/2007, à 16:51

wiloo

Re : [HOW TO] adesklets : configuration des desklets

Bonjour,
j'ai juste un problème avec SystemMonitor sous Feisty avec Xgl et Beryl, c'est que quand Metacity est le gestionnaire de fenêtre j'ai bien la transparence (modif des 3 .png, 0 pour le 4e nombre de couleur), mais quand c'est Beryl qui gère, tout est noir hmm

C'est arrivé à quelqu'un ? Vous avez une solution ?
Merci

Hors ligne

#620 Le 09/05/2007, à 12:14

Jai_le_leu

Re : [HOW TO] adesklets : configuration des desklets

kopatux a écrit :

Bonjour. Voila je voulais savoir si ya moyen d'installer la modubar verticalement?
J'ose pas pensais à la solution d'en créer plusieurs d'une seule icone et de les mettre les uns sous les autres....
Pour le reste ce forum m'a vachement aidé. Merci

up, ça m'interesse aussi...
ou même s'il y a une solution juste pour yab wink

edit :
j'ai regardé le code source, et a priori il est horizontal en dur, y a pas de parametre pour ça....

donc je vais voir si j'arrive à le modifier pour l'avoir en vertical en dur, et si oui en le redant configurable

Dernière modification par Jai_le_leu (Le 09/05/2007, à 13:55)

Hors ligne

#621 Le 24/05/2007, à 01:27

kidrek

Re : [HOW TO] adesklets : configuration des desklets

Salut à tous,
apparemment je ne suis pas le seul à avoir ce petit pb !
Avez-vous un fond noir lors du lancement de yab par exemple ?
=> Car je suis obligé de restarter adesklets afin d'obtenir un fond transparent, pas le top.


- Kidrek ~ Administrateur Système -
http://kidrek.fr/blog/
- Un gros Bisous à mes bébés, que j'aime à  la folie -

Hors ligne

#622 Le 10/06/2007, à 16:09

golgot200

Re : [HOW TO] adesklets : configuration des desklets

Bonjour,

J'ai vu que desknotes 0.0.2 était présent sur:

http://adesklets.sourceforge.net/desklets.html

Est-ce que quelqu'un aurait réussi à le faire fonctionner.
Merci par avance.

Hors ligne

#623 Le 11/06/2007, à 11:02

Jai_le_leu

Re : [HOW TO] adesklets : configuration des desklets

Jai_le_leu a écrit :

donc je vais voir si j'arrive à le modifier pour l'avoir en vertical en dur, et si oui en le redant configurable

bon, après qq essais, j'y arrive pas... y a trop de variables de partout, j'ai pas une bonne vision du tout pour le faire....

mais ça doit être faisable, si quelqu'un a de la motivation smile

Hors ligne

#624 Le 11/06/2007, à 21:39

damadm

Re : [HOW TO] adesklets : configuration des desklets

golgot200 regarde le fichier config.txt dans de repertoir de desknotes
il y à une ligne

notes_file': '/home/user/.desknotes'

donc dans ce fichier tu remplaces le "user" par le tien et tu créé un fichier .desknotes et voila le tour est joué
le desklets apparait en haut à gauche il est tout petit regarde bien il se cache.
Ce desklet est decevant...

Dernière modification par damadm (Le 11/06/2007, à 21:39)

Hors ligne

#625 Le 12/06/2007, à 06:03

golgot200

Re : [HOW TO] adesklets : configuration des desklets

Salut damadm,
Merci de me répondre.
En effet, j'ai vu comment le configurer et c'est vrai qu'il est vraiment décevant.
Bye. wink

Hors ligne