Main index > Usage problems > Modubar problem [SOLVED]

By tuxbubling (User), on Sun Jun 26 15:08:04 2005, last edited on Wed Jul 6 04:30:01 2005: Modubar problem [SOLVED].

Hello everyone!
I just install adesklet and start to use modubar.
Here is what i can get:
ftp://tuxbubling.hopto.org/pics/modubar.png

And this is the conf file:

Code:

id0 = {'bar_background_1': 'FFFFFF',
 'bar_background_2': None,
 'bar_foreground': '000000',
 'bar_gradient_angle': 0,
 'bar_height': 22,
 'bar_opacity_1': 0,
 'bar_opacity_2': 100,
 'caption_above': False,
 'caption_color': '000000',
 'caption_delay': 1.0000000000000001e-17,
 'caption_fade_in': False,
 'caption_fade_in_duration': 0.29999999999999999,
 'caption_fade_in_steps': 10,
 'caption_font': 'VeraBd',
 'caption_size': 10,
 'click_effect': 'tint(alpha=100,red=100,green=100,blue=100);',
 'click_effect_duration': 0.10000000000000001,
 'icon_max_height': 64,
 'icon_max_width': 64,
 'icon_maximize_threshold': 1.0,
 'icon_min_height': 48,
 'icon_min_width': 48,

 'icon_spacing': 5,
 'icons': [('gnome-home.png', 'Home', 'rox /home/tuxbubling'),
           ('gnome-dev-harddisk.png', '/', 'rox /'),
           ('gnome-dev-zipdisk.png', 'mp3', 'rox /usr/local/mp3'),
           ('gnome-applications.png', 'Stuff', 'rox /usr/local/stuff'),
           ('firefox.png', 'Firefox', 'firefox'),
           ('thunderbird.png', 'Thunderbird', 'thunderbird'),
           ('gimp.png', 'Gimp', 'gimp')],
 'mod_background_1': None,
 'mod_background_2': None,
 'mod_clock_font': 'VeraBd',
 'mod_clock_size': 12,
 'mod_font_color': '000000',
 'mod_font_opacity': 'AA',
 'mod_foreground_1': None,
 'mod_foreground_2': None,
 'mod_gradient_angle': 0,
 'mod_opacity_1': 100,
 'mod_opacity_2': None,
 'module_height': 32,
 'modules': [('clock', 1)],
 'modules_on': True}



So the problem is, that i can't put anymore button (icon), if i had any more icon line the desklet doesn't restart anymore... :?
I carefully take care of the syntax, and i can't find a way to have more icons....

If someone had an idea :wink:

Thanks in advance
++
Tuxbubling

By syfou (Core Developer & Desklet Author), on Tue Jun 28 18:09:05 2005.

tuxbubling, what is the console output when you try to put more icons? Normally, the exception trace will be very helpful to solve the issues you could encounter. Normally, there is no artificial limitation on the number of icons you can use. Look into the config.txt explanation for how to do this. Yours,

By tuxbubling (User), on Thu Jun 30 12:18:56 2005.

Syfou thanks to answer!
Actually there is no messages.... When i reload adesklets with one more icon, adesklets is simply not starting, without any error message...
That's quite strange because i really take care of the config syntax :?

++
Tuxbubling

By syfou (Core Developer & Desklet Author), on Thu Jun 30 13:26:54 2005.

Would you show us your configuration file in the problematic state, tuxbubling (the one that makes the desklet not start -- most probably, it did start, but get stuck somewhere: you can know this by looking at the /tmp/adesklets_$UID*.lock files)? I will try to reproduce the problem by myself (I will look into it as soon as I can, but I am away from my own computer for a few days).

By tuxbubling (User), on Fri Jul 1 03:18:31 2005.

I did try, here his my config:

Code:

id0 = {'bar_background_1': 'FFFFFF',
 'bar_background_2': None,
 'bar_foreground': '000000',
 'bar_gradient_angle': 0,
 'bar_height': 22,
 'bar_opacity_1': 0,
 'bar_opacity_2': 100,
 'caption_above': False,
 'caption_color': '000000',
 'caption_delay': 1.0000000000000001e-17,
 'caption_fade_in': False,
 'caption_fade_in_duration': 0.29999999999999999,
 'caption_fade_in_steps': 10,
 'caption_font': 'VeraBd',
 'caption_size': 10,
 'click_effect': 'tint(alpha=100,red=100,green=100,blue=100);',
 'click_effect_duration': 0.10000000000000001,
 'icon_max_height': 64,
 'icon_max_width': 64,
 'icon_maximize_threshold': 1.0,
 'icon_min_height': 48,
 'icon_min_width': 48,
 'icon_spacing': 5,
 'icons': [('gnome-home.png', 'Home', 'rox /home/tuxbubling'),
           ('gnome-dev-harddisk.png', '/', 'rox /'),
           ('gnome-dev-zipdisk.png', 'mp3', 'rox /usr/local/mp3'),
           ('gnome-applications.png', 'Stuff', 'rox /usr/local/stuff'),
           ('gnome-home.png', 'Movies', 'rox /usr/local/stuff/Movies'),
           ('firefox.png', 'Firefox', 'firefox'),
           ('thunderbird.png', 'Thunderbird', 'thunderbird'),
           ('gimp.png', 'Gimp', 'gimp')],
 'mod_background_1': None,
 'mod_background_2': None,
 'mod_clock_font': 'VeraBd',
 'mod_clock_size': 12,
 'mod_font_color': '000000',
 'mod_font_opacity': 'AA',
 'mod_foreground_1': None,
 'mod_foreground_2': None,
 'mod_gradient_angle': 0,
 'mod_opacity_1': 100,
 'mod_opacity_2': None,
 'module_height': 32,
 'modules': [('clock', 1)],
 'modules_on': True}



You that i just add one more line, adesklets got stuck :? (you were right about the lock file) but doesn't give me any message :(

By syfou (Core Developer & Desklet Author), on Mon Jul 4 15:17:15 2005.

Damned... I should have remembered this (two first posts above). This applies to modubar too, as It is based on the yab code. I am pretty confident it should solve your specific problem. Yours,

By tuxbubling (User), on Wed Jul 6 04:29:14 2005.

Thanks for all man!!


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.