vsimol som si ze tato tema sa tu uz v niejakych oobmenach objavila, ale nic mi nepomohlo:(. Takze skusim popisat problem:
1. nainstaloval som gDesklets (apt-get install gDesklets)
2. preklikal som sa na Aplikacie-> Prislusenstvo-> gDesklets a spustil som, tu nastala pre mna prva "cudna " vec, otvorilo sa okno s nazvom gDesklets-shell, ale bez akeho kolvek menu . . mozem iba minimalize,maximalize,close :/
3. skusil som spustit niejky ten desklet ALT+F2 . . . nasiel som si cestu /usr/share/gdesklets/clock/clock.display . . .a dal som spustit, opet iba vyskocilo to spominane okno..a nic:(
Spravil som aj taky pokus:) ,ze som ten dany desklet vyskusal nastartovat v terminaly a dostal som nasledovne:
peter@peter-desktop:/usr/share/gdesklets/Displays/clock2/light-theme$ . clock.display
bash: clock.display: line 1: chyba syntaxe neďaleko neočakávaného tokenu „newline“
bash: clock.display: line 1: `<?xml version="1.0" encoding="UTF-8"?>'
skusal som aj viac deskletov, v kazdom pripade to iste...su to desklety ktore su obisahnute v g Desklets hned od zaciatku
linux: UBUNTU 7.10 (GG), gnome
Stiahnes si to tak, ze si najskor nainstalujes Bazaar:
sudo apt-get install bzr
Potom vytvoris adresar a v nom:
bzr branch http://bazaar.launchpad.net/~gdesklets-desklet-team/gdesklets/0.36
Potom v tom adresari (asi bude treba
cd 0.36
:./autogen.sh
make
sudo make install
Po ./autogen.sh ti pravdepodobne vypise, ze si potrebujes nejake kniznice. Mali by to byt zhruba baliky: autogen.deb, libgtk2.0-dev.deb a podobne, neviem teraz z hlavy (vsetko s koncovkou -dev. Pripadne sem hod poslednych zopar riadkov, ked to vypise chybu.
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... not found.
***Error***: You must have glib-gettext >= 2.2.0 installed
to build gDesklets. Download the appropriate package for
from your distribution or get the source tarball at
ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.0.tar.gz
....
Checking for required M4 macros...
glib-gettext.m4 not found
***Error***: some autoconf macros required to build gDesklets
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?
sudo apt-get install libglib2.0-dev python-pyorbit-dev librsvg2-dev libgdk-pixbuf-dev python-gnome2-dev
potom daj vediet co a ako ;)
./autogen.sh
...tento krat zasla instalacia dalej, ale aj tak skoncila chybouchecking for GDESKLETS... yes
checking for UTILS... yes
checking for GLIBTOP... configure: error: Package requirements (pygtk-2.0 >= 2.10.0 libgtop-2.0 >= 2.10.0) were not met:
No package 'libgtop-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLIBTOP_CFLAGS
and GLIBTOP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
verim ze uz sme pred koncom:)...dufam ze to uspesne dokoncime:)
sudo apt-get install libgtop2-7 libgtop2-dev
(nasiel som to tu.Problem: nefunkce gDesklets v UBUNTU 7.10-64b verzia.
1. aktualizovat system doinstalovat baliky:
sudo apt-get install libglib2.0-dev python-pyorbit-dev librsvg2-dev libgdk-pixbuf-dev python-gnome2-de
asudo apt-get install libgtop2-7 libgtop2-dev
.2. stiahnut a nainstalovat bazaar
sudo apt-get install bzr
.3. vytvorit adresar
bzr branch http://bazaar.launchpad.net/~gdesklets-desklet-team/gdesklets/0.36
.4.vstupit don:)
cd 0.36
.5. sme vo finale:
sudo ./autogen.sh
.sudo make
sudo make install
POZN: je mozne ze som dal sudo aj tam kde nema byt, ale ja som to takto robil a fungovalo to . . .
staci ak budete zaradom kopirovat prikazy a malo by to bezat . . .
Dik vsetkym za rady:)
2. skus sem hodit vypis z konzoly po zadani
gdesklets
agdesklets shell
gdesklets
:Starting gdesklets-daemon...
Connected to daemon in 507 milliseconds.
==========================================================[12/08/07-10:33:06]===
=== Unhandled error! Something bad and unexpected happened. ===
[EXC]
in /usr/local/bin/gdesklets: line 393 <module>
in /usr/local/bin/gdesklets: line 268 parse_command
in /usr/local/bin/gdesklets: line 177 __open_profile
in /usr/local/bin/gdesklets: line 167 __client_daemon
in /usr/local/lib/gdesklets/main/client.py: line 208 set_remove_command
in /usr/local/lib/gdesklets/main/client.py: line 38 __send
in /usr/local/lib/gdesklets/utils/xdr.py: line 75 recv
[EXC]/usr/local/lib/gdesklets/utils/xdr.py
[---] 70 chunk = ""
[---] 71 while (True):
[---] 72 try:
[---] 73 length = ord(s.recv(1))
[---] 74 except:
[ERR]> 75 raise XDRError
[---] 76
[---] 77 if (length): chunk += s.recv(length)
[---] 78
[---] 79 flag = s.recv(1)
[---] 80 if (flag == _CONT): continue
[---] 81
po zadani
gdesklets shell
je to nieco dost podobne:==========================================================[12/08/07-10:35:01]===
=== Unhandled error! Something bad and unexpected happened. ===
[EXC]
in /usr/local/lib/gdesklets/gdesklets-shell: line 9 <module>
in /usr/local/lib/gdesklets/shell/PluginRegistry.py: line 52 get_plugin
in /usr/local/lib/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/local/lib/gdesklets/shell/plugins/Shell/__init__.py: line 70 init
in /usr/local/lib/gdesklets/shell/Plugin.py: line 18 _get_plugins_by_pattern
in /usr/local/lib/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/local/lib/gdesklets/shell/plugins/Profiles/__init__.py: line 14 init
in /usr/local/lib/gdesklets/shell/Plugin.py: line 24 _get_plugin
in /usr/local/lib/gdesklets/shell/PluginRegistry.py: line 52 get_plugin
in /usr/local/lib/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/local/lib/gdesklets/shell/plugins/gDeskletsClient/__init__.py: line 18 init
in /usr/local/lib/gdesklets/shell/plugins/gDeskletsClient/__init__.py: line 27 __get_daemon
in /usr/local/lib/gdesklets/main/client.py: line 208 set_remove_command
in /usr/local/lib/gdesklets/main/client.py: line 38 __send
in /usr/local/lib/gdesklets/utils/xdr.py: line 75 recv
[EXC]/usr/local/lib/gdesklets/utils/xdr.py
[---] 70 chunk = ""
[---] 71 while (True):
[---] 72 try:
[---] 73 length = ord(s.recv(1))
[---] 74 except:
[ERR]> 75 raise XDRError
[---] 76
[---] 77 if (length): chunk += s.recv(length)
[---] 78
[---] 79 flag = s.recv(1)
[---] 80 if (flag == _CONT): continue
[---] 81