ROX-Filer Modification

Filemanagers, partitioning tools, etc.
Message
Author
Otter
Posts: 23
Joined: Mon 26 Feb 2007, 21:37
Location: MO, USA

ROX-Filer Modification

#1 Post 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.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post 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.

Otter
Posts: 23
Joined: Mon 26 Feb 2007, 21:37
Location: MO, USA

#3 Post 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.

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#4 Post 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.

Otter
Posts: 23
Joined: Mon 26 Feb 2007, 21:37
Location: MO, USA

#5 Post 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.
Attachments
Rox_Filer_Mod_documentation.tar.gz
Contains the original c file, modified c file, and a diff file.
(22.43 KiB) Downloaded 1409 times

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#6 Post 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.

Otter
Posts: 23
Joined: Mon 26 Feb 2007, 21:37
Location: MO, USA

#7 Post 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

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#8 Post 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.

Rocket
Posts: 16
Joined: Tue 02 Mar 2010, 07:40

ROX-Filer Modification

#9 Post 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.
Last edited by Rocket on Thu 20 Oct 2011, 23:44, edited 1 time in total.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#10 Post 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

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#11 Post by Sit Heel Speak »

Working OK in Puppy Studio 3.3 (non-rt version), clicking on Permissions works as advertised. Thanx very much, Rocket!

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#12 Post 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
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#13 Post 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

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#14 Post 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.

Rocket
Posts: 16
Joined: Tue 02 Mar 2010, 07:40

ROX-Filer Modification

#15 Post 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
Attachments
view_details.c-treeview_moveable_columns.tar.gz
(11.7 KiB) Downloaded 1080 times
Last edited by Rocket on Sat 22 Oct 2011, 00:40, edited 1 time in total.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#16 Post by Geoffrey »

Rocket,

Thanks that fixed it, nice mod

Geoffrey

Rocket
Posts: 16
Joined: Tue 02 Mar 2010, 07:40

ROX-Filer Modification

#17 Post by Rocket »

sc0ttman:

Tested it on Wary 5.14 and it seems to work fine as shown here.
Attachments
Rox-filer-2.11-moveable_columns.jpg
(115.91 KiB) Downloaded 1067 times

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#18 Post by pemasu »

Works now fine in soon uploaded Dpup Exprimo 5.X.9.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: ROX-Filer Modification

#19 Post 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...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#20 Post 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...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply