LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 09-04-2008, 03:55 PM   #1
linuxsavar
Member
 
Registered: May 2007
Posts: 30
Thanked: 0
only a black rectangle apeare instead of sidebar(screenlets)


[Log in to get rid of this advertisement]
hi all
i have slackware 12.1 on my computer
i installed screenlets 0.0.12 and download sidebar-2.0 and unpack it to .screenlets folder in my homedir
then in ~/.screenlets/sidebar/ in terminal typed
Code:
python ./SidebarScreenlet.py
but only a black rectangle apeared in screen.
This is messages in terminal:
Code:
CachingBackend: Loading instances from cache
Found a running session of Sidebar, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Sidebar was not provided by any .service files
Loading instances in: /home/aftab/.config/Screenlets/Sidebar/default/
No instance(s) found in session-path, creating new one.
UPDATING SHAPE
LOAD NEW THEME: default
FOUND: /home/aftab/.screenlets/Sidebar/themes/default
UPDATING SHAPE
/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py:727: DeprecationWarning: 
  self.ebox.set_uposition(999999,999999)

(SidebarScreenlet.py:3570): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

UPDATING SHAPE
UPDATING SHAPE
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose
    self.on_draw(ctx)
  File "/home/aftab/.screenlets/Sidebar/SidebarScreenlet.py", line 730, in on_draw
    self.draw_scaled_image(ctx,0,0,self.mypath + 'themes/' + self.theme_name +'/sidebar.png',self.size,gtk.gdk.screen_height())
AttributeError: 'SidebarScreenlet' object has no attribute 'draw_scaled_image'
CachingBackend: Saving <#Sidebar1> :) ...
OK
please help me
thanks.
linuxsavar is offline     Reply With Quote
Old 09-06-2008, 01:36 AM   #2
linuxsavar
Member
 
Registered: May 2007
Posts: 30
Thanked: 0

Original Poster
my problem solved i installed screenlet .1 from
https://code.launchpad.net/screenlets/trunk/0.1
all of things cool
linuxsavar is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12 screenlets problem Ravendark Slackware 3 08-04-2008 01:04 AM
How can I draw a rectangle on XWindows?? deedhnd Linux - Server 2 08-01-2008 03:30 AM
Compiz, screenlets, and fedora 8 bourne Linux - Software 4 01-29-2008 05:27 PM
Xlib Code --- Why not Drawing Rectangle?????? pihu Programming 1 07-18-2005 02:05 PM
java, rectangle size issues. exodist Programming 1 03-13-2004 05:48 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration