Feature request: F2 to change file name

This forum is for general discussions about bugs. Actual bugs should be reported to the bug tracker to allow them to be properly processed and followed up.

Feature request: F2 to change file name

Postby dg333 » Wed Dec 12, 2007 5:07 pm

Since no dedicated thread for feature requests so far, I put it here:

Mucommander does not make any use of F2 key. Please, assign change of file name to it.
dg333
 
Posts: 16
Joined: Wed Dec 12, 2007 4:51 pm

Postby Nicolas » Wed Dec 12, 2007 6:09 pm

You can actually do that yourself: edit your action_keymap.xml file (you can find instructions on how to locate it here: http://www.mucommander.com/forums/viewtopic.php?t=443).

Look for the bit that says:
Code: Select all
  <action class="com.mucommander.ui.action.RenameAction"                keystroke="shift F6"/>

Replace it by:
Code: Select all
  <action class="com.mucommander.ui.action.RenameAction"                keystroke="F2"/>


Restart muCommander, and there you are!

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

Postby dg333 » Thu Dec 13, 2007 7:41 am

Thanks! But what I meant (sorry, I was not clear enough) is to have a screen button in the bottom row, just like for F3-F10. But well, OK!
dg333
 
Posts: 16
Joined: Wed Dec 12, 2007 4:51 pm

Postby Nicolas » Thu Dec 13, 2007 10:40 am

Oh, ok. Well, the good news is that you can do that as well by editing the command_bar.xml file. It contains the following line:
Code: Select all
    <button action="com.mucommander.ui.action.MoveAction" alt_action="com.mucommander.ui.action.RenameAction"/>

What you want to do is to remove the "alt_action" bit and add the following line at the first position in the list:
Code: Select all
    <button action="com.mucommander.ui.action.RenameAction"/>


Note that you still have to do the previous manipulation if you want it to use the F2 shortcut. command_bar.xml controls what buttons are in the command bar, action_keymap.xml what shortcut is associated with which action.

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

Postby dg333 » Thu Dec 13, 2007 4:42 pm

Then move this thread to ‘Feedback’ and rename to ‘Mucommander is real cool’ :-)

Thanks!
dg333
 
Posts: 16
Joined: Wed Dec 12, 2007 4:51 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron