Page 1 of 2

ROX-Filer Modification

Posted: Sun 27 Jun 2010, 14:48
by Otter
I haven't been able to find an option in Rox-Filer for changing the order of the colums in detail view. If someone can tell me of a way to do that, I will be totally embarassed by this post.

The Permissions, Owner, and Group columns are secondary information I don't use often (especially since I'm root in Puppy). I wanted the Size and Last Modified columns closer to the Name column so I moved a few lines of code in the source file of Rox-Filer and compiled it. I used Barry's rox-filer-20100908smw-patched.tar.gz source files. I have been testing the modified version in Lupu 5.0 and it appears to be completely functional.

I'm using a frugal install so recovering from any problems is extremely easy. Some thought should be given to recovery if you want to use the modified ROX-Filer file.

If you would like to try the modified version, these insturctions should work.
1. Download ROX-Filer-COL-MOD and place it in /usr/local/apps/ROX-Filer.
MD5: 26781333a0451897e148b1e4090fd15d (for tar.gz)
2. Rename the existing /usr/local/apps/ROX-Filer to /usr/local/apps/ROX-Filer/ROX-Filer-original.
3. In the /usr/local/apps/ROX-Filer folder make a symlink ROX-Filer pointing to ROX-Filer-COL-MOD. (Right click on ROX-Filer-COL-MOD and select Link).
4. Click on anything that will open a Rox window and you will have the modified version working for you.

If you decide this mod isn't for you just delete the symlink and rename ROX-Filer-orignal to ROX-Filer.

Posted: Wed 30 Jun 2010, 18:54
by amigo
In order to comply with the GPL license of the ROX-Filer, you should post a diff file with your changes to the sourcecode, or post a link to the full modified sources, please.

Posted: Thu 01 Jul 2010, 00:37
by Otter
thanks for the tip amigo. I was wondering how to handle that. Nobody seems to find the mod useful so maybe the best thing to do would be delete the message in a couple of days.

I'll prepare a diff file to post if there is some interest though.

Posted: Thu 01 Jul 2010, 01:01
by davids45
G'day,

I for one am very interested in changing the column order in ROX, particularly to get the date modified onto my monitor screen, if not right next to the file name!

I hope your mod works (I'll try it tonight) and I can change all the ROX set-ups in my Pups.

Pity I can't just drag and drop the ROX columns into a better ordering or delete all the ones I don't use. This is probably my main grumble with ROX which has been otherwise very good once I got used to it (coming from XP Windows Explorer).

David S.

Posted: Thu 01 Jul 2010, 02:30
by Otter
Thanks for the reply davids45.
You can give the file a test drive before installing to see if you like the layout. just click on the file after unpacking. If you like, go ahead with the install. I would like to hear how it turns out. I haven't had any problems since I started using it a few days ago.

I've attached documentation for the mod. As previously mentioned it uses the source in rox-filer-20100908smw-patched.tar.gz located at Barry's site.

Posted: Sat 03 Jul 2010, 02:57
by davids45
G'day Otter,

No joy, I'm afraid, with the modified ROX.

I tried it in a Quirky Retro 1.2 and a Puppy 4.21 (both full installs).
In neither did the new ROX-Filer run, and on re-starting X in one try, I lost my desktop (temporarily).
Restoring the original ROX-Filer worked with both Pups so no harm done.

I still think you are trying to do a worthwhile improvement to ROX so if there's something else I should try, or you'd like to know, let me know.

David S.

Posted: Sat 03 Jul 2010, 13:58
by Otter
Sorry to hear it doesn't work with other versions of Puppy. I only used it with Lupu. Unfortunately I'm not a programmer so my ability to troubleshoot problems is limited.

Thanks for giving it a test run. If you know someone with the skills, pass on the document files and see if they can find a solution.

I'll try running it with some older pups here and if I can find anything I will post it. It will be a couple of days before I can spare the time.

Regards

Posted: Sun 04 Jul 2010, 11:12
by davids45
G'day Otter,

On a happier note, I can confirm that the modification does work with the Lupu 5.0 ROX version. I've just set up your modification on my full Lupu 5.0 install and it's fine.

So may be I need to edit the code of the other, older Pup, so-far non-modifiable ROXes using the texts in the files you included showing your changes. I'll give that a try when I have the time.

Thanks,
David S.

ROX-Filer Modification

Posted: Thu 20 Oct 2011, 05:27
by Rocket
I've modified ROX-filer 2.11 (Sourceforge) to allow treeview moveable columns (click and drag). Compiled on Polarpup-005, so it should work on any lucid version. I regularly sort using file size and mod time, so it's nice to change the column orders.

Backup your ROX-Filer binary, swap in the attached file and then restart xorg for the changes to take effect.

1. tar xvf ROX-Filer-2.11-treeview_moveable_columns.tar.gz
2. cp ROX-Filer /usr/local/apps/ROX-Filer/
3. CTRL ALT Backspace
4. xwin

and you should be up and running.

Source code included too.

Posted: Thu 20 Oct 2011, 06:11
by Geoffrey
I tried this with Lucid 5.2.8 it works but it has a bug, if you click on the permissions column it kills rox-filer and blanks the wallpaper,

it gives me a black background, I checked it against the original rox-filer and permissions is inert has no function at all.

Maybe someone else can confirm this, as it could just be my installation.

Geoffrey

Posted: Thu 20 Oct 2011, 06:23
by Sit Heel Speak
Working OK in Puppy Studio 3.3 (non-rt version), clicking on Permissions works as advertised. Thanx very much, Rocket!

Posted: Thu 20 Oct 2011, 15:00
by sc0ttman
Rocket, that's great.. Could you compile a Wary 5.1.x version? It is the 'base' of all modern puppies... It would be great if built the same as the one in Wary, but with your changes.. :D

Posted: Thu 20 Oct 2011, 15:44
by vovchik
Dear sc0ttman,

I am experiencing the same problem that Geoffrey described above in MacPup 520 (Lucid). :( When I click on the permissions header, Rox-Filer dies.

With kind regards,
vovchik

Posted: Thu 20 Oct 2011, 16:36
by pemasu
Same problem with IcePuppy which I am using atm. Gcc is same version than in Polarpup-005, kernel is different though. IcePuppies uses 2.6.38.4.
Clicking Permissions shuts down Rox-filer. Launched in terminal, no error messages.

ROX-Filer Modification

Posted: Thu 20 Oct 2011, 23:40
by Rocket
Thanks for taking the time to test it. I see the problem and have included a revised version here that seems to fix it.

If I have some time later tonight I'll try it with Wary.

Here's the modified source code view_details.c

Posted: Fri 21 Oct 2011, 02:16
by Geoffrey
Rocket,

Thanks that fixed it, nice mod

Geoffrey

ROX-Filer Modification

Posted: Fri 21 Oct 2011, 03:42
by Rocket
sc0ttman:

Tested it on Wary 5.14 and it seems to work fine as shown here.

Posted: Fri 21 Oct 2011, 22:10
by pemasu
Works now fine in soon uploaded Dpup Exprimo 5.X.9.

Re: ROX-Filer Modification

Posted: Sat 22 Oct 2011, 10:50
by sc0ttman
Rocket wrote:sc0ttman:

Tested it on Wary 5.14 and it seems to work fine as shown here.
Yep, I have been using it for about 2 days and seems fine, I will add this to Akita... I wonder, is there any real problems with UPX'ing the binary? It saves about 300kb, and I didn't notice any problems...

Posted: Sat 22 Oct 2011, 11:02
by disciple
1. It shouldn't save 300kb when you put it in an .sfs (although I'm surprised - it does actually save 40kb).
2. The only problem you're likely to encounter with upxing is that ldd doesn't work on a upxed executable. But I don't think I've ever see anyone needing to ldd rox...