self._active=1
self._active=-1
def _get_current_time(self):
return time.strftime('%I:%M %P', time.localtime(time.time()))
[...] 'bar_background_1': None, 'bar_foreground': None, [...]
[...] 'bar_background_1': None, 'bar_foreground': None, [...]
Traceback (most recent call last):
File "./modubar.py", line 749, in ?
Events(dirname(__file__)).pause()
File "./modubar.py", line 470, in pause
(time.time()-time_initial)),.01))
File "/usr/lib64/python2.3/site-packages/adesklets/events_handler.py", line 214, in _fire_event
[x for x in
File "./modubar.py", line 415, in button_press
adesklets.apply_filter(self.config['click_effect'])
File "/usr/lib64/python2.3/site-packages/adesklets/commands.py", line 506, in apply_filter
return comm.out()
File "/usr/lib64/python2.3/site-packages/adesklets/commands_handler.py", line 93, in out
output=self.__comm.out(.01)
File "/usr/lib64/python2.3/site-packages/adesklets/communicator.py", line 91, in out
raise ADESKLETSError(1)
adesklets.error_handler.ADESKLETSError: adesklets process exited -
'icons': [('konsole.png', '', 'xfterm4'),
('opera.png', '', 'firefox'),
('thunderbird.png', '', 'mozilla-thunderbird'),
('audacity.png', '', 'xmms'),
('xine.png', 'XMMS', 'vlc')],
'icons': [('konsole.png', '', 'xfterm4'),
('opera.png', '', 'firefox'),
('thunderbird.png', '', 'mozilla-thunderbird'),
('audacity.png', '', 'xmms'),
('xine.png', '', 'vlc')
('kmix.png', '', 'xfce4-mixer')],
'icons': [('konsole.png', '', 'xfterm4'),
('opera.png', '', 'firefox'),
('thunderbird.png', '', 'mozilla-thunderbird'),
('audacity.png', '', 'xmms'),
[]],
'icons': [('konsole.png', '', 'xfterm4'),
('opera.png', '', 'firefox'),
('thunderbird.png', '', 'mozilla-thunderbird'),
('audacity.png', '', 'xmms'),
('xine.png', '', 'vlc'),
('kmix.png', '', 'xfce4-mixer')],
/* Make sure the stdin buffer is big enough */
if (setvbuf(stdin,NULL,_IOLBF,8192)!=0) {
fprintf(stderr,"Could not change stdin buffer size\n");
return 0;
}
touch scripting/enums scripting/prototypes
#define HAVE_READLINE_HISTORY_H 1
adesklets --killall && \ env ADESKLETS_ID=6 DISPLAY=:0.1 /path/to/modubar.py
bash-3.00$ ls /var/log/packages/ |grep imlib imlib-1.9.15-i486-1 imlib2-1.1.0-i386-1
'icons': [('gaim.png', '', 'gaim'),
('firefox.png', '', 'firefox'),
('home.png', '', 'thunar'),
('terminal.png', '', 'gnome-terminal'),
('rhythmbox.png', '', 'rhythmbox')],
'icons': [('gaim.png', '', 'gaim'),
('firefox.png', '', 'firefox'),
('home.png', '', 'thunar'),
('terminal.png', '', 'gnome-terminal'),
('rhythmbox.png', '', 'rhythmbox'),
('mplayer.png', '', gmplayer')],
('mplayer.png', '', 'gmplayer')],
python < config.txt
('mplayer.png', '', 'gmplayer')],