Re: [gentoo-user] Re: adesklets
On Sunday 11 March 2007 12:02, Neal McConachie wrote: Yep, the default config.txt for the volume applet specifies the VeraBd font, with size 8. Also, when I used the commands $ slocate VeraBd (to see if I had that font installed) I seem to have that font alright: == $ slocate VeraBd /usr/lib/openoffice/share/fonts/truetype/VeraBd.ttf /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf == Not sure why it fails then. -- Regards, Mick pgpjUlrX32VHQ.pgp Description: PGP signature
Re: [gentoo-user] Re: adesklets
Mick said the following: I seem to have that font alright: == $ slocate VeraBd /usr/lib/openoffice/share/fonts/truetype/VeraBd.ttf /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf == Not sure why it fails then. Hmm, I'm not sure either - the last thing I can think of checking (but that you probably already have done) is to make sure you have an entry in your xorg.conf for that font directory. specifically: /etc/X11/xorg.conf Section Files ... FontPath /usr/share/fonts/ttf-bitstream-vera ... other than that, I'm out of ideas, I think. hmm, maybe some settings in the /etc/fonts directory? Sorry, my bit of knowledge seems to have run out... but if you figure it out, please do let us know what did the trick, so I'll be able to learn too ;-) Good luck :) -nkm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: adesklets
On Sunday 11 March 2007 14:55, Rodrigo Lazo wrote: On 3/11/07, Rodrigo Lazo [EMAIL PROTECTED] wrote: There is a problem with the latest version of font-* and adesklets that is solved in the unstable version of adesklets. Is marked stable in x86; I didn't check it before sending the email Sorry No worries, thanks for trying to help. :) -- Regards, Mick pgpt3v70JRvhf.pgp Description: PGP signature
RE: [gentoo-user] Re: adesklets
-Original Message- From: Mick [mailto:[EMAIL PROTECTED] Sent: 09 March 2007 09:46 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: adesklets snip / Thank you all for your help, It seems that there is something wrong with the fonts(?) I have managed to launch weatherforecast which works fine, but calendar and volume do not. I tried testing them and this is what I get: == $ ./volume.py Do you want to (r)egister this desklet or to (t)est it? t Now testing... If you do not see anything (or just an initial flicker in the top left corner of your screen), try `--help', and see the FAQ: `info adesklets'. Traceback (most recent call last): File ./volume.py, line 588, in ? Events(dirname(__file__)).pause() File ./volume.py, line 63, in __init__ adesklets.Events_handler.__init__(self) File /usr/lib/python2.4/site-packages/adesklets/events_handler.py, line 157, in __init__ self.ready() File ./volume.py, line 127, in ready self.drawVolumeTxt(self.volume) File ./volume.py, line 190, in drawVolumeTxt adesklets.load_font(font) File /usr/lib/python2.4/site-packages/adesklets/commands.py, line 706, in load_font return comm.out() File /usr/lib/python2.4/site-packages/adesklets/commands_handler.py, line 103, in out raise ADESKLETSError(4,message) adesklets.error_handler.ADESKLETSError: adesklets command error - font 'VeraBd/8' could not be loaded == Of course volume does not show up at all. How do I fix this? You may need to edit the config file. In the same dir as the desklet. Config.txt I think from memory Wayn0 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: adesklets
Mick said the following: Thank you all for your help, It seems that there is something wrong with the fonts(?) I have managed to launch weatherforecast which works fine, but calendar and volume do not. I tried testing them and this is what I get: snip raise ADESKLETSError(4,message) adesklets.error_handler.ADESKLETSError: adesklets command error - font 'VeraBd/8' could not be loaded == Of course volume does not show up at all. How do I fix this? My guess is that it can't find the particular font that the volume desklet wants. I don't use that particular desklet, but chances are pretty good that in the config.txt for it there will be a font setting. You might want to try changing that to a font that you know you have, or else emerging the font package that has that font. *investigates* Yep, the default config.txt for the volume applet specifies the VeraBd font, with size 8. Also, when I used the commands $ slocate VeraBd (to see if I had that font installed) and $ equery -b VeraBd (to see what package it came with) (Those two commands are available via sys-apps/slocate and app-portage/gentoolkit in portage). I found that the VeraBd font comes with the media-fonts/ttf-bitstream-vera package. Good luck :) -nkm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: adesklets
Hi, On 3/9/07, Mick [EMAIL PROTECTED] wrote: On Friday 09 March 2007 05:25, Wayne Oliver wrote: If you select test from the menu it should show the desklet on screen you can now move it around, play with it etc. Exit the desklet re run the $/path/to/calendar/Calender.py This time selecting register Kill adesklets and then run it again. If you happy that it's working simply add adesklets to your X startup i.e. .xinitrc or .XSession Thank you all for your help, It seems that there is something wrong with the fonts(?) I have managed to launch weatherforecast which works fine, but calendar and volume do not. I tried testing them and this is what I get: == $ ./volume.py Do you want to (r)egister this desklet or to (t)est it? t Now testing... If you do not see anything (or just an initial flicker in the top left corner of your screen), try `--help', and see the FAQ: `info adesklets'. Traceback (most recent call last): File ./volume.py, line 588, in ? Events(dirname(__file__)).pause() File ./volume.py, line 63, in __init__ adesklets.Events_handler.__init__(self) File /usr/lib/python2.4/site-packages/adesklets/events_handler.py, line 157, in __init__ self.ready() File ./volume.py, line 127, in ready self.drawVolumeTxt(self.volume) File ./volume.py, line 190, in drawVolumeTxt adesklets.load_font(font) File /usr/lib/python2.4/site-packages/adesklets/commands.py, line 706, in load_font return comm.out() File /usr/lib/python2.4/site-packages/adesklets/commands_handler.py, line 103, in out raise ADESKLETSError(4,message) adesklets.error_handler.ADESKLETSError: adesklets command error - font 'VeraBd/8' could not be loaded == There is a problem with the latest version of font-* and adesklets that is solved in the unstable version of adesklets. I hope it helps Of course volume does not show up at all. How do I fix this? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: adesklets
On 3/11/07, Rodrigo Lazo [EMAIL PROTECTED] wrote: Hi, On 3/9/07, Mick [EMAIL PROTECTED] wrote: On Friday 09 March 2007 05:25, Wayne Oliver wrote: If you select test from the menu it should show the desklet on screen you can now move it around, play with it etc. Exit the desklet re run the $/path/to/calendar/Calender.py This time selecting register Kill adesklets and then run it again. If you happy that it's working simply add adesklets to your X startup i.e. .xinitrc or .XSession Thank you all for your help, It seems that there is something wrong with the fonts(?) I have managed to launch weatherforecast which works fine, but calendar and volume do not. I tried testing them and this is what I get: == $ ./volume.py Do you want to (r)egister this desklet or to (t)est it? t Now testing... If you do not see anything (or just an initial flicker in the top left corner of your screen), try `--help', and see the FAQ: `info adesklets'. Traceback (most recent call last): File ./volume.py, line 588, in ? Events(dirname(__file__)).pause() File ./volume.py, line 63, in __init__ adesklets.Events_handler.__init__(self) File /usr/lib/python2.4/site-packages/adesklets/events_handler.py, line 157, in __init__ self.ready() File ./volume.py, line 127, in ready self.drawVolumeTxt(self.volume) File ./volume.py, line 190, in drawVolumeTxt adesklets.load_font(font) File /usr/lib/python2.4/site-packages/adesklets/commands.py, line 706, in load_font return comm.out() File /usr/lib/python2.4/site-packages/adesklets/commands_handler.py, line 103, in out raise ADESKLETSError(4,message) adesklets.error_handler.ADESKLETSError: adesklets command error - font 'VeraBd/8' could not be loaded == There is a problem with the latest version of font-* and adesklets that is solved in the unstable version of adesklets. Is marked stable in x86; I didn't check it before sending the email Sorry I hope it helps Of course volume does not show up at all. How do I fix this? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: adesklets
On Friday 09 March 2007 05:25, Wayne Oliver wrote: If you select test from the menu it should show the desklet on screen you can now move it around, play with it etc. Exit the desklet re run the $/path/to/calendar/Calender.py This time selecting register Kill adesklets and then run it again. If you happy that it's working simply add adesklets to your X startup i.e. .xinitrc or .XSession Thank you all for your help, It seems that there is something wrong with the fonts(?) I have managed to launch weatherforecast which works fine, but calendar and volume do not. I tried testing them and this is what I get: == $ ./volume.py Do you want to (r)egister this desklet or to (t)est it? t Now testing... If you do not see anything (or just an initial flicker in the top left corner of your screen), try `--help', and see the FAQ: `info adesklets'. Traceback (most recent call last): File ./volume.py, line 588, in ? Events(dirname(__file__)).pause() File ./volume.py, line 63, in __init__ adesklets.Events_handler.__init__(self) File /usr/lib/python2.4/site-packages/adesklets/events_handler.py, line 157, in __init__ self.ready() File ./volume.py, line 127, in ready self.drawVolumeTxt(self.volume) File ./volume.py, line 190, in drawVolumeTxt adesklets.load_font(font) File /usr/lib/python2.4/site-packages/adesklets/commands.py, line 706, in load_font return comm.out() File /usr/lib/python2.4/site-packages/adesklets/commands_handler.py, line 103, in out raise ADESKLETSError(4,message) adesklets.error_handler.ADESKLETSError: adesklets command error - font 'VeraBd/8' could not be loaded == Of course volume does not show up at all. How do I fix this? -- Regards, Mick pgpMUYWO52OuU.pgp Description: PGP signature
Re: [gentoo-user] Re: adesklets
On Thursday 08 March 2007 07:13, Wayne Oliver wrote: The last time I tried adesklets I found downloading and installing the desklets manually worked for me. I just extracted all my desklets to a folder ran the deskletname.py and select install from there Just make restart adesklets after installing a new desklet if you want to see it right away. Thanks Wayn0, I downloaded, unpacked and ran it like so: = $ ./Calendar.py Do you want to (r)egister this desklet or to (t)est it? yes Registered. Run 'adesklets' to (re)start your desklets. Look at 'adesklets --help' for special options. Terminated = Then I ran adesklets, but nothing showed up on my desktop (fluxbox). What should I do now? -- Regards, Mick pgpaPw6jGyjaV.pgp Description: PGP signature
Re: [gentoo-user] Re: adesklets
Mick said the following: I downloaded, unpacked and ran it like so: = $ ./Calendar.py Do you want to (r)egister this desklet or to (t)est it? yes Registered. Run 'adesklets' to (re)start your desklets. Look at 'adesklets --help' for special options. Terminated = Then I ran adesklets, but nothing showed up on my desktop (fluxbox). What should I do now? I'm not quite sure why it's not showing up, but here's a few things to try: check to see if adesklets is running: $ ps x | grep adesklets for me, this shows: 8377 pts/9S 0:00 adesklets /home/.../.desklets/Calendar-0.5.3/Calendar.py 8378 pts/9S 0:00 adesklets /home/.../.desklets/yab-0.0.2/yab.py 8381 pts/9S 0:00 adesklets /home/.../.desklets/weatherforecast-0.2.0/weatherforecast.py 8629 pts/8S+0:00 grep --colour=auto adesklets (I have installed each of my desklets into a subdirectory of ~/.desklets) if adesklets is not running, it probably crashed when it tried to load the Calendar desklet. This usually happens as a result of a syntax error in the config.txt file for the applet, or if there is a python library the applet wants to use, but can't find. To get a bit of debug information, try running ./Calendar.py again, but answering t when it asks if you want to register or test. (hopefully this will point you in the right direction) If it complains about not being able to find a file, it may be that you need to emerge a python module that the applet is counting on. As a side note, if you haven't already enabled the ctrlmenu use flag for adesklets, I recommend it, since it makes right clicking on the desktop work properly in fluxbox, while still being able to access the desklet's menu by ctrl-right-clicking on the applet. Good luck :) -nkm -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Re: adesklets
-Original Message- From: Mick [mailto:[EMAIL PROTECTED] Sent: 08 March 2007 10:16 On Thursday 08 March 2007 07:13, Wayne Oliver wrote: The last time I tried adesklets I found downloading and installing the desklets manually worked for me. I just extracted all my desklets to a folder ran the deskletname.py and select install from there Just make restart adesklets after installing a new desklet if you want to see it right away. Thanks Wayn0, I downloaded, unpacked and ran it like so: = $ ./Calendar.py Do you want to (r)egister this desklet or to (t)est it? yes Registered. Run 'adesklets' to (re)start your desklets. Look at 'adesklets --help' for special options. Terminated = Then I ran adesklets, but nothing showed up on my desktop (fluxbox). What should I do now? Hi Mick, Assuming you have have just started a new session and have not yet run adesklets try this $adesklets $/path/to/calendar/Calender.py If you select test from the menu it should show the desklet on screen you can now move it around, play with it etc. Exit the desklet re run the $/path/to/calendar/Calender.py This time selecting register Kill adesklets and then run it again. If you happy that it's working simply add adesklets to your X startup i.e. .xinitrc or .XSession Good luck Wayn0 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Re: adesklets
-Original Message- From: Mick [mailto:[EMAIL PROTECTED] Sent: 08 March 2007 09:03 On Sunday 04 March 2007 18:18, Mick wrote: Hi All, I am experimenting with adesklets, but do not seem to be able to run adesklets -i successfully. When I select a desklet and then hit return it says: = Retrieving data online... OK Checking locally installed desklets... OK Downloading Calendar desklet... = and then nothing much happens. Should I be running this as root? What's the gentoo way for making it work? Any ideas guys? The last time I tried adesklets I found downloading and installing the desklets manually worked for me. I just extracted all my desklets to a folder ran the deskletname.py and select install from there Just make restart adesklets after installing a new desklet if you want to see it right away. Cheers Wayn0 -- gentoo-user@gentoo.org mailing list