Modifying and Improving the ROX-filer

What features/apps/bugfixes needed in a future Puppy
Message
Author
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#41 Post by rjbrewer »

Yes; I just copy the old .mozilla folder to the new one (merge).
Beats the heck out of setting up mail each time.

Haven't tried it between different varieties of browser though.

Did a test of upgrading (full install) from 4.1.2 to 4.3.1 (same kernel)
recently and that also saved all the old stuff to new.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Bligh
Posts: 480
Joined: Sun 08 Jan 2006, 11:05
Location: California

#42 Post by Bligh »

I may try that if I setup the same version. I have used Netscape since Navigator was on dos. I have been using Communicator since it was introduced. Then mozilla internet suite, now Seamonkey or Iceape. I have copied the mail folder for years. I have a working version of 4.8 on win98, the mail file will work in current Seamonkey. Firefox and Opera bookmarks are more sophisticated, but sm bookmarks can be opened in any browser.
Cheers

User avatar
efiguy
Posts: 164
Joined: Thu 07 Sep 2006, 02:51

Modifying and Improving the ROX-filer

#43 Post by efiguy »

Hi Group,
I was very glad to find this topic. It's taken me a year (with lot's of forum support) to find common Explorer like work arounds for the file handling aspects of Linux (Mostly trial and error - more errors ;). I miss the ability to size a file, disk, or directory by mouseover, plus the ability to copy paths into other apps, (theres lots more).

Reading through this link, Want to ask the question, or pose a type of (hopefully simpler) immediate solution, that uses a helper Application that is capable of mimicing XP explorer - collecting tasks and feeding them to - say a console command -
or internal ROX commands - Some of it might behave like the partition application "collecting and then appyling"

One thing Windows gets right - is the ease of internal file handling, I believe the mainstream Linux Guru's are so acclimated to command structure that they overlook what Noobie's and the Microsoft disinfranchised are expecting (searching, looking, for as alternatives, and the Guru's are basicly the only ones that can remedy this.
I would offer as examples, Avira, and Bit Defender rescue disks using Knoppix, these are excellent tools but, are cryptic to only windows experienced users, I readily admit to having problems with each and I have some Puppy experience, for instance how do you exit from Bit Defender, the wrong way damages the XP desktop (look under misc).

Puppy is the best hope of only Windows experienced users, but without a file utility to mimic windows - most will be disillusioned and discouraged about finding a satisfactory replacement.

Jay
Climbing off of soapbox ("windows guys" will get the reference ;)

PS, There was a Two Window Explorer shareware app for w98 up -
think it morphed to like this - [url]http://www.zabkat.com/index.htm[/url]
(This site lists what a good file manager should accomplish)

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#44 Post by smokey01 »

rjbrewer wrote:Yes; I just copy the old .mozilla folder to the new one (merge).
Beats the heck out of setting up mail each time.
rjbrewer I like to keep the mail files outside of the pupsave file along with documents and photographs. I normally only use the pupsave file to store settings and some additional software as some of the additional software is also outside of the pupsave file.

Do you know of a simple way to link the old mail files, address and bookmarks to a fresh installation without actually copy the old files to the new distribution?

Normally I have to manually create my three email accounts in the new email client then point each account to the old location. This method works fine but is a pain when I keep changing puplets. This method also allows many different puppy distros to use the same mail files at different times. Then of course I need to manually import bookmarks and addresses.

Regards

Smokey

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#45 Post by abushcrafter »

smokey01 wrote:
rjbrewer wrote:Yes; I just copy the old .mozilla folder to the new one (merge).
Beats the heck out of setting up mail each time.
rjbrewer I like to keep the mail files outside of the pupsave file along with documents and photographs. I normally only use the pupsave file to store settings and some additional software as some of the additional software is also outside of the pupsave file.

Do you know of a simple way to link the old mail files, address and bookmarks to a fresh installation without actually copy the old files to the new distribution?

Normally I have to manually create my three email accounts in the new email client then point each account to the old location. This method works fine but is a pain when I keep changing puplets. This method also allows many different puppy distros to use the same mail files at different times. Then of course I need to manually import bookmarks and addresses.

Regards

Smokey
What about keeping your profile out of your pupsave? I use this script for making Firefox portable but it should work with any Mozilla based app.

The profile folder you are point it to needs to already exist!

Code: Select all

#!/bin/sh
#Version 0.0.2
#Put togeather by Alexander S.T. Ross (abushcrafter)
#Based on the luncher from: https://www.privacyfoundation.de/wiki/PortableLinuxApps
#Also based on the luncher from: http://portools.com/apps/iceweasel-portable
#
export app="firefox"
export version="3.6.*"

echo "Welcome to the Linux version of $app $version in portable mode. Feedback is NOT disabled."
dir=${0%/*}
if [ "$dir" = "$0" ]; then
  dir="."
fi
HOME=${dir}/profile
cd "$dir"
#Remove the "#" from the next line to disable error output.
exec ./$app -no-remote -profile "./profile" $@ #2>/dev/null

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#46 Post by rjbrewer »

smokey01 wrote:
rjbrewer wrote:Yes; I just copy the old .mozilla folder to the new one (merge).
Beats the heck out of setting up mail each time.
rjbrewer I like to keep the mail files outside of the pupsave file along with documents and photographs. I normally only use the pupsave file to store settings and some additional software as some of the additional software is also outside of the pupsave file.

Do you know of a simple way to link the old mail files, address and bookmarks to a fresh installation without actually copy the old files to the new distribution?

Normally I have to manually create my three email accounts in the new email client then point each account to the old location. This method works fine but is a pain when I keep changing puplets. This method also allows many different puppy distros to use the same mail files at different times. Then of course I need to manually import bookmarks and addresses.

Regards

Smokey
Sorry Smokey;

I only use full installs.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#47 Post by smokey01 »

Thanks abushcrafter.

jrbrewer I often use full installs too but this time I thought I would try something different.

Thanks guys

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#48 Post by greengeek »

I would like to see rox filer modified to include an icon (on the top line) for the "create new directory" function.

Just that one function would be a great addition (especially if using a Puppy on a tablet where rightclick is not available).

Does anyone have the skills to remake rox and add this one function? It would be a great starting point.

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

#49 Post by amigo »

That would be a nice little project for someone learning -pretty easy to add an item to the toolbar and especially because the internal routine for create new directory is already in the code elsewhere. My fork of the old gtk-1.2 ROX-filer includes patches which do similar things -like add an 'up' button or modify an existing button.

Here's the patches which are really pretty short:

Code: Select all

Index:pixmaps/select.xpm
*** pixmaps/select.xpm	Thu Jan  1 01:00:00 1970
--- pixmaps/select.xpm	Wed Jan  2 14:23:30 2002
***************
*** 0 ****
--- 1,24 ----
+ /* XPM */
+ static char * select_xpm[] = {
+ "17 16 5 1",
+ " 	c None",
+ ".	c #000000",
+ "+	c #C5CEC5",
+ "@	c #FFFFFF",
+ "#	c #7F7F7F",
+ ".................",
+ ".+++++++++++++++.",
+ ".+@@@@@@@@@@@#.+.",
+ ".+@@@@@@@@@@#..+.",
+ ".+@@@@@@@@@#...+.",
+ ".+@@@@@@@@#....+.",
+ ".+@@@@@@@#.....+.",
+ ".+@@@@@@#......+.",
+ ".+@@@@@#.......+.",
+ ".+@@@@#........+.",
+ ".+@@@#.........+.",
+ ".+@@#..........+.",
+ ".+@#...........+.",
+ ".+#............+.",
+ ".+++++++++++++++.",
+ "................."};
Index:src/toolbar.c
*** src/toolbar.c	Wed Jan  2 13:53:48 2002
--- src/toolbar.c	Wed Jan  2 14:23:30 2002
***************
*** 81,86 ****
--- 81,88 ----
  				    FilerWindow *filer_window);
  static void toolbar_hidden_clicked(GtkWidget *widget,
  				   FilerWindow *filer_window);
+ static void toolbar_select_clicked(GtkWidget *widget,
+ 				   FilerWindow *filer_window);
  static GtkWidget *add_button(GtkWidget *box, Tool *tool,
  				FilerWindow *filer_window);
  static GtkWidget *create_toolbar(FilerWindow *filer_window);
***************
*** 133,138 ****
--- 135,144 ----
  	 toolbar_hidden_clicked, DROP_NONE, TRUE,
  	 NULL, NULL},
  	
+ 	{N_("Select"), "select", N_("Select all/invert selection"),
+ 	 toolbar_select_clicked, DROP_NONE, TRUE,
+ 	 NULL, NULL},
+ 	
  	{N_("Help"), "help", N_("Show ROX-Filer help"),
  	 toolbar_help_clicked, DROP_NONE, TRUE,
  	 NULL, NULL},
***************
*** 336,341 ****
--- 342,365 ----
  				   FilerWindow *filer_window)
  {
  	display_set_hidden(filer_window, !filer_window->show_hidden);
+ }
+ 
+ static void toolbar_select_clicked(GtkWidget *widget, FilerWindow *filer_window)
+ {
+ 	GdkEvent	*event;
+ 
+ 	event = gtk_get_current_event();
+ 	if (event->type == GDK_BUTTON_RELEASE &&
+ 	    ((GdkEventButton *) event)->button==2)
+ 	{
+ 		collection_invert_selection(filer_window->collection);
+ 	}
+ 	else if (event->type == GDK_BUTTON_RELEASE &&
+ 	    ((GdkEventButton *) event)->button==1)
+ 	{
+ 		collection_select_all(filer_window->collection);
+ 	}
+ 	filer_window->temp_item_selected = FALSE;
  }
  
  static GtkWidget *create_toolbar(FilerWindow *filer_window)

Code: Select all

--- ./toolbar.c.00	2005-08-26 23:41:51.000000000 +0200
+++ ./toolbar.c	2007-05-17 10:23:31.000000000 +0200
@@ -72,6 +72,7 @@
 /* Static prototypes */
 static void toolbar_close_clicked(GtkWidget *widget, FilerWindow *filer_window);
 static void toolbar_up_clicked(GtkWidget *widget, FilerWindow *filer_window);
+static void toolbar_open_previous_same(GtkWidget *widget, FilerWindow *filer_window);
 static void toolbar_home_clicked(GtkWidget *widget, FilerWindow *filer_window);
 static void toolbar_refresh_clicked(GtkWidget *widget,
 				    FilerWindow *filer_window);
@@ -115,6 +116,10 @@
 	 toolbar_up_clicked, DROP_TO_PARENT, TRUE,
 	 NULL, NULL},
 	 
+	{N_("Back"), "back", N_("Change to previous directory"),
+	 toolbar_open_previous_same, DROP_NONE, TRUE,
+	 NULL, NULL},
+	
 	{N_("Home"), "home", N_("Change to home directory"),
 	 toolbar_home_clicked, DROP_TO_HOME, TRUE,
 	 NULL, NULL},
@@ -326,6 +331,30 @@
 	}
 }
 
