SliTaz SliTaz Forum

You are not logged in.

#26 2012-02-17 23:28:17

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: Desktop widgets, dock !

We may got Screenlets work

Get and install: http://people.slitaz.org/~pankso/packages/screenlets-0.1.6.tazpkg

Run as root: gdk-pixbuf-query-loaders --update-cache

Then start the manager.

[attachment=6388,322]

Offline

#27 2012-02-17 23:35:26

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Desktop widgets, dock !

Still doesn't solve the problem for a SliTaz 3 user hmm

Offline

#28 2012-02-18 00:37:54

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Desktop widgets, dock !

Nope, nothing I try can make it work on SliTaz 3. If you want screenlets, you need to move to cooking/rolling wink

Offline

#29 2012-02-18 07:15:00

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Desktop widgets, dock !

@Trixar_za: to keep this thread human-readable - would it be possible to try in short to explain why it might not work in Slitaz 3,  technically?

And it does not work in cooking:

I installed it to a brand new boot of cooking. 33 packages were installed- and then I started it first as user root and then as user tux.

Attention: the package gnome-keyring 2.32.1 x-window is installed!

The result is shown here:

root@slitaz:~# tazpkg install screenlets-0.1.6.tazpkg

Tracking dependencies for : screenlets

================================================================================

Missing: python

Missing: pygtk

Missing: python-xdg

Missing: beautifulsoup

Missing: gnome-python-desktop

================================================================================

5 missing package(s) to install.

Extracting screenlets...                                             [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing screenlets...                                             [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

screenlets (0.1.6) is installed.

root@slitaz:~# gdk-pixbuf-query-loaders --update-cache

root@slitaz:~# screenlets &

root@slitaz:~# No GNOME keyring, there will be problems with account options

Traceback (most recent call last):

  File "/usr/share/screenlets-manager/screenlets-manager.py", line 34, in <module>

    import screenlets

  File "/usr/lib/python2.7/site-packages/screenlets/__init__.py", line 125, in <module>

    import services

  File "/usr/lib/python2.7/site-packages/screenlets/services.py", line 27, in <module>

    import dbus

ImportError: No module named dbus

Started as user tux:

[1]+  Done(1)                    screenlets

tux@slitaz:~$ screenlets &

tux@slitaz:~$ No GNOME keyring, there will be problems with account options

Traceback (most recent call last):

  File "/usr/share/screenlets-manager/screenlets-manager.py", line 34, in <module>

    import screenlets

  File "/usr/lib/python2.7/site-packages/screenlets/__init__.py", line 125, in <module>

    import services

  File "/usr/lib/python2.7/site-packages/screenlets/services.py", line 27, in <module>

    import dbus

ImportError: No module named dbus

Linux4morocco: note please! The fact that I am sceptical about the sense this screenlets-idea makes does not mean that I do not support! ;-)

With my only ressources: installing, checking and giving feedback...

Offline

#30 2012-02-18 08:01:54

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Desktop widgets, dock !

Ok, I got it to run now. I had to install quite some packages more, including icedtea (Java).

Now I can start it as user tux but I cannot see any functionality. Apparently one has to install some ready screenlets - but where to get them, and what for? => @Linux4Morocco: your task now!

Feedback:

tux@slitaz:~$ screenlets &

tux@slitaz:~$ No GNOME keyring, there will be problems with account options

Cannot create /tmp/screenlets-manager.py.log logfile. Using STDERR instead.

File /home/tux/.config/screenlets/config.ini not found

Auto-create autostart dir ...

Create autostarter for: Screenlets Daemon

Error in ScreenletsManager.connect_daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.ScreenletsDaemon was not provided by any .service files

Trying to launching screenlets-daemon ...

No GNOME keyring, there will be problems with account options

no daemon yet

checking for running daemon again ...

DAEMON FOUND - Ending timeout

DAEMON FOUND!

Traceback (most recent call last):

  File "/usr/share/screenlets-manager/screenlets-manager.py", line 903, in button_clicked

    subprocess.Popen(["xdg-open", screenlets.THIRD_PARTY_DOWNLOAD])

  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

Traceback (most recent call last):

  File "/usr/share/screenlets-manager/screenlets-manager.py", line 903, in button_clicked

    subprocess.Popen(["xdg-open", screenlets.THIRD_PARTY_DOWNLOAD])

  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

Traceback (most recent call last):

  File "/usr/share/screenlets-manager/screenlets-manager.py", line 903, in button_clicked

    subprocess.Popen(["xdg-open", screenlets.THIRD_PARTY_DOWNLOAD])

  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

Offline

#31 2012-02-18 08:32:48

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Desktop widgets, dock !

1. gdk-pixbuf-query-loaders --update-cache does NOT work with SliTaz 3. You have to use gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders as root instead. Even after doing so, it will try falling back on the ini file... which it REFUSES to create (obviously a bug) and thus fails badly.

2. It's clear it's not working for you michaelbischof, ESPECIALLY because you had to install Java, which has absolutely NOTHING to do with python (JPython maybe, but that's only a Python interpreter written in Java) at all.

Offline

#32 2012-02-18 08:50:24

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Desktop widgets, dock !

Thanks for the quick response!

What would you to propose to do?

(To make my motivation clear: if it runs finally or not I do not mind. What I intend to do is to give some feedback support to pankso, to you and to Morocco4linux. Plus: I show these threads for the few pupil-nerds to demonstrate, how OpenSource works and that and how cooperation may help to make dreams come true. In this case the dream of Morocco4linux. If Morocco votes for Linux: not bad at all!)

Offline

#33 2012-02-18 16:48:23

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

Got it to work folks !!

http://imageshack.us/photo/my-images/860/screenosonspiders.png

http://imageshack.us/photo/my-images/21/screenosd.png [attachment=6412,325]  [attachment=6412,326]

Offline

#34 2012-02-18 17:08:23

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Desktop widgets, dock !

Fine, congratulations, you realized your own dream! Bravissimo!

Under Linux it is common practice now to list in detail how you got that!

(Because I prepared one rootfs.screenlets.gz just to check it out - and now I want to check it out)

Offline

#35 2012-02-18 18:42:20

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

Danke !!

*******

well pay attention :

1-I assume you already have installed Make, bash, perl, etc

2-download the source package from here : http://www.4shared.com/archive/id7PbDx_/screenlets-016tar.html

3-extract the contents to your home folder

4-Now it's time for the dependencies !!! :

open your terminal and do some keybord work

# tazpkg get-install python

# tazpkg get-install pygtk

# tazpkg get-install pycairo

# tazpkg get-install python-xdg

# tazpkg get-install python-gnome-desktop

# tazpkg get-install libwnck

# tazpkg get-install librsvg

5-now cd to the extracted folder and :

# make install

6- enter this command :

# gdk-pixbuf-query-loaders --update-cache

7-lunch the screen lets manager from menu > utilities  > screenlets

" you will find the manager completly empty"

8- go to gnome-look.org and download all the widgets you want

9-from the manager click "install" and browse to the location of your widgets and install them one by by one

10-lunch the widgets from the manager and congrats !!!

Offline

#36 2012-02-18 19:13:23

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Desktop widgets, dock !

@Linux4Morocco

Like your desktop :-)

Did you install this on stable or cooking ?

Output of uname -a please.

Offline

#37 2012-02-18 19:24:17

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

Hey Mojo

On cooking with a 7 years old Dell Latitude 110l Pentium M 1.6 GHZ and 246MB of ram .

# uname -a

Linux slitaz 2.6.37-slitaz #2 SMP Sat Jan 21 01:52:14 CET 2012 i686 GNU/Linux

Offline

#38 2012-02-18 19:27:33

Guest
Guest

Re: Desktop widgets, dock !

Nice i love it big_smile

Possible you could bundle a .tazpkg for us? wink

#39 2012-02-18 19:33:06

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Desktop widgets, dock !

@ztealmax

http://people.slitaz.org/~pankso/packages/screenlets-0.1.6.tazpkg

Receipt needs some DEPENDS

#tazpkg -gi dbus-python

#tazpkg -gi gnome-icon-theme

@Linux4Morocco

Thanks for the information.

Offline

#40 2012-02-18 19:53:34

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

@ ztealmax

hhhh I don't know how to do it i'm new to slitaz and linux, and I did'nt read the wiki of slitaz .

Offline

#41 2012-02-18 20:06:44

Guest
Guest

Re: Desktop widgets, dock !

@Linux4Morocco

np m8, thanx anyways, and good work big_smile

#42 2012-02-18 20:15:33

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Desktop widgets, dock !

So you basically just used cooking and pankso's method? Still doesn't work for SliTaz 3 though tongue

Offline

#43 2012-02-18 20:28:15

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

@ Trixar_za

Nope !! I installed the dependencies separately one by one, and compiled the source code of the manager, then installed the widgets separatelly, the command of pankso just resolve the problem of icon_theme nothing more. thank you pankso !!

Just try something don't give up I'm sure it will work on stable as well. in linux there is nothing impossible.

Offline

#44 2012-02-18 21:23:03

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Desktop widgets, dock !

@Linux4Morocco:

A misunderstanding this morning. It had worked for me without compiling, just with the tazpkg-package. Under cooking, of course! ;-)

What did not work were 2 things:

1. In case I open the screenlets manager and click on ,,get more screenlets" nothing happens

2. The gnome-look server does not react. May be too many requests? So I could not download even 1 screenlet. Other less busy servers/mirrors known?

Then there is a mistake:

# tazpkg get-install python-gnome-desktop

There is a gnome-python-desktop package in Slitaz.

Offline

#45 2012-02-18 22:19:12

Linux4Morocco
Member
Registered: 2012-02-13
Posts: 23

Re: Desktop widgets, dock !

Hey Michael

yes thank you for that it was my mistake, it's gnome-python-package .

"get more screenlets" doesn't work for me to, it didn't on ubuntu too, I guess it's a bug .

Yeah gnome-look was very slow when I was downloding the widgets, I tought it was from my internet speed ! you can download what you need here at the moment : http://screenlets.org/index.php/Category:UserScreenlets

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]