Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 22:06
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Idea: adopt ROX-Filer
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 03 Jul 2011, 07:42    Post subject:  

Tree function in Rox:

I suppose we could nab and add source code . . .
. . . meanwhile in Lucid I installed xfe from ppm (puppy package manager)
dragged xfe icon from
/usr/bin
to
/root/.config/rox.sourceforge.net/SendTo/xfe

Now in a rox window I can
right click and 'open with' xfe

Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 23 Mar 2013, 11:18    Post subject:
Subject description: tree view in rox
 

Flash wrote:
For what it's worth, there's a feature I'd like to see included in all file managers. It seems to me that a file manager ought to be able to show a tree view of the subdirectories in a directory, without showing any files.

Puppyt wrote:
I very much agree with you, Flash -
ROX needs at least a Directory Tree option - not primarily for, but at the very least incredibly helpful for users from different OS backgrounds. (Multi-panels would be nice too but perhaps overdoing it.) Indeed, within Puppy my main turn-off always has been ROX's "babied-up" icon-default display as it strikes me as patronizing to users new to Puppy and Linux as a whole. I do appreciate what ROX has hidden under its hood. However, for my part, without tree view ROX frequently has me barking up the wrong sub-directories and I am much happier using Thunar or Konqueror.

amigo wrote:
The tree-view idea is, of course, not new. Thomas always resisted that as it is not RISC-like. I would also have like to see it as an option, but my gtk skills are still not up to doing that myself.

Lobster wrote:
Tree function in Rox:

I suppose we could nab and add source code . . .
. . . meanwhile in Lucid I installed xfe from ppm (puppy package manager)
dragged xfe icon from
/usr/bin
to
/root/.config/rox.sourceforge.net/SendTo/xfe

Now in a rox window I can
right click and 'open with' xfe

Cool

I haven't actually managed to build it, but there seems to be a program based on rox which has a tree view (using gqview code) - perhaps a look at its code could be helpful: http://samplecat.orford.org/

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2226

PostPosted: Tue 26 Mar 2013, 14:20    Post subject:  

Actually, I don't see anything to indicate any relation or similarity to rox there.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Tue 26 Mar 2013, 15:11    Post subject:  

If you look at https://github.com/ayyi/samplecat/blob/master/lib/file_manager/file_manager.c you'll see that it came from rox. I think it is the file manager pane in the screenshot that looks kind of like rox in details view.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: Tue 26 Mar 2013, 15:14    Post subject:  

Quote:
* Copyright (C) 2006, Thomas Leonard and others (see changelog for details).
Appears to be from rox

both rox and gtk2 (or was it glib2) use libraries from the xdg project and statically build them in (well technically gtk2 builds in the PIC objects) ... and other projects do the same thing. Its only ~100kb but still, I'm suprised Debian doesn't have a patch since they have a policy against such things (but apparently Arch has no such policy)
I once attempted to patch glib and rox so they could share the common objects by exporting those symbols in glib and removing them from the rox build, but after looking at xdg-open, its hard to tell what practical purpose it would serve when we could instead patch rox to use xdg-open directly and not have *.desktop and mime stuff in non-standard locations that make it inoperable with gtk,kde,xfce,lxde, enlightenment and others that do follow the standards ... for no real reason except for NIH (and the zeroinstall thing is pretty damned annoying too - can I just build the sources please)


One of my other pet peeves about rox is not having "yes to all" or "no to all" or "older" (I mention older only because it is useful for copying ./dirbackup to ./dir when you have borked something up and have to return to a known good state ... but that is what tarballs are for I guess) and for that matter "copy" and "paste" for files. I could do without treeview if you could do a split view (basically 2 filer windows smashed together) by middle clicking on the up arrow or home button

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2226

PostPosted: Tue 26 Mar 2013, 16:14    Post subject:  

Okay, I see that now. They've adapted code from rox-filer for that list view, but just below it you can see a tree view. That appears to be adapted from gqview.

technosaurus, you could probably add an optional tree-view to the old rox-filer in a couple of days, with your expertise... all it needs is a horizontal-paned window with some tree code which is available from gqview or the old gtk1 gdmap. I'm still hoping you'll break down and do this someday -even it's just to shut me up!

I'm compiling samplecat just now to have a look at it. Unfortunately, the two file system views don't seem to be integrated.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10953
Location: Arizona USA

PostPosted: Tue 26 Mar 2013, 16:25    Post subject:  

