Portable version on linux AND windows: same xml-preferences?

Feel free to post here any question you may have about muCommander.

Portable version on linux AND windows: same xml-preferences?

Postby pure.digital » Tue Apr 17, 2007 10:56 am

Hi!

First: this program is VERY USEFUL and I like it a lot :-D
... especially for me - a "wanderer between the worlds (of windows and linux)".

I use the portable version on my USB-stick and it works just fine on both sides.
On linux the XML-files for the preferences are stored in my /home dir.
Windows uses the right ones in the .mucommander.


What have I done wrong
or
is it possible write the XML-files on both sides?
What can I do to fix it?

Regards
Patrick
pure.digital
 
Posts: 12
Joined: Tue Apr 17, 2007 7:04 am
Location: nuremberg in GERMANY

Postby pure.digital » Tue Apr 17, 2007 10:17 pm

Oh... I think I should start muC on linux with the script: mucommander.sh
Not with java -jar mucommander.jar.

The script sets the correct path...

Right?
pure.digital
 
Posts: 12
Joined: Tue Apr 17, 2007 7:04 am
Location: nuremberg in GERMANY

Postby Nicolas » Tue Apr 17, 2007 11:01 pm

Exactly right :)

Or you could look at the way muCommander is called from within the shell script and duplicate that. The idea is that muCommander accepts a -p command line argument which you can use to specify in which folder to save preferences.
The mucommander.sh script will basically store preferences in a .mucommander folder stored in the same directory as the JAR file. That way, if you carry your copy of muCommander around on a USB stick for example, preferences will be stored on it.

Which reminds me... you should get the 'nightly' portable version, it comes with a mucommander.exe file for Windows execution. We found it to be a lot more reliable than our previous batch file.

I hope that answers your question and that you can use muCommander the way you wish to.

Also, we have very few 'portable' users, so if you find anything wrong with that version, or can think of some improvements, be sure to let us know. We get very little feedback about it.

Thanks!
Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby pure.digital » Wed Apr 18, 2007 4:00 pm

Thank you for your help.

I will take a very close look at the portable version ;-)
and let you know if there are strange things happening.

Bye
pure.digital
 
Posts: 12
Joined: Tue Apr 17, 2007 7:04 am
Location: nuremberg in GERMANY

Postby peewack » Mon May 21, 2007 2:17 pm

Hi! I'm just another "wanderer" between Windoze and Linux(es) and the portable-portable-portable-app is really awesome, is the first time that I saw a program in Java used in this way, and is really useful.

I just have one trouble in windows:
Image
the icons dissapear in the newest versions.

anyway, muCommander is improving really fast and you have almost all my wishes in your ToDo list :D except perhaps one :idea: [Alt]+[+] adds to selection all the files of the same extesion (the string after the last dot in the name) as the focused

so long and thanks for all the code
User avatar
peewack
 
Posts: 7
Joined: Wed May 16, 2007 11:33 am
Location: Valparaiso|Santiago Chile

Postby Nicolas » Mon May 21, 2007 2:37 pm

Hey there,

Thanks for the positive feedback, it's much appreciated :)

Regarding your icon problem: it's actually normal. We've discovered that with Windows, displaying the icon would often result in anyone dialog boxes - typically, if you've got a floppy reader with no floppy, some boxes would try to access it, lock muCommander for a few seconds and then display a 'drive not found' error message.

We've disabled icons until we can find a good workaround for that problem, *if* such a workaround exists.

Having the icons is not actually crucial though, is it? :) It looks nice, but it doesn't really impact muCommander's usability.

As for the "add files that match an extension", you can already do that with the regular + shortcut. type *.gif and all the files with a gif extension will be matched.

Enjoy :)
Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby peewack » Mon May 21, 2007 2:47 pm

Nicolas wrote:Regarding your icon problem: it's actually normal. We've discovered that with Windows, displaying the icon would often result in anyone dialog boxes - typically, if you've got a floppy reader with no floppy, some boxes would try to access it, lock muCommander for a few seconds and then display a 'drive not found' error message.

We've disabled icons until we can find a good workaround for that problem, *if* such a workaround exists.

Having the icons is not actually crucial though, is it? :) It looks nice, but it doesn't really impact muCommander's usability.

ouch, well, if is that problematic (yeah, I hate windows too) no problem, the usability improves when I can see diferents kind of "units" (or devices) in a glance. Another useful thing can be show the volume labels (of the FATs and NTFS for instance).

Nicolas wrote:As for the "add files that match an extension", you can already do that with the regular + shortcut. type *.gif and all the files with a gif extension will be matched.

:D yeah, I know that, but the other way is easier 8) and I don't think that it's hard to code

Nicolas wrote:Enjoy :)


I enjoy muCommander :lol:

oh, and thanx for the fast reply, where are you from?
User avatar
peewack
 
Posts: 7
Joined: Wed May 16, 2007 11:33 am
Location: Valparaiso|Santiago Chile

Re: Portable version on linux AND windows: same xml-preferen

Postby rickymartin4545 » Fri Dec 17, 2010 6:51 pm

pure.digital wrote:Hi!

First: this program is VERY USEFUL and I like it a lot :-D
... especially for me - a "wanderer between the worlds (of windows and linux)".

I use the portable version on my USB-stick and it works just fine on both sides.
On linux the XML-files for the preferences are stored in my /home dir.
Windows uses the right ones in the .mucommander.


What have I done wrong
or
is it possible write the XML-files on both sides?
What can I do to fix it?

Regards
Patrick

I will look into this issue later and try and fix the commons-net library (and redistribute the patch) but in the meantime, for compatibility reasons, 'LIST -al' cannot be enabled by default in muCommander.
But since I care for you guys :) , I've created a configuration option for this, allowing you to enable 'LIST -al'.
rickymartin4545
 
Posts: 5
Joined: Fri Dec 17, 2010 2:17 pm


Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron