Folderview Screenlet

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

22
7 .9
Description:

I had a litle time using kde and one thing i love is the folderview applet, i took Julien Lavergne version made some nasty improvements and here it is...

the folderview screenlet

you need screenlets 0.1.2
Last changelog:

10 years ago

0.4.6 - scaling
0.4.7 - sorting
0.4.8 - drop support
0.4.9 - better font drawing
0.5.1 - Now called folderview instead of folderviewclone
0.5.2 - Lots of improvements , including proper icon handling , speed optimizing , and bugs , also blame your icon set if its slow...
0.5.3 - even better icon handling
0.5.4 - support for .desktop files
0.5.5 - Removed glib dependency
0.5.99 - vertical expander better icons
0.6.1 - Font change now works, also some scalling issues fixed
0.6.2 - Font styles and sizes now works
0.6.3 - Now has the ability to easily export/save you own theme/look
0.6.4 - fixed bug in default theme
0.6.5 - optimized spacing
0.6.6 - speed optimizations , file/folder exclude list
0.7 - added a scrollbar (its a bit slow when in scrollbar mode i dont know why ill try to fix it)
0.7.1 - some improvments (i dont know if the scrollbar mode is only slow on my rig i would apreciate some feedback)
0.7.2 - more improvments
0.7.3 - speed improvments
0.7.4 - bug fix in lauching file
0.7.5 - bug fix for karmic not having gnomedesktp module
0.7.6 - Only monitors visible files now (slowness on home folder stoped), you can scroll in scrollbars with mouse scroll button and some bug fixes
0.7.7 - Bug fix
0.7.8 - Bug fix
0.7.9 - Added thumbnail support (when available)
0.8.0 - speed improvement of the thumbnails
0.8.1 - bug fix - tooltips always on back
0.8.2 - Bug fix
0.8.3 - Bug fix
0.8.4 - Bug fix
0.8.5 - better tooltips , changed thumbnails to gio, begging implementing context menus... if someone can tell me how to copy files with gio ...
0.8.6 - Bug fix
0.9 - Full drag and drop support
0.9.1 - Fixed bugs, can only drag files if locked, added background image
0.9.2 - Basic context menu
0.9.3 - Bug fix
0.9.4 - Ability to only show by extension, and drop multiple files
0.9.5 - Allows to right click open with
0.9.6 - Code cleanup, support for file paste
0.9.7 - Bug fix, and scroolbar theming
0.9.9 - lots of bug fixes, new version is a rewrite, you need to purge the old version config and delete any old versions on you system

azawi

10 years ago

finally got it to work :-))

a complete reinstall of screenlets
via synaptic has done it

thanks for the help

Report

azawi

10 years ago

although it is listed in startup applications.
i have ubuntu 10.04 LTS here, maybe thats the reason.


it's a shame that there is not one usable desklets application for linux.
screenlets are not updated since two years or so.

Report

C

Whise

10 years ago

i was the developer of screenlets project. i was driven away by someone who claimed that could do a better job... that was more then 2 years ago... where is that project now?? dead, you should complain agains him

Report

azawi

10 years ago

now it stays always on top, cannot change this, linux drives me crazy, nothing works.

after ten years of linux i am losing my patience. wanna by a mac.

Report

gilanel

10 years ago

This is the best screenlet created.
This is the one that I was missing from KDE 4 series

really... Thank you

Report

nsk7even

10 years ago

Hello,
I am using your screenlet plugin for a time now and I am enjoying it every day. This is really nice!

Now I encountered a bug when using special characters in desktop links (but I think this will affect normal filenames as well).
In my case the ampersand (&) broke the title of the file. I fixed it with renaming (which did not worked first, there have to be some caching or s. th. like that) but it would be nice if this works as well.

Keep up the good work!
7even

Report

Cuco3

10 years ago

For some reason it works now on Karmic for me.

Report

deathknight

10 years ago

using python 2.6
OpenSUSE 11.2 x86_64

death@triQuad:~/.screenlets/FolderView> ./FolderViewScreenlet.py
CachingBackend: Loading instances from cache
CachingBackend: Loading <FolderView1>
Found a running session of FolderView, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.FolderView was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.death.running
Loading instances in: /home/death/.config/Screenlets/FolderView/default/
File: FolderView1.ini
/home/death/.config/Screenlets/F/default/FolderView1
LOAD NEW THEME: default
FOUND: /home/death/.screenlets/FolderView/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: default
Author: helder
Version: None
Info: Created automaticly
Override: shadow_color
WARNING: Option 'shadow_color' not found or protected.
Override: frame_color_selected
WARNING: Option 'frame_color_selected' not found or protected.
Override: shadow_size
WARNING: Option 'shadow_size' not found or protected.
Override: border_size_selected
WARNING: Option 'border_size_selected' not found or protected.
Override: color_title
WARNING: Option 'color_title' not found or protected.
Override: frame_color
WARNING: Option 'frame_color' not found or protected.
Override: border_color
WARNING: Option 'border_color' not found or protected.
Override: border_size
WARNING: Option 'border_size' not found or protected.
Override: pericons
WARNING: Option 'pericons' not found or protected.
Override: height
Override: width
Override: full_path
WARNING: Option 'full_path' not found or protected.
Override: show_title
WARNING: Option 'show_title' not found or protected.
Override: icon_size
WARNING: Option 'icon_size' not found or protected.
Override: rounda
WARNING: Option 'rounda' not found or protected.
Override: banner_size
WARNING: Option 'banner_size' not found or protected.
Override: expand
WARNING: Option 'expand' not found or protected.
Override: color_text
WARNING: Option 'color_text' not found or protected.
populating
Set options in FolderView
populating
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/screenlets/__init__.py", line 1825, in expose
self.on_draw(ctx)
File "./FolderViewScreenlet.py", line 1431, in on_draw
if self.__buffer_back:
AttributeError: 'FolderViewScreenlet' object has no attribute '_FolderViewScreenlet__buffer_back'
back painting........
front panting*********
Traceback (most recent call last):
File "./FolderViewScreenlet.py", line 1470, in <module>
screenlets.session.create_session(FolderViewScreenlet)
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 472, in create_session
session.start()
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 237, in start
if self.__load_instances():
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 399, in __load_instances
sl.finish_loading()
File "/usr/lib/python2.6/site-packages/screenlets/__init__.py", line 1243, in finish_loading
self.on_init()
File "./FolderViewScreenlet.py", line 608, in on_init
self.update_path_from_settings()
File "./FolderViewScreenlet.py", line 1176, in update_path_from_settings
self.redraw_foreground()
File "./FolderViewScreenlet.py", line 1380, in redraw_foreground
ico = self.generate_icon_names(elem)
File "./FolderViewScreenlet.py", line 926, in generate_icon_names
self.ico = gnomedesktop.item_new_from_file(self.uri, gnomedesktop.LOAD_ONLY_IF_EXISTS).get_string(gnomedesktop.KEY_ICON)
AttributeError: 'NoneType' object has no attribute 'get_string'
death@triQuad:~/.screenlets/FolderView>

Report

Cuco3

10 years ago

I'm running Karmic. Looking forward to a fix.

Report

huruiduan

10 years ago

Launching Screenlet from: /home/boydd/.screenlets/FolderView/FolderViewScreenlet.py
Logging output goes to: $HOME/.config/Screenlets/FolderViewScreenlet.log

(FolderViewScreenlet.py:4894): Gtk-WARNING **: Unable to locate theme engine in module_path: "ubuntulooks",
REGISTER screenlet: FolderViewScreenlet
True
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1833, in expose
self.on_draw(ctx)
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1431, in on_draw
if self.__buffer_back:
AttributeError: 'FolderViewScreenlet' object has no attribute '_FolderViewScreenlet__buffer_back'
Traceback (most recent call last):
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1470, in <module>
screenlets.session.create_session(FolderViewScreenlet)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 472, in create_session
session.start()
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 254, in start
sl.finish_loading()
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1247, in finish_loading
self.on_init()
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 608, in on_init
self.update_path_from_settings()
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1175, in update_path_from_settings
self.redraw_background()
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1318, in redraw_background
alignment=pango.ALIGN_LEFT, ellipsize=pango.ELLIPSIZE_END,title = True)
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 649, in draw_text
self.banner_size = self.p_layout.get_size()[1]/pango.SCALE + 8
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 697, in __setattr__
self.update_path_from_settings()
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1176, in update_path_from_settings
self.redraw_foreground()
File "/home/boydd/.screenlets/FolderView/FolderViewScreenlet.py", line 1381, in redraw_foreground
if ico.lower().endswith('png') or ico.lower().endswith('svg') or ico.lower().endswith('xpm'):#xpm",
AttributeError: 'NoneType' object has no attribute 'lower'

i check ur code, is that some thing diff between ur gobject and my gobject?

my Python 2.6.4
ubuntu 9.10
gnome 2.28.1
screenlets 0.1.2-7

how could i fix it?

Report

prodigo_double

10 years ago

I am using Karmic 64bit, the thing is that it worked before on jaunty but ever since I installed Karmic which works great, still miss this screenlet, did what the other guy said but it worked for him not for me... The screenlet is great, just wish I could use it..

Report

wintermute111

10 years ago

i just started using this screenlet (and screenlets in general)i used it once, but since then have restarted my computer. after that restart my desktop files are gone and i cant find the folderview screenlet in the manager

whut?

Report

prodigo_double

10 years ago

I am using Karmic 64 Edition, I installed it and when trying to start it it just won't , it used to work at least on jaunty, well it is a great screnlet if it ever works for me again.

Report

Vulcanor

10 years ago

I solved this like this:

Go to System -> Preferences -> Startup Applications.
Then disable (but do not remove) the screenlet-deamon.
Finally log out and log in again, the folderview should now be working.


This worked for me on Ubuntu 9.10 64-bit.


Greetz,
Tom

Report

azawi

11 years ago

-it starts only one time, the second time it starts only when the screenlet config is resetted
-it does not show a scrollbar

i am using ubuntu 9.04
2.6.28-16 generic

i cant get it to work correctly, maybe i am too dumb for this ingenious piece of software

Report

luthien-me

10 years ago

same problem with it's start. When I press "Restart all screenlets", folderview disappear, but in screenlet manager is shown running.
After system restart-same problem.

Report

luthien-me

10 years ago

upd.
without scrollbar is workin' fine, but folderview with it doesn't looks stable..

Report

prodigo_double

11 years ago

It won't work on Karmic, just won't, any suggestions?

Report

daas88

11 years ago

It works for me! i just uncompressed it and put it into /usr/share/screenlets/ then i chose it in the screenlets daemon.

For the author:
I just have a small issue: it always has "show on top" option checked at startup, i'd like it to always stay on bottom.

Report

TangentRadix

11 years ago

under options I set my Folder path to my desired folder and I set Expand Mode to use scrollbar.

When I do that I don't get a scrollbar AND many of the files in the folder vanish (they still exist in the hd they just don't show up in the folder view). Sometimes all files of a type vanish (in my case .jpg) or just a bunch of files go missing.

If I return Expand Mode to Expand/Adjust Icons everything comes back but I can't see all my files because I don't have scrollbars.

I'm on a Gentoo Linux. Am I missing some dependency?

Also a feature request:

It would be nice to be able to filter by extension what files are viewable in a folder. Like display all folders, mp3 files, avi files but not pdf.

Also would be nice to have a little popup of a folders contents appear when you mouse over a folder.

Also it might be good to have arrow keys work to navigate within the folder view.

PS. This is a great app. But I've got to figure out how to get scrollbars working and being able to filter a folder view would be very useful.

Report

C

Whise

11 years ago

run it in console and post the output here please

Report

TangentRadix

11 years ago

Sorry for the delay in my reply.

Here's the output from my terminal:

$ screenlets
cat: /etc/screenlets/prefix: No such file or directory
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Invalid symbolic color 'bg_color'
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: error: invalid identifier `bg_color', expected valid identifier
True
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 ...
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Invalid symbolic color 'bg_color'
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: error: invalid identifier `bg_color', expected valid identifier
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-daemon.py", line 127, in show_menu
add_image_menuitem(self.menu, gtk.STOCK_PREFERENCES, _("Screenlets Manager"), self.openit)
File "/usr/lib64/python2.6/site-packages/screenlets/menu.py", line 39, in add_image_menuitem
item = ImageMenuItem(stock, label)
File "/usr/lib64/python2.6/site-packages/screenlets/menu.py", line 326, in __init__
self.image = children[1]
IndexError: list index out of range
True
Launching Screenlet from: /home/michael/.screenlets/FolderView/FolderViewScreenlet.py
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Invalid symbolic color 'bg_color'
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:49: error: invalid identifier `bg_color', expected valid identifier
ScreenletsDaemon: registered FolderViewScreenlet
REGISTER screenlet: FolderViewScreenlet
True
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/screenlets/__init__.py", line 1825, in expose
self.on_draw(ctx)
File "/home/michael/.screenlets/FolderView/FolderViewScreenlet.py", line 1405, in on_draw
if self.__buffer_back:
AttributeError: 'FolderViewScreenlet' object has no attribute '_FolderViewScreenlet__buffer_back'
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/screenlets/options.py", line 1253, in options_callback
setattr(self.__shown_object, optionobj.name, val)
File "/home/michael/.screenlets/FolderView/FolderViewScreenlet.py", line 709, in __setattr__
self.update_scrollbar()
File "/home/michael/.screenlets/FolderView/FolderViewScreenlet.py", line 491, in update_scrollbar
self.adjust.set_upper(self.fullscroll)
AttributeError: 'gtk.Adjustment' object has no attribute 'set_upper'

When I first start screenlets no screenlets were started. I selected the Folderview screenlet from the manager. Then from the folderview options I selected the Use Scrollbar option, the folderview window resized to its default size of 4x4 icons but no scrollbar.

Report

C

Whise

11 years ago

HOW MANY folders and files (visible) do you have on that folder?

Report

TangentRadix

11 years ago

The number of files/folders visible when I switch to to scrollbar mode is 4 across and 4 down so 16 in view total. This is my home directory.

My home directory has 24 folders and 37 files.

A new problem:
When I click on a Folder nautilus does not open and the console gave the following errors:
(nautilus:31504): Unique-DBus-WARNING **: Error while sending message: Message did not receive a reply (timeout by message bus)

(nautilus:31510): Unique-DBus-WARNING **: Error while sending message: Message did not receive a reply (timeout by message bus)

I just tried again and nautilus did open just fine.

I wonder if my gnome is somehow musconfigured?

Report

C

Whise

11 years ago

maybe thats the problem , could you send a screenshot please

Report

10 years ago

0.4.6 - scaling
0.4.7 - sorting
0.4.8 - drop support
0.4.9 - better font drawing
0.5.1 - Now called folderview instead of folderviewclone
0.5.2 - Lots of improvements , including proper icon handling , speed optimizing , and bugs , also blame your icon set if its slow...
0.5.3 - even better icon handling
0.5.4 - support for .desktop files
0.5.5 - Removed glib dependency
0.5.99 - vertical expander better icons
0.6.1 - Font change now works, also some scalling issues fixed
0.6.2 - Font styles and sizes now works
0.6.3 - Now has the ability to easily export/save you own theme/look
0.6.4 - fixed bug in default theme
0.6.5 - optimized spacing
0.6.6 - speed optimizations , file/folder exclude list
0.7 - added a scrollbar (its a bit slow when in scrollbar mode i dont know why ill try to fix it)
0.7.1 - some improvments (i dont know if the scrollbar mode is only slow on my rig i would apreciate some feedback)
0.7.2 - more improvments
0.7.3 - speed improvments
0.7.4 - bug fix in lauching file
0.7.5 - bug fix for karmic not having gnomedesktp module
0.7.6 - Only monitors visible files now (slowness on home folder stoped), you can scroll in scrollbars with mouse scroll button and some bug fixes
0.7.7 - Bug fix
0.7.8 - Bug fix
0.7.9 - Added thumbnail support (when available)
0.8.0 - speed improvement of the thumbnails
0.8.1 - bug fix - tooltips always on back
0.8.2 - Bug fix
0.8.3 - Bug fix
0.8.4 - Bug fix
0.8.5 - better tooltips , changed thumbnails to gio, begging implementing context menus... if someone can tell me how to copy files with gio ...
0.8.6 - Bug fix
0.9 - Full drag and drop support
0.9.1 - Fixed bugs, can only drag files if locked, added background image
0.9.2 - Basic context menu
0.9.3 - Bug fix
0.9.4 - Ability to only show by extension, and drop multiple files
0.9.5 - Allows to right click open with
0.9.6 - Code cleanup, support for file paste
0.9.7 - Bug fix, and scroolbar theming
0.9.9 - lots of bug fixes, new version is a rewrite, you need to purge the old version config and delete any old versions on you system

12345678910
10
product-maker StarterX4 Jan 01 2015 9 excellent
product-maker BYTEDisrupt Nov 18 2014 9 excellent
product-maker khourt Mar 27 2012 9 excellent
product-maker digitalfreedom64 Jan 06 2011 9 excellent
product-maker sw2 Nov 13 2010 9 excellent
product-maker bousky Oct 30 2010 9 excellent
product-maker freeazy Oct 26 2010 9 excellent
product-maker Mairon Oct 22 2010 9 excellent
product-maker mikhmv Oct 18 2010 9 excellent
product-maker mixalns Sep 24 2010 9 excellent
Be the first to comment
MojoMan
Feb 12 2016
khourt
Mar 27 2012
simon9007
Feb 01 2012
bousky
Oct 30 2010
rafacure
Aug 27 2010
Naf71
Aug 07 2010
Anduu
Jun 17 2010
howil
Jan 29 2010
webmastir
Jan 04 2010
currocaro
Oct 08 2009
cypherpunk
Sep 17 2009
McIvor
Sep 10 2009
brus46
Sep 10 2009
daedal
Aug 08 2009
Goamaus
Jun 11 2009
Patapon
Jun 07 2009
techshit
May 31 2009
jesussanchez
May 09 2009
Emperor1982
May 07 2009
kaeltas
May 06 2009
UbuntuFanKid
May 04 2009
mistyrouge
Apr 16 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.9
updated Aug 06 2010
added Apr 15 2009
downloads 24h
3
mediaviews 24h 0
pageviews 24h 27