+static void toolbar_open_previous_same(GtkWidget *widget, FilerWindow *filer_window)
+{
+	GdkEvent	*event;
+	GdkEventButton  *button=NULL;
+
+	event = gtk_get_current_event();
+	if(event->type == GDK_BUTTON_RELEASE ||
+	          event->type == GDK_BUTTON_PRESS)
+ 	        button=(GdkEventButton *) event;
+
+	if (event->type == GDK_BUTTON_RELEASE && NEW_WIN_BUTTON(event))
+	{
+		if(button->state & GDK_CONTROL_MASK)
+		  filer_open_parent(filer_window);
+		else
+		  filer_open_back(filer_window);
+	} else {
+		if(button->state & GDK_CONTROL_MASK)
+		  change_to_parent(filer_window);
+		else
+		  filer_go_back(filer_window);
+	}
+}
+
 static void toolbar_size_clicked(GtkWidget *widget, FilerWindow *filer_window)
 {
 	GdkEventButton	*bev;
I've thought about adding a TrashCan button but never took the time -you know, so you could drag an object onto the button to throw it away.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#50 Post by mistfire »

If you want to modify rox-filer, the GUI design and behavior must be the same as thunar or pcmanfm specially on handling mounted drives.

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

#51 Post by disciple »

Eh? Then it wouldn't be rox, it would be thunar or pcmanfm.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#52 Post by LazY Puppy »

I would like to have a Pizza Salami, please.

But instead of the Salami I want to have Tuna Fish and instead of the Cheese I want to have Sauce Hollandaise.

Thanks.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#53 Post by drunkjedi »

The only thing I need in rox is use of desktop folder.

My wife copy pastes files and folders on desktop.
And then deletes them from original location.

Only to wonder why files on desktop don't work anymore.

I suppose, a simple script that copies files to a location on hard drive and create link on desktop when things are dragged on to desktop should do it.

It may not be that simple though.

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

#54 Post by disciple »

You can disable the rox pinboard.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#55 Post by drunkjedi »

disciple wrote:You can disable the rox pinboard.
And use what as desktop?
My desktop shows wallpapers, icon, conky.

I don't want to add xfce or any other stuff.
What inbuilt things can be useful for me?
Could you elaborate on your suggestion, I will give it a shot.

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#56 Post by Sailor Enceladus »

LazY Puppy wrote:I would like to have a Pizza Salami, please.

But instead of the Salami I want to have Tuna Fish and instead of the Cheese I want to have Sauce Hollandaise.

Thanks.
gross, a tuna pizza with hollandaise sauce? I'd rather have a tuna pizza with mustard :lol:

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

#57 Post by disciple »

drunkjedi wrote:
disciple wrote:You can disable the rox pinboard.
And use what as desktop?
My desktop shows wallpapers, icon, conky.

I don't want to add xfce or any other stuff.
What inbuilt things can be useful for me?
Could you elaborate on your suggestion, I will give it a shot.
If you must have desktop icons, there are a variety of programs like idesk which you could use.
But JWM and I guess other common window managers can draw desktop wallpaper, and conky draws itself - it has nothing to do with Rox.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#58 Post by greengeek »

drunkjedi wrote:My wife copy pastes files and folders on desktop.
And then deletes them from original location.

Only to wonder why files on desktop don't work anymore.
Must be used to a Windows environment eh? I keep trying to explain to my wife that the windows "desktop" has an amount of storage limited by the "profile" allocated by her IT department and she should not treat it as a real location, as it is just a virtual location.

She just gives me a blank look.

Like - "you just said something that means nothing". Duh! How did they get to be 50% of the human race with reasoning like that!??

The hardest thing with Linux is teaching dumb users to store their files in a REAL location. Don't stick on the desktop, don't stick it in the save folder, don't stick it in the Home directory - STICK IT WHERE YOU KNOW YOU CAN FIND IT NEXT TIME !!!*%^#$%^!!!!!!

And then back it up.
:roll:

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#59 Post by cthisbear »

" The hardest thing with Linux is teaching dumb users to store their files in
a REAL location. "

"""""""""""''

Now he tells me.

Luckily I have tasted NZ yoghurt and icecream so I won't take offence now, but I'll be waiting for the next provocation.

Munching a piece of Whittaker's chocolate now to calm me down.

Chris.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#60 Post by Galbi »

A button with the "Open Terminal Here" would be very useful, too.

=====

And also the pizza, icecream, chocolate... :)
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

Post Reply