Hello;
I must say it is the best individual software of this decade.
As always I enjoyed building rodent-app from the git and today I built it (librfm and libtubo too) from the git in my FreeBSD (x86_64 10-p7) box.
the difference from before is my default shell is /bin/sh rather than bash.
anyhow, in 5.3.10 (from git) I had a nice feature. whenever I clicked on an archive file rodent would extract the content of that file in a folder with the same name in the same directory.
but now I click on the tar file and I get it opened with gvim and/or I click on a tar.gz file and I just see the list of its content scroling in the command line portion of rodent.
some tar file is opened with gnuzip. it is a mess and I want that feature back.
is it my problem or you removed that option in this new version.
How could I get it back?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nonetheless, the user can change the default action on click. You can do this in two ways.
1. Right click on item to bring up popup menu; select the action to be used as default with CTRL-click. This will execute the selected option and define it as the new default.
2. If the desired command is not in the popup menu, then right click on item to bring up popup menu; select open with and type out the command (you can use %s where you want to put the filename if not at the end of the command). After that, the command will appear in the popup menu and can be selected as default with step 1.
These user defined commands are written out in $HOME/.config/rfm/user-applications.2
Example:
Hello again;
Thanks
I did what you suggested and it worked.
Just for rar files with password i need a command tha tells rodent file manager to open a dialog window and ask for passwrod.
I installed unrar and according to its man page I did "unrar x -kb %s" in open with section but I don't get password from me that way.
thanks
PS: I also want each rar archive extracted in a folder with the same name.
I also have this problem with encrypted zip files:
unzip /home/h3m4ti/somefiles.zip
unzip: Encrypted file is unsupported.
I know these question are not related to rodent in any shape or form but I though you could help. because I am at lost here
Last edit: m.h3m4t1 2014-09-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Both sudo and ssh require passwords and will be queried for by rodent. This is done by setting the environment variables SSH_ASKPASS and SUDO_ASKPASS. I don't see that unrar or unzip have the option to use a password query program, and setting the password on the command line is insecure and should not be used. The only suggestion I can make is to define the extraction commands to be executed in a terminal (checkbox in the openwith dialog). This way a terminal will open to prompt for the password.
You may also want to request the unrar and unzip folk to enable UNRAR_ASKPASS and UNZIP_ASKPASS environment variables.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello;
I must say it is the best individual software of this decade.
As always I enjoyed building rodent-app from the git and today I built it (librfm and libtubo too) from the git in my FreeBSD (x86_64 10-p7) box.
the difference from before is my default shell is /bin/sh rather than bash.
anyhow, in 5.3.10 (from git) I had a nice feature. whenever I clicked on an archive file rodent would extract the content of that file in a folder with the same name in the same directory.
but now I click on the tar file and I get it opened with gvim and/or I click on a tar.gz file and I just see the list of its content scroling in the command line portion of rodent.
some tar file is opened with gnuzip. it is a mess and I want that feature back.
is it my problem or you removed that option in this new version.
How could I get it back?
Nothing has changed with regard to the the action on click. The default action is defined in /usr/local/share/rfm/modules/mime-module.xml as follows
The first item takes preference.
Nonetheless, the user can change the default action on click. You can do this in two ways.
1. Right click on item to bring up popup menu; select the action to be used as default with CTRL-click. This will execute the selected option and define it as the new default.
2. If the desired command is not in the popup menu, then right click on item to bring up popup menu; select open with and type out the command (you can use %s where you want to put the filename if not at the end of the command). After that, the command will appear in the popup menu and can be selected as default with step 1.
These user defined commands are written out in $HOME/.config/rfm/user-applications.2
Example:
These applications will appear in popup menu and the last one for any particular mimetype will be the default action on click.
So you can go ahead and erase $HOME/.config/rfm/user-applications.2 or redefine the default command to whatever you like.
HTH
Hello again;
Thanks
I did what you suggested and it worked.
Just for rar files with password i need a command tha tells rodent file manager to open a dialog window and ask for passwrod.
I installed unrar and according to its man page I did "unrar x -kb %s" in open with section but I don't get password from me that way.
thanks
PS: I also want each rar archive extracted in a folder with the same name.
I also have this problem with encrypted zip files:
unzip /home/h3m4ti/somefiles.zip
unzip: Encrypted file is unsupported.
I know these question are not related to rodent in any shape or form but I though you could help. because I am at lost here
Last edit: m.h3m4t1 2014-09-20
Both sudo and ssh require passwords and will be queried for by rodent. This is done by setting the environment variables SSH_ASKPASS and SUDO_ASKPASS. I don't see that unrar or unzip have the option to use a password query program, and setting the password on the command line is insecure and should not be used. The only suggestion I can make is to define the extraction commands to be executed in a terminal (checkbox in the openwith dialog). This way a terminal will open to prompt for the password.
You may also want to request the unrar and unzip folk to enable UNRAR_ASKPASS and UNZIP_ASKPASS environment variables.