I don't think you guys understand what I mean by tree view. I don't mean just the possibility of a tree view, which is what all dual-pane file managers give you, I mean that when you open a directory which contains other directories which contain other directories, etc., all of the sub-directories in the top directory (the one you're in) are shown open in a tree view. Like what you'd get if you went into Windows Explorer and clicked every directory to show its contents. This is what Tree does and nothing else I know of will do what it does.

I find Tree to be very useful. I cannot for the life of me understand why something like Tree's functionality is not included in every file manager. Confused
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 561
Location: Gatton, Queensland

PostPosted: Tue 26 Mar 2013, 21:23    Post subject:  

@Flash, I very much agree. I'm thinking now a quick "fix" might be to use a browser add-on like "Firefly" - kinda like Konqueror...but now I have FF16, I have to bark up yet more trees instead...

https://addons.mozilla.org/en-us/firefox/addon/firefly/

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Tue 26 Mar 2013, 23:00    Post subject:  

amigo wrote:
Okay, I see that now. They've adapted code from rox-filer for that list view, but just below it you can see a tree view.

?
I'm not sure what you're looking at, but the screenshot I'm looking at on the main website has the rox-like pane at the bottom right and the tree view at the middle left. I guess the pane at the top left could be based on rox too, but I have a feeling it is also from gqview.
Quote:
I'm compiling samplecat just now to have a look at it. Unfortunately, the two file system views don't seem to be integrated.

Let us know Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Tue 26 Mar 2013, 23:06    Post subject:  

Flash - I don't understand what you think is different about our understanding of a tree view. Have you looked at the one in the samplecat screenshot? Assuming it is hooked up to the other pane so that when you open a folder there it is opened in the treeview as well, how would it be different to what you want?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10953
Location: Arizona USA

PostPosted: Tue 26 Mar 2013, 23:46    Post subject:  

I did look at the Samplecat screenshot but couldn't make anything of it. Sad

EDIT: If I get up close to the screen and squint, Samplecat appears to be like every other "tree" type file manager in that it only shows a tree view of the contents of a directory if you click on that directory. I wan't it to automatically show a flat tree view of all subdirectories at once.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Wed 27 Mar 2013, 00:11    Post subject:  

technosaurus wrote:
Quote:
* Copyright (C) 2006, Thomas Leonard and others (see changelog for details).
Appears to be from rox

both rox and gtk2 (or was it glib2) use libraries from the xdg project and statically build them in (well technically gtk2 builds in the PIC objects) ... and other projects do the same thing. Its only ~100kb but still, I'm suprised Debian doesn't have a patch since they have a policy against such things (but apparently Arch has no such policy)

Yes, Arch has a policy of only patching in extreme circumstances Wink
Quote:
I once attempted to patch glib and rox so they could share the common objects by exporting those symbols in glib and removing them from the rox build, but after looking at xdg-open, its hard to tell what practical purpose it would serve when we could instead patch rox to use xdg-open directly and not have *.desktop and mime stuff in non-standard

I always thought the problem was that it doesn't use *.desktop files for this at all.
BTW, this issue is why I currently use Pcmanfm as my main filer instead of Rox. It uses the standards very nicely. It adds all the programs that can handle a filetype to the right-click menu, and if you want to select another program which hasn't registered the file type itself, the "open with" dialogue arranges all the programs the same way as the main ("start" button) menu, and it creates appropriate .desktop files. I find myself wondering if the libfm/pcmanfm code could be patched into rox... but I'm sure it is way beyond me.
FWIW the other thing I'd appreciate in Rox is if it used the standard GTK bookmarks (that you see in file open/save dialogs) instead of its own.
Quote:
locations that make it inoperable with gtk,kde,xfce,lxde, enlightenment and others that do follow the standards ... for no real reason except for NIH

And since Thomas Leonard is so involved with Freedesktop, I've always figured the problem isn't anything like NIH, just that the rox system is older than that, and no one has gone to the effort of replacing it.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Wed 27 Mar 2013, 00:25    Post subject:  

Flash wrote:
I did look at the Samplecat screenshot but couldn't make anything of it. Sad

EDIT: If I get up close to the screen and squint, Samplecat appears to be like every other "tree" type file manager in that it only shows a tree view of the contents of a directory if you click on that directory. I wan't it to automatically show a flat tree view of all subdirectories at once.

You're still confusing me, maybe partly because I don't understand what you mean by "flat". I think of a "flat" view as being the opposite of a tree.

Are you saying you want it to recursively expand all directories in your entire filesystem? That would make it unusable on a large filesystem, wouldn't it? And how should it handle circular situations with symlinks?

Or are there some file managers which automatically collapse any directories which you are not in, and you're complaining about that?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 779

PostPosted: Fri 29 Mar 2013, 16:53    Post subject:  

Maybe consider uxplor. It has the tree-view as well as the file-icon window. Needs port to newer gtk and a lot of updates though... Smile
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10953
Location: Arizona USA

PostPosted: Fri 29 Mar 2013, 23:23    Post subject:  

disciple wrote:
Flash wrote:
I did look at the Samplecat screenshot but couldn't make anything of it. Sad

EDIT: If I get up close to the screen and squint, Samplecat appears to be like every other "tree" type file manager in that it only shows a tree view of the contents of a directory if you click on that directory. I wan't it to automatically show a flat tree view of all subdirectories at once.

You're still confusing me, maybe partly because I don't understand what you mean by "flat". I think of a "flat" view as being the opposite of a tree.
I don't really know what flat means. I assume it means everything is shown in one window, not hidden as it is in a collapsed tree hierarchy.

Quote:
Are you saying you want it to recursively expand all directories in your entire filesystem? That would make it unusable on a large filesystem, wouldn't it? And how should it handle circular situations with symlinks?
Yes, that's exactly what I'm saying, only with the option to limit the view to just the directory I happen to be in. For instance, my mp3_books directory, which contains many directories of authors. Each author directory contains at least one directory with a book in it, and each book directory contains many mp3 files. The view I want should not include the mp3 files, only all the directories inside the mp3_books directory. Exactly as Tree does it. So why can't the functionality of Tree be included in ROX and every other file manager? As for directories which contain a large number of sub-directories or symlinks, if Tree doesn't help then don't use it. I'm only talking about a right-click option or something like that, not a default view.

Quote:
Or are there some file managers which automatically collapse any directories which you are not in, and you're complaining about that?
That's exactly what I'm complaining about, or it is if I understand you correctly Smile . Every file manager which can show a tree view defaults to the collapsed view and does not offer the option to show everything at once. Tree does what I want; why can't it be added to ROX?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1082s ][ Queries: 13 (0.0055s) ][ GZIP on ]