Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I access the folder that is used just before in "Files" using Backspace like which is done in Windows explorer??

share|improve this question
    
Backspace also work in Ubuntu. Isn't? At least in Thunar it works. –  rainlover Jan 2 at 16:37
    
@rainlover, I guess OP is asking b'coz it doesn't for him. OP kindly mention your Ubuntu build (version). I too had the same problem in nautilus, coz pressing Alt + Up Key lead me back one directory. Idk the Ubuntu build i used though, Currently I am using Ubuntu 12.04, backspace key works fine in that. –  ASCIIbetical Jan 2 at 16:44

2 Answers 2

I don't know how to use Backspace, but there are a few Keyboard shortcuts:

Alt+Left - Move 'Back' through history of navigated folders

Alt+Right - Move 'Forward' through history of navigated folders

Alt+Up - Move 'Up' - navigate to parent directory

There are more listed here


You can change it to be the shortcut to navigate back, though it might be simpler to use Alt+Left.

First kill nautilus with:

nautilus -q

Note this will close any file manager windows, and probably anything it is doing

Open the text editor with the file by running this in terminal or command prompt:

gedit ~/.config/nautilus/accels 

search for this line (Ctrl+F and then type actions/Up):

; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")

and replace it with: (gtk_accel_path "/ShellActions/Up" "BackSpace")

Save and exit, then close terminal, and open Files again, and it might work smiley

share|improve this answer
1  
Exactly what i meant @wilf –  ASCIIbetical Jan 2 at 16:45
    
Doesn't work at all... –  jasmines Apr 8 at 6:58
    
Nautilus reverts the change back as soon as you try to use the combination, so your (gtk_accel_path "/ShellActions/Up" "BackSpace") becomes (gtk_accel_path "/ShellActions/Up" "") –  jasmines Apr 8 at 7:08
    
@jasmines - weird... thought it would work. I should really test my answers more often. No error messages occur which is also weird. If I knew where the system wide accels config file was (if it even exists), i could suggest editing that.... –  Wilf Apr 8 at 7:24
1  
@jasmines - <Primary>BackSpace worked here... –  Wilf Apr 8 at 8:46

You can either do this here:

1) Just add the accel key to the config file. I did in a terminal console:

echo '(gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")' >> ~/.config/nautilus/accels

Restart nautilus after killing it by executing

nautilus -q

Or

2) edit ~/.config/nautilus/accels

Press Ctrl+F and type Alt+Up to find the right line.

Remove the ; symbol in front of the line: (gtk_accel_path "/ShellActions/Up" "Up")

Change Up to BackSpace

Hope it helps. :-) enter image description here

share|improve this answer
1  
Do you want me to edit the last bit out my answer? –  Wilf Jan 2 at 16:55
    
Ah, You too presented the solution. Nah, @wilf I suppose let it be there. Its okay, I don't mind. Have fun. –  ASCIIbetical Jan 2 at 16:57
    
Doesn't work at all: Nautilus reverts the change back as soon as you try to use the combination, so your (gtk_accel_path "/ShellActions/Up" "BackSpace") becomes (gtk_accel_path "/ShellActions/Up" "") –  jasmines Apr 8 at 7:09
    
@ASCIIbetical - that problem does seem to occur - anyway, where did you get that smiley :D –  Wilf Apr 8 at 7:